Update Rust crate notify to v7 - autoclosed #1587
GitHub Actions / clippy
failed
Oct 25, 2024 in 0s
clippy
2 errors, 2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.82.0 (f6e511eec 2024-10-15)
- cargo 1.82.0 (8f40fc59f 2024-08-21)
- clippy 0.1.82 (f6e511e 2024-10-15)
Annotations
Check warning on line 2 in src/cli/cmd/watch.rs
github-actions / clippy
unused import: `Watcher`
warning: unused import: `Watcher`
--> src/cli/cmd/watch.rs:2:45
|
2 | use notify::{DebouncedEvent, RecursiveMode, Watcher};
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check warning on line 988 in src/http.rs
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
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
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
Loading