Skip to content

ci: fix clippy lints #8057

ci: fix clippy lints

ci: fix clippy lints #8057

Triggered via pull request August 30, 2023 22:18
Status Cancelled
Total duration 10m 58s
Artifacts

test-core.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 45 warnings
usage of an `Arc` that is not `Send` or `Sync`: core/tauri-runtime-wry/src/lib.rs#L2658
error: usage of an `Arc` that is not `Send` or `Sync` --> core/tauri-runtime-wry/src/lib.rs:2658:24 | 2658 | items: Arc::new(Mutex::new(items)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the trait `Send` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>` = note: the trait `Sync` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>` = note: required for `Arc<Mutex<HashMap<u16, CustomMenuItem>>>` 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
usage of an `Arc` that is not `Send` or `Sync`: core/tauri-runtime-wry/src/lib.rs#L2107
error: usage of an `Arc` that is not `Send` or `Sync` --> core/tauri-runtime-wry/src/lib.rs:2107:18 | 2107 | items: Arc::new(Mutex::new(items)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the trait `Send` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>` = note: the trait `Sync` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>` = note: required for `Arc<Mutex<HashMap<u16, CustomMenuItem>>>` 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`
test (x86_64-apple-darwin, macos-latest, 1.60.0, --features compression, all)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features compression, all)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features compression, all)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features compression, all)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features compression, all)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --no-default-features, no-default)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-apple-darwin, macos-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --no-default-features, no-default)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --no-default-features, no-default)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --no-default-features, no-default)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --no-default-features, no-default)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --no-default-features, no-default)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features api-all, api-all)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features api-all, api-all)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features api-all, api-all)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features api-all, api-all)
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 (x86_64-apple-darwin, macos-latest, 1.60.0, --features api-all, api-all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features compression, all)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features compression, all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features compression, all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features compression, all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features compression, all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --no-default-features, no-default)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --no-default-features, no-default)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features compression, all)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features compression, all)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features compression, all)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features compression, all)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features compression, all)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features api-all, api-all)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features api-all, api-all)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features api-all, api-all)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features api-all, api-all)
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 (x86_64-pc-windows-msvc, windows-latest, 1.61.0, --features api-all, api-all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features api-all, api-all)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features api-all, api-all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features api-all, api-all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features api-all, api-all)
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 (x86_64-unknown-linux-gnu, ubuntu-latest, 1.60.0, --features api-all, api-all)
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/