Closed rjjacobs200 closed 10 months ago
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/entry_popup/mod.rs:223:37 | 223 | self.tags_txt.set_style(active_style); | --------- ^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/entry_popup/mod.rs:225:17 | 224 | self.tags_txt.set_block( | --------- arguments to this method are incorrect 225 | / Block::default() 226 | .borders(Borders::ALL) 227 | .style(active_style) 228 | .title(title), | ____^ expected `ratatui::widgets::block::Block<'>, found ratatui::widgets::Block<'_>` |
---|
= 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
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1 |
230 | pub struct Block<'a> { | ^^^^^^^^^^^^^^^^^^^^
note: ratatui::widgets::block::Block<'_> is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1 |
---|---|---|---|
233 | pub struct Block<'a> { | ||
^^^^^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/entry_popup/mod.rs:231:37 | 231 | self.tags_txt.set_style(invalid_style); | --------- ^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/entry_popup/mod.rs:233:17 | 232 | self.tags_txt.set_block( | --------- arguments to this method are incorrect 233 | / Block::default() 234 | .borders(Borders::ALL) 235 | .style(invalid_style) 236 | .title(format!("Tags : {}", self.date_err_msg)), | ___^ expected ratatui::widgets::block::Block<'_> , found ratatui::widgets::Block<'_> |
---|
= 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
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1 |
230 | pub struct Block<'a> { | ^^^^^^^^^^^^^^^^^^^^
note: ratatui::widgets::block::Block<'_> is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1 |
---|---|---|---|
233 | pub struct Block<'a> { | ||
^^^^^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
error[E0277]: the trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/entry_popup/mod.rs:240:29 |
240 | frame.render_widget(self.title_txt.widget(), chunks[0]); | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait Widget is not implemented for impl ratatui::widgets::Widget + '_ |
---|---|---|---|
required by a bound introduced by this call | |||
= help: the following other types implement trait `Widget`:
BarChart<'a>
Canvas<'a, F>
Chart<'a>
Gauge<'a>
LineGauge<'a>
List<'a>
Monthly<'a, S>
Paragraph<'a>
and 5 others
note: required by a bound in Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12
|
598 | W: Widget,
| ^^^^^^ required by this bound in Frame::<'_>::render_widget
error[E0277]: the trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/entry_popup/mod.rs:241:29 |
241 | frame.render_widget(self.date_txt.widget(), chunks[1]); | ------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait Widget is not implemented for impl ratatui::widgets::Widget + '_ |
---|---|---|---|
required by a bound introduced by this call | |||
= help: the following other types implement trait `Widget`:
BarChart<'a>
Canvas<'a, F>
Chart<'a>
Gauge<'a>
LineGauge<'a>
List<'a>
Monthly<'a, S>
Paragraph<'a>
and 5 others
note: required by a bound in Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12
|
598 | W: Widget,
| ^^^^^^ required by this bound in Frame::<'_>::render_widget
error[E0277]: the trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/entry_popup/mod.rs:242:29 |
242 | frame.render_widget(self.tags_txt.widget(), chunks[2]); | ------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait Widget is not implemented for impl ratatui::widgets::Widget + '_ |
---|---|---|---|
required by a bound introduced by this call | |||
= help: the following other types implement trait `Widget`:
BarChart<'a>
Canvas<'a, F>
Chart<'a>
Gauge<'a>
LineGauge<'a>
List<'a>
Monthly<'a, S>
Paragraph<'a>
and 5 others
note: required by a bound in Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12
|
598 | W: Widget,
| ^^^^^^ required by this bound in Frame::<'_>::render_widget
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/export_popup/mod.rs:162:37 | 162 | self.path_txt.set_style(active_color); | --------- ^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/export_popup/mod.rs:164:17 | 163 | self.path_txt.set_block( | --------- arguments to this method are incorrect 164 | / Block::default() 165 | .borders(Borders::ALL) 166 | .style(active_color) 167 | .title("Path"), | __^ expected ratatui::widgets::block::Block<'_> , found ratatui::widgets::Block<'_> |
---|
= 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
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1 |
230 | pub struct Block<'a> { | ^^^^^^^^^^^^^^^^^^^^
note: ratatui::widgets::block::Block<'_> is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1 |
---|---|---|---|
233 | pub struct Block<'a> { | ||
^^^^^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/export_popup/mod.rs:171:37 | 171 | self.path_txt.set_style(invalide_style); | --------- ^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/export_popup/mod.rs:173:17 | 172 | self.path_txt.set_block( | --------- arguments to this method are incorrect 173 | / Block::default() 174 | .borders(Borders::ALL) 175 | .style(invalide_style) 176 | .title(format!("Path : {}", self.path_err_msg)), | ___^ expected ratatui::widgets::block::Block<'_> , found ratatui::widgets::Block<'_> |
---|
= 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
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1 |
230 | pub struct Block<'a> { | ^^^^^^^^^^^^^^^^^^^^
note: ratatui::widgets::block::Block<'_> is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1 |
---|---|---|---|
233 | pub struct Block<'a> { | ||
^^^^^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/export_popup/mod.rs:180:45 | 180 | self.path_txt.set_cursor_line_style(Style::default()); | --------------------- ^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
error[E0277]: the trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/export_popup/mod.rs:182:29 |
182 | frame.render_widget(self.path_txt.widget(), chunks[1]); | ------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait Widget is not implemented for impl ratatui::widgets::Widget + '_ |
---|---|---|---|
required by a bound introduced by this call | |||
= help: the following other types implement trait `Widget`:
BarChart<'a>
Canvas<'a, F>
Chart<'a>
Gauge<'a>
LineGauge<'a>
List<'a>
Monthly<'a, S>
Paragraph<'a>
and 5 others
note: required by a bound in Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12
|
598 | W: Widget,
| ^^^^^^ required by this bound in Frame::<'_>::render_widget
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:156:49 | 156 | self.title_txt.set_cursor_style(active_cursor_style); | ---------------- ^^^^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:157:51 | 157 | self.content_txt.set_cursor_style(deactivate_cursor_style); | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:161:49 | 161 | self.title_txt.set_cursor_style(deactivate_cursor_style); | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:162:51 | 162 | self.content_txt.set_cursor_style(active_cursor_style); | ---------------- ^^^^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:167:49 | 167 | self.title_txt.set_cursor_style(deactivate_cursor_style); | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:168:51 | 168 | self.content_txt.set_cursor_style(deactivate_cursor_style); | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:172:46 | 172 | self.title_txt.set_cursor_line_style(Style::default()); | --------------------- ^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:173:48 | 173 | self.content_txt.set_cursor_line_style(Style::default()); | --------------------- ^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:175:34 | 175 | self.title_txt.set_block(title_txt_block); | --------- ^^^^^^^^^^^^^^^ 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
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1 |
230 | pub struct Block<'a> { | ^^^^^^^^^^^^^^^^^^^^
note: ratatui::widgets::block::Block<'_> is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1 |
---|---|---|---|
233 | pub struct Block<'a> { | ||
^^^^^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:176:36 | 176 | self.content_txt.set_block(content_txt_block); | --------- ^^^^^^^^^^^^^^^^^ 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
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1 |
230 | pub struct Block<'a> { | ^^^^^^^^^^^^^^^^^^^^
note: ratatui::widgets::block::Block<'_> is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1 |
---|---|---|---|
233 | pub struct Block<'a> { | ||
^^^^^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
error[E0277]: the trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:178:29 |
178 | frame.render_widget(self.title_txt.widget(), title_area); | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait Widget is not implemented for impl ratatui::widgets::Widget + '_ |
---|---|---|---|
required by a bound introduced by this call | |||
= help: the following other types implement trait `Widget`:
BarChart<'a>
Canvas<'a, F>
Chart<'a>
Gauge<'a>
LineGauge<'a>
List<'a>
Monthly<'a, S>
Paragraph<'a>
and 5 others
note: required by a bound in Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12
|
598 | W: Widget,
| ^^^^^^ required by this bound in Frame::<'_>::render_widget
error[E0277]: the trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/filter_popup/mod.rs:179:29 |
179 | frame.render_widget(self.content_txt.widget(), content_area); | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait Widget is not implemented for impl ratatui::widgets::Widget + '_ |
---|---|---|---|
required by a bound introduced by this call | |||
= help: the following other types implement trait `Widget`:
BarChart<'a>
Canvas<'a, F>
Chart<'a>
Gauge<'a>
LineGauge<'a>
List<'a>
Monthly<'a, S>
Paragraph<'a>
and 5 others
note: required by a bound in Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12
|
598 | W: Widget,
| ^^^^^^ required by this bound in Frame::<'_>::render_widget
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/fuzz_find/mod.rs:51:46 | 51 | query_text_box.set_cursor_line_style(Style::default()); | --------------------- ^^^^^^^^^^^^^^^^ expected ratatui::style::Style , found a different ratatui::style::Style |
---|---|---|---|
arguments to this method are incorrect | |||
= note: `ratatui::style::Style` and `ratatui::style::Style` have similar names, but are actually distinct types
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1 |
192 | pub struct Style { | ^^^^^^^^^^^^^^^^
note: ratatui::style::Style is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1 |
---|---|---|---|
208 | pub struct Style { | ||
^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/fuzz_find/mod.rs:52:34 | 52 | query_text_box.set_block(block); | --------- ^^^^^ 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
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1 |
230 | pub struct Block<'a> { | ^^^^^^^^^^^^^^^^^^^^
note: ratatui::widgets::block::Block<'_> is defined in crate ratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1 |
---|---|---|---|
233 | pub struct Block<'a> { | ||
^^^^^^^^^^^^^^^^^^^^ |
= note: perhaps two different versions of crate `ratatui` are being used?
note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
error[E0277]: the trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/fuzz_find/mod.rs:93:29 |
93 | frame.render_widget(self.query_text_box.widget(), chunks[0]); | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait Widget is not implemented for impl ratatui::widgets::Widget + '_ |
---|---|---|---|
required by a bound introduced by this call | |||
= help: the following other types implement trait `Widget`:
BarChart<'a>
Canvas<'a, F>
Chart<'a>
Gauge<'a>
LineGauge<'a>
List<'a>
Monthly<'a, S>
Paragraph<'a>
and 5 others
note: required by a bound in Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12
|
598 | W: Widget,
| ^^^^^^ required by this bound in Frame::<'_>::render_widget
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try rustc --explain E0277
.
error: could not compile tui-journal
(bin "tjournal") due to 54 previous errors
error: failed to compile tui-journal v0.6.0
, intermediate artifacts can be found at /tmp/cargo-installKkDhiv
I think this is because the breaking changes in the new version of Ratatui and because textarea doesn't specify which version it depends on. I'll update Ratatui to version 0.25 and this should solve the problem here. I'll let you know once the version is updated and the breaking changes are fixed
@rjjacobs200 With the latest changes it should be compiling fine. Make sure you have the latest master and try to compile it. If the problem persists try to call cargo update
then try again.
Please let me know if the problem is fixed so I can close this issue
This is now fixed, using the "nightly" install option. Thanks!
I'm unable to build due to a compile error on Linux Mint with an Intel i7 laptop.
The error dump is to long so I'll post the second half in a comment.
, found
ratatui::widgets::Block<'_>`ratatui::widgets::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1ratatui::widgets::block::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1387:12 | 1387 | pub fn set_selection_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^
impl ratatui::widgets::Widget + '_: Widget
is not satisfied --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-journal-0.6.0/src/app/ui/editor/mod.rs:330:29Widget
is not implemented forimpl ratatui::widgets::Widget + '_
note: required by a bound in
Frame::<'_>::render_widget
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/terminal.rs:598:12 | 598 | W: Widget, | ^^^^^^ required by this bound inFrame::<'_>::render_widget
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1770:12 | 1770 | pub fn set_cursor_line_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1941:12 | 1941 | pub fn set_cursor_style(&mut self, style: Style) { | ^^^^^^^^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
ratatui::widgets::block::Block<'_>
, foundratatui::widgets::Block<'_>
ratatui::widgets::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1ratatui::widgets::block::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
, found
ratatui::widgets::Block<'_>`ratatui::widgets::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1ratatui::widgets::block::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
ratatui::widgets::block::Block<'_>
, foundratatui::widgets::Block<'_>
ratatui::widgets::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1ratatui::widgets::block::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^
ratatui::style::Style
, found a differentratatui::style::Style
ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/style.rs:192:1ratatui::style::Style
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/style.rs:208:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1629:12 | 1629 | pub fn set_style(&mut self, style: Style) { | ^^^^^^^^^
ratatui::widgets::block::Block<'_>
, foundratatui::widgets::Block<'_>
ratatui::widgets::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.24.0/src/widgets/block.rs:230:1ratatui::widgets::block::Block<'_>
is defined in crateratatui
--> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.25.0/src/widgets/block.rs:233:1note: method defined here --> /home/rj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui-textarea-0.4.0/src/textarea.rs:1648:12 | 1648 | pub fn set_block(&mut self, block: Block<'a>) { | ^^^^^^^^^