Skip to content

Fix Clippy warnings #1097

Fix Clippy warnings

Fix Clippy warnings #1097

Triggered via push July 29, 2023 08:30
Status Success
Total duration 2m 36s
Artifacts

Miri.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
usage of `Arc<T>` where `T` is not `Send` or `Sync`: src/sync_base/invalidator.rs#L118
error: usage of `Arc<T>` where `T` is not `Send` or `Sync` --> src/sync_base/invalidator.rs:118:27 | 118 | scan_context: Arc::new(ScanContext::new(cache)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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
usage of `Arc<T>` where `T` is not `Send` or `Sync`: src/notification/notifier.rs#L163
error: usage of `Arc<T>` where `T` is not `Send` or `Sync` --> src/notification/notifier.rs:163:21 | 163 | let 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`
usage of `Arc<T>` where `T` is not `Send` or `Sync`: src/sync_base/invalidator.rs#L118
error: usage of `Arc<T>` where `T` is not `Send` or `Sync` --> src/sync_base/invalidator.rs:118:27 | 118 | scan_context: Arc::new(ScanContext::new(cache)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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
usage of `Arc<T>` where `T` is not `Send` or `Sync`: src/notification/notifier.rs#L163
error: usage of `Arc<T>` where `T` is not `Send` or `Sync` --> src/notification/notifier.rs:163:21 | 163 | let 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`
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/