Skip to content

Update Rust crate notify to v6 - autoclosed #769

Update Rust crate notify to v6 - autoclosed

Update Rust crate notify to v6 - autoclosed #769

GitHub Actions / clippy failed Mar 20, 2024 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.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

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

See this annotation in the file changed.

@github-actions 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 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