chore(deps): bump tui-big-text from 0.6.0 to 0.7.0 #220
check.yml
on: pull_request
check
/
...
/
fmt
29s
check
/
...
/
doc
50s
check
/
...
/
check
44s
Matrix: check / clippy
Annotations
9 errors
the trait bound `ratatui::style::Style: std::convert::From<ratatui::prelude::Style>` is not satisfied:
src/components/header.rs#L27
error[E0277]: the trait bound `ratatui::style::Style: std::convert::From<ratatui::prelude::Style>` is not satisfied
--> src/components/header.rs:27:20
|
27 | .style(Style::default().fg(self.config.theme.title()))
| ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<ratatui::prelude::Style>` is not implemented for `ratatui::style::Style`, which is required by `ratatui::prelude::Style: std::convert::Into<ratatui::style::Style>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::Modifier, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::color::Color)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::color::Color, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::color::Color, ratatui::style::Modifier, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<ratatui::style::Modifier>`
`ratatui::style::Style` implements `std::convert::From<ratatui::style::color::Color>`
= note: required for `ratatui::prelude::Style` to implement `std::convert::Into<ratatui::style::Style>`
note: required by a bound in `tui_big_text::BigTextBuilder::<'a>::style`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-big-text-0.7.0/src/big_text.rs:56:17
|
56 | #[derive(Debug, Builder, Clone, PartialEq, Eq, Hash)]
| ^^^^^^^ required by this bound in `BigTextBuilder::<'a>::style`
...
68 | pub style: Style,
| ----- required by a bound in this associated function
= note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing this method call, as the receiver has type `ratatui::prelude::Style` and `ratatui::prelude::Style: std::convert::From<ratatui::prelude::Style>` trivially holds
|
27 - .style(Style::default().fg(self.config.theme.title()))
27 + .style(Style::default())
|
|
mismatched types:
src/components/header.rs#L29
error[E0308]: mismatched types
--> src/components/header.rs:29:24
|
29 | .alignment(layout::Alignment::Center)
| --------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Alignment`, found `ratatui::layout::Alignment`
| |
| arguments to this method are incorrect
|
= note: `ratatui::layout::Alignment` and `Alignment` have similar names, but are actually distinct types
note: `ratatui::layout::Alignment` is defined in crate `ratatui`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.28.1/src/layout/alignment.rs:4:1
|
4 | pub enum Alignment {
| ^^^^^^^^^^^^^^^^^^
note: `Alignment` is defined in crate `ratatui`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.29.0/src/layout/alignment.rs:4:1
|
4 | pub enum Alignment {
| ^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-big-text-0.7.0/src/big_text.rs:80:9
|
80 | pub alignment: Alignment,
| ^^^^^^^^^
|
the trait bound `tui_big_text::BigText<'_>: ratatui::prelude::Widget` is not satisfied:
src/components/header.rs#L37
error[E0277]: the trait bound `tui_big_text::BigText<'_>: ratatui::prelude::Widget` is not satisfied
--> src/components/header.rs:37:25
|
37 | f.render_widget(big_text, area);
| ------------- ^^^^^^^^ the trait `ratatui::prelude::Widget` is not implemented for `tui_big_text::BigText<'_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `ratatui::prelude::Widget`:
&W
&str
ratatui::prelude::Line<'_>
ratatui::prelude::Span<'_>
ratatui::prelude::Text<'_>
ratatui::widgets::BarChart<'_>
ratatui::widgets::Block<'_>
ratatui::widgets::Chart<'_>
and 11 others
note: required by a bound in `ratatui::Frame::<'_>::render_widget`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.28.1/src/terminal/frame.rs:86:29
|
86 | pub fn render_widget<W: Widget>(&mut self, widget: W, area: Rect) {
| ^^^^^^ required by this bound in `Frame::<'_>::render_widget`
|
check / beta / clippy
Clippy has exited with exit code 101
|
the trait bound `ratatui::style::Style: std::convert::From<ratatui::prelude::Style>` is not satisfied:
src/components/header.rs#L27
error[E0277]: the trait bound `ratatui::style::Style: std::convert::From<ratatui::prelude::Style>` is not satisfied
--> src/components/header.rs:27:20
|
27 | .style(Style::default().fg(self.config.theme.title()))
| ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<ratatui::prelude::Style>` is not implemented for `ratatui::style::Style`, which is required by `ratatui::prelude::Style: std::convert::Into<ratatui::style::Style>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::Modifier, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::color::Color)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::color::Color, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<(ratatui::style::color::Color, ratatui::style::color::Color, ratatui::style::Modifier, ratatui::style::Modifier)>`
`ratatui::style::Style` implements `std::convert::From<ratatui::style::Modifier>`
`ratatui::style::Style` implements `std::convert::From<ratatui::style::color::Color>`
= note: required for `ratatui::prelude::Style` to implement `std::convert::Into<ratatui::style::Style>`
note: required by a bound in `tui_big_text::BigTextBuilder::<'a>::style`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-big-text-0.7.0/src/big_text.rs:56:17
|
56 | #[derive(Debug, Builder, Clone, PartialEq, Eq, Hash)]
| ^^^^^^^ required by this bound in `BigTextBuilder::<'a>::style`
...
68 | pub style: Style,
| ----- required by a bound in this associated function
= note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing this method call, as the receiver has type `ratatui::prelude::Style` and `ratatui::prelude::Style: std::convert::From<ratatui::prelude::Style>` trivially holds
|
27 - .style(Style::default().fg(self.config.theme.title()))
27 + .style(Style::default())
|
|
mismatched types:
src/components/header.rs#L29
error[E0308]: mismatched types
--> src/components/header.rs:29:24
|
29 | .alignment(layout::Alignment::Center)
| --------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Alignment`, found `ratatui::layout::Alignment`
| |
| arguments to this method are incorrect
|
= note: `ratatui::layout::Alignment` and `Alignment` have similar names, but are actually distinct types
note: `ratatui::layout::Alignment` is defined in crate `ratatui`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.28.1/src/layout/alignment.rs:4:1
|
4 | pub enum Alignment {
| ^^^^^^^^^^^^^^^^^^
note: `Alignment` is defined in crate `ratatui`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.29.0/src/layout/alignment.rs:4:1
|
4 | pub enum Alignment {
| ^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-big-text-0.7.0/src/big_text.rs:80:9
|
80 | pub alignment: Alignment,
| ^^^^^^^^^
|
the trait bound `tui_big_text::BigText<'_>: ratatui::prelude::Widget` is not satisfied:
src/components/header.rs#L37
error[E0277]: the trait bound `tui_big_text::BigText<'_>: ratatui::prelude::Widget` is not satisfied
--> src/components/header.rs:37:25
|
37 | f.render_widget(big_text, area);
| ------------- ^^^^^^^^ the trait `ratatui::prelude::Widget` is not implemented for `tui_big_text::BigText<'_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `ratatui::prelude::Widget`:
&W
&str
ratatui::prelude::Line<'_>
ratatui::prelude::Span<'_>
ratatui::prelude::Text<'_>
ratatui::widgets::BarChart<'_>
ratatui::widgets::Block<'_>
ratatui::widgets::Chart<'_>
and 11 others
note: required by a bound in `ratatui::Frame::<'_>::render_widget`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.28.1/src/terminal/frame.rs:86:29
|
86 | pub fn render_widget<W: Widget>(&mut self, widget: W, area: Rect) {
| ^^^^^^ required by this bound in `Frame::<'_>::render_widget`
|
check / stable / clippy
Clippy has exited with exit code 101
|
check / 1.78.0 / check
Process completed with exit code 101.
|