Skip to content

Update Rust crate notify to v8 #1717

Update Rust crate notify to v8

Update Rust crate notify to v8 #1717

GitHub Actions / clippy failed Feb 3, 2025 in 0s

clippy

2 errors, 1 warning

Details

Results

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

Versions

  • rustc 1.84.1 (e71f9a9a9 2025-01-27)
  • cargo 1.84.1 (66221abde 2024-11-19)
  • clippy 0.1.84 (e71f9a9a98 2025-01-27)

Annotations

Check warning on line 988 in src/http.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

bound is defined in more than one place

warning: bound is defined in more than one place
   --> src/http.rs:988:20
    |
988 |     pub fn copy_to<W: ?Sized>(&mut self, w: &mut W) -> Result<u64, Error>
    |                    ^
989 |     where
990 |         W: Write,
    |         ^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
    = note: `#[warn(clippy::multiple_bound_locations)]` on by default

Check failure on line 112 in src/cli/cmd/watch.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find function `watcher` in crate `notify`

error[E0425]: cannot find function `watcher` in crate `notify`
   --> src/cli/cmd/watch.rs:112:17
    |
112 |         notify::watcher(tx, Duration::from_secs(opts.delay_secs)).context(WatchSnafu)?;
    |                 ^^^^^^^ not found in `notify`

Check failure on line 2 in src/cli/cmd/watch.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `notify::DebouncedEvent`

error[E0432]: unresolved import `notify::DebouncedEvent`
 --> src/cli/cmd/watch.rs:2:14
  |
2 | use notify::{DebouncedEvent, RecursiveMode, Watcher};
  |              ^^^^^^^^^^^^^^ no `DebouncedEvent` in the root