build(deps): Update Rust crate crossterm to 0.28.0 #581
Annotations
2 errors
the method `ok` exists for enum `Result<UnixInternalEventSource, Error>`, but its trait bounds were not satisfied:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.28.0/src/event/read.rs#L25
error[E0599]: the method `ok` exists for enum `Result<UnixInternalEventSource, Error>`, but its trait bounds were not satisfied
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.28.0/src/event/read.rs:25:29
|
25 | let source = source.ok().map(|x| Box::new(x) as Box<dyn EventSource>);
| ^^ method cannot be called on `Result<UnixInternalEventSource, Error>` due to unsatisfied trait bounds
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.28.0/src/event/source/unix/mio.rs:24:1
|
24 | pub(crate) struct UnixInternalEventSource {
| ----------------------------------------- doesn't satisfy `UnixInternalEventSource: Sized`
|
= note: the following trait bounds were not satisfied:
`{type error}: Sized`
which is required by `UnixInternalEventSource: Sized`
|
unresolved import `signal_hook_mio::v0_8`:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.28.0/src/event/source/unix/mio.rs#L4
error[E0432]: unresolved import `signal_hook_mio::v0_8`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.28.0/src/event/source/unix/mio.rs:4:22
|
4 | use signal_hook_mio::v0_8::Signals;
| ^^^^ could not find `v0_8` in `signal_hook_mio`
|
note: found an item that was configured out
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/signal-hook-mio-0.2.4/src/lib.rs:251:9
|
251 | pub mod v0_8 {
| ^^^^
= note: the item is gated behind the `support-v0_8` feature
|