Skip to content

fix(all): add missing #264

fix(all): add missing

fix(all): add missing #264

Triggered via push September 29, 2023 17:33
Status Failure
Total duration 7m 49s
Artifacts

backend.yml

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

Annotations

11 errors and 13 warnings
rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
function `reopen_as_elevated` is never used: src/util/elevate.rs#L5
error: function `reopen_as_elevated` is never used --> src/util/elevate.rs:5:4 | 5 | fn reopen_as_elevated(args: String) { | ^^^^^^^^^^^^^^^^^^
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#L103
error: function `get_ptt_keys` is never used --> src/config.rs:103:8 | 103 | pub fn get_ptt_keys() -> Vec<String> { | ^^^^^^^^^^^^
function `get_ptt` is never used: src/config.rs#L97
error: function `get_ptt` is never used --> src/config.rs:97:8 | 97 | pub fn get_ptt() -> bool { | ^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
unused variable: `args`: src/util/elevate.rs#L5
error: unused variable: `args` --> src/util/elevate.rs:5:23 | 5 | fn reopen_as_elevated(args: String) { | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` | = note: `-D unused-variables` implied by `-D warnings`
clippy (macos-latest)
Clippy had exited with the 101 exit code
function `reopen_as_elevated` is never used: src/util/elevate.rs#L5
error: function `reopen_as_elevated` is never used --> src/util/elevate.rs:5:4 | 5 | fn reopen_as_elevated(args: String) { | ^^^^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
unused variable: `args`: src/util/elevate.rs#L5
error: unused variable: `args` --> src/util/elevate.rs:5:23 | 5 | fn reopen_as_elevated(args: String) { | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` | = note: `-D unused-variables` implied by `-D warnings`
clippy (ubuntu-latest)
Clippy had exited with the 101 exit code
clippy (windows-latest)
Clippy had exited with the 101 exit code
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-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 (macos-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 (macos-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 (macos-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 (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/