Bump ratatui from 0.29.0 to 0.30.1 - #5
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Annotations
3 errors and 1 warning
|
Run clippy action
Clippy has exited with exit code 101
|
|
Run clippy action:
src/ui/input.rs#L28
error[E0277]: the trait bound `&tui_textarea::TextArea<'_>: ratatui::prelude::Widget` is not satisfied
--> src/ui/input.rs:28:29
|
28 | frame.render_widget(&self.textarea, area);
| ------------- ^^^^^^^^^^^^^^ the trait `ratatui::prelude::Widget` is not implemented for `&tui_textarea::TextArea<'_>`
| |
| required by a bound introduced by this call
|
= note: `&tui_textarea::TextArea<'_>` implements similarly named trait `ratatui::widgets::Widget`, but not `ratatui::prelude::Widget`
= help: the following other types implement trait `ratatui::prelude::Widget`:
&ratatui::prelude::Line<'_>
&ratatui::prelude::Span<'_>
&ratatui::prelude::Text<'_>
&ratatui::widgets::BarChart<'_>
&ratatui::widgets::Block<'_>
&ratatui::widgets::Chart<'_>
&ratatui::widgets::Clear
&ratatui::widgets::Fill<'_>
and 32 others
note: required by a bound in `ratatui::Frame::<'_>::render_widget`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-core-0.1.1/src/terminal/frame.rs:106:29
|
106 | pub fn render_widget<W: Widget>(&mut self, widget: W, area: Rect) {
| ^^^^^^ required by this bound in `Frame::<'_>::render_widget`
|
|
Run clippy action:
src/ui/input.rs#L27
error[E0308]: mismatched types
--> src/ui/input.rs:27:24
|
27 | .set_block(Block::default().borders(Borders::ALL).title(" input "));
| --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ratatui::widgets::block::Block<'_>`, found `ratatui::widgets::Block<'_>`
| |
| arguments to this method are incorrect
|
= note: `ratatui::widgets::Block<'_>` and `ratatui::widgets::block::Block<'_>` have similar names, but are actually distinct types
note: `ratatui::widgets::Block<'_>` is defined in crate `ratatui_widgets`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-widgets-0.3.1/src/block.rs:217:1
|
217 | pub struct Block<'a> {
| ^^^^^^^^^^^^^^^^^^^^
note: `ratatui::widgets::block::Block<'_>` is defined in crate `ratatui`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-0.29.0/src/widgets/block.rs:113:1
|
113 | pub struct Block<'a> {
| ^^^^^^^^^^^^^^^^^^^^
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tui-textarea-0.7.0/src/textarea.rs:1686:12
|
1686 | pub fn set_block(&mut self, block: Block<'a>) {
| ^^^^^^^^^
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, clechasseur/rs-clippy-check@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading