Update crossterm requirement from 0.28.1 to 0.29.0 #3
Annotations
4 errors
|
|
|
src/event.rs#L117
error[E0308]: mismatched types
--> src/event.rs:117:44
|
117 | self.send(Event::Crossterm(evt));
| ---------------- ^^^ expected `ratatui::crossterm::event::Event`, found `crossterm::event::Event`
| |
| arguments to this enum variant are incorrect
|
note: two different versions of crate `crossterm` are being used; two types coming from two different versions of the same crate are different types even if they look the same
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/crossterm-0.28.1/src/event.rs:547:1
|
547 | pub enum Event {
| ^^^^^^^^^^^^^^ this is the expected type `ratatui::crossterm::event::Event`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/crossterm-0.29.0/src/event.rs:550:1
|
550 | pub enum Event {
| ^^^^^^^^^^^^^^ this is the found type `crossterm::event::Event`
|
::: src/app.rs:2:5
|
2 | use ratatui::{
| ------- one version of crate `crossterm` used here, as a dependency of crate `ratatui`
...
41 | crossterm::event::Event::Key(key_event)
| --------- one version of crate `crossterm` used here, as a direct dependency of the current crate
= help: you can use `cargo tree` to explore your dependency tree
note: tuple variant defined here
--> src/event.rs:22:5
|
22 | Crossterm(CrosstermEvent),
| ^^^^^^^^^
|
|
src/app.rs#L44
error[E0308]: mismatched types
--> src/app.rs:44:48
|
44 | self.handle_key_events(key_event)?
| ----------------- ^^^^^^^^^ expected `ratatui::crossterm::event::KeyEvent`, found `crossterm::event::KeyEvent`
| |
| arguments to this method are incorrect
|
note: two different versions of crate `crossterm` are being used; two types coming from two different versions of the same crate are different types even if they look the same
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/crossterm-0.28.1/src/event.rs:738:1
|
738 | pub struct KeyEvent {
| ^^^^^^^^^^^^^^^^^^^ this is the expected type `ratatui::crossterm::event::KeyEvent`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/crossterm-0.29.0/src/event.rs:937:1
|
937 | pub struct KeyEvent {
| ^^^^^^^^^^^^^^^^^^^ this is the found type `crossterm::event::KeyEvent`
|
::: src/app.rs:2:5
|
2 | use ratatui::{
| ------- one version of crate `crossterm` used here, as a dependency of crate `ratatui`
...
41 | crossterm::event::Event::Key(key_event)
| --------- one version of crate `crossterm` used here, as a direct dependency of the current crate
= help: you can use `cargo tree` to explore your dependency tree
note: method defined here
--> src/app.rs:59:12
|
59 | pub fn handle_key_events(&mut self, key_event: KeyEvent) -> color_eyre::Result<()> {
| ^^^^^^^^^^^^^^^^^ -------------------
|
|
src/app.rs#L41
error[E0308]: mismatched types
--> src/app.rs:41:21
|
41 | crossterm::event::Event::Key(key_event)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ratatui::crossterm::event::Event`, found `crossterm::event::Event`
|
note: two different versions of crate `crossterm` are being used; two types coming from two different versions of the same crate are different types even if they look the same
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/crossterm-0.28.1/src/event.rs:547:1
|
547 | pub enum Event {
| ^^^^^^^^^^^^^^ this is the expected type `ratatui::crossterm::event::Event`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/crossterm-0.29.0/src/event.rs:550:1
|
550 | pub enum Event {
| ^^^^^^^^^^^^^^ this is the found type `crossterm::event::Event`
|
::: src/app.rs:2:5
|
2 | use ratatui::{
| ------- one version of crate `crossterm` used here, as a dependency of crate `ratatui`
...
41 | crossterm::event::Event::Key(key_event)
| --------- one version of crate `crossterm` used here, as a direct dependency of the current crate
= help: you can use `cargo tree` to explore your dependency tree
|
The logs for this run have expired and are no longer available.
Loading