Skip to content

build(deps): Update Rust crate crossterm to 0.28.0 #581

build(deps): Update Rust crate crossterm to 0.28.0

build(deps): Update Rust crate crossterm to 0.28.0 #581

GitHub Actions / clippy failed Jul 31, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.80.0 (051478957 2024-07-21)
  • cargo 1.80.0 (376290515 2024-07-16)
  • clippy 0.1.80 (0514789 2024-07-21)

Annotations

Check failure on line 25 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.28.0/src/event/read.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the method `ok` exists for enum `Result<UnixInternalEventSource, Error>`, but its trait bounds were not satisfied

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`

Check failure on line 4 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.28.0/src/event/source/unix/mio.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `signal_hook_mio::v0_8`

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