GitHub Actions / clippy
failed
Jul 28, 2023 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.72.0-beta.3 (a47f796a3 2023-07-22)
- cargo 1.72.0-beta.3 (dd6536b8e 2023-07-18)
- clippy 0.1.72 (a47f796 2023-07-22)
Annotations
Check failure on line 164 in src/notification/notifier.rs
github-actions / clippy
usage of `Arc<T>` where `T` is not `Send` or `Sync`
error: usage of `Arc<T>` where `T` is not `Send` or `Sync`
--> src/notification/notifier.rs:164:20
|
164 | state: Arc::new(state),
| ^^^^^^^^^^^^^^^
|
= help: consider using `Rc<T>` instead or wrapping `T` in a std::sync type like `Mutex<T>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
= note: `-D clippy::arc-with-non-send-sync` implied by `-D warnings`
Check failure on line 164 in src/notification/notifier.rs
github-actions / clippy
usage of `Arc<T>` where `T` is not `Send` or `Sync`
error: usage of `Arc<T>` where `T` is not `Send` or `Sync`
--> src/notification/notifier.rs:164:20
|
164 | state: Arc::new(state),
| ^^^^^^^^^^^^^^^
|
= help: consider using `Rc<T>` instead or wrapping `T` in a std::sync type like `Mutex<T>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
= note: `-D clippy::arc-with-non-send-sync` implied by `-D warnings`
Loading