GitHub Actions / clippy-all-features
failed
Dec 20, 2023 in 0s
clippy-all-features
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check failure on line 70 in tools/test-framework/src/bootstrap/init.rs
github-actions / clippy-all-features
usage of an `Arc` that is not `Send` or `Sync`
error: usage of an `Arc` that is not `Send` or `Sync`
--> tools/test-framework/src/bootstrap/init.rs:70:24
|
70 | extra_process: Arc::new(RefCell::new(None)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the trait `Sync` is not implemented for `RefCell<Option<Child>>`
= note: required for `Arc<RefCell<Option<Child>>>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= 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`
= help: to override `-D warnings` add `#[allow(clippy::arc_with_non_send_sync)]`
Check failure on line 70 in tools/test-framework/src/bootstrap/init.rs
github-actions / clippy-all-features
usage of an `Arc` that is not `Send` or `Sync`
error: usage of an `Arc` that is not `Send` or `Sync`
--> tools/test-framework/src/bootstrap/init.rs:70:24
|
70 | extra_process: Arc::new(RefCell::new(None)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the trait `Sync` is not implemented for `RefCell<Option<Child>>`
= note: required for `Arc<RefCell<Option<Child>>>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= 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`
= help: to override `-D warnings` add `#[allow(clippy::arc_with_non_send_sync)]`
Loading