Skip to content

fix(all): clippy vupdate #241

fix(all): clippy vupdate

fix(all): clippy vupdate #241

Triggered via push September 2, 2023 20:24
Status Cancelled
Total duration 10m 23s
Artifacts

backend.yml

on: push
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 13 warnings
the borrowed expression implements the required traits: src/injection/injection_runner.rs#L19
error: the borrowed expression implements the required traits --> src/injection/injection_runner.rs:19:19 | 19 | if fs::metadata(&local_config_dir).is_ok() { | ^^^^^^^^^^^^^^^^^ help: change this to: `local_config_dir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings`
function `start_hotkey_watcher` is never used: src/hotkeys.rs#L15
error: function `start_hotkey_watcher` is never used --> src/hotkeys.rs:15:8 | 15 | pub fn start_hotkey_watcher(win: tauri::Window) { | ^^^^^^^^^^^^^^^^^^^^
function `get_ptt_keys` is never used: src/config.rs#L99
error: function `get_ptt_keys` is never used --> src/config.rs:99:8 | 99 | pub fn get_ptt_keys() -> Vec<String> { | ^^^^^^^^^^^^
function `get_ptt` is never used: src/config.rs#L93
error: function `get_ptt` is never used --> src/config.rs:93:8 | 93 | pub fn get_ptt() -> bool { | ^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
clippy (macos-12)
Clippy had exited with the 101 exit code
the borrowed expression implements the required traits: src/injection/injection_runner.rs#L19
error: the borrowed expression implements the required traits --> src/injection/injection_runner.rs:19:19 | 19 | if fs::metadata(&local_config_dir).is_ok() { | ^^^^^^^^^^^^^^^^^ help: change this to: `local_config_dir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings`
clippy (ubuntu-latest)
Clippy had exited with the 101 exit code
clippy (windows-latest)
The operation was canceled.
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
clippy (macos-12)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy (macos-12)
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/
clippy (macos-12)
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/
clippy (macos-12)
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/
clippy (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy (ubuntu-latest)
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/
clippy (ubuntu-latest)
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/
clippy (ubuntu-latest)
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/
clippy (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy (windows-latest)
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/
clippy (windows-latest)
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/
clippy (windows-latest)
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/