[Tauri] main menu #96
rust-tauri-lint.yml
on: pull_request
Rustfmt
27s
run_clippy
1m 12s
Annotations
1 error and 16 warnings
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
unused variable: `webview`:
packages/target-tauri/src-tauri/src/lib.rs#L187
warning: unused variable: `webview`
--> packages/target-tauri/src-tauri/src/lib.rs:187:17
|
187 | let webview = app.get_webview_window("main").unwrap();
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_webview`
|
= note: `#[warn(unused_variables)]` on by default
|
unused variable: `webview`:
packages/target-tauri/src-tauri/src/lib.rs#L187
warning: unused variable: `webview`
--> packages/target-tauri/src-tauri/src/lib.rs:187:17
|
187 | let webview = app.get_webview_window("main").unwrap();
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_webview`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `settings::ZOOM_FACTOR_KEY`:
packages/target-tauri/src-tauri/src/menus/main_menu.rs#L11
warning: unused import: `settings::ZOOM_FACTOR_KEY`
--> packages/target-tauri/src-tauri/src/menus/main_menu.rs:11:44
|
11 | use crate::{help_window::open_help_window, settings::ZOOM_FACTOR_KEY, state::app::AppState};
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `tauri_plugin_store::StoreExt`:
packages/target-tauri/src-tauri/src/menus/main_menu.rs#L9
warning: unused import: `tauri_plugin_store::StoreExt`
--> packages/target-tauri/src-tauri/src/menus/main_menu.rs:9:5
|
9 | use tauri_plugin_store::StoreExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `settings::ZOOM_FACTOR_KEY`:
packages/target-tauri/src-tauri/src/menus/main_menu.rs#L11
warning: unused import: `settings::ZOOM_FACTOR_KEY`
--> packages/target-tauri/src-tauri/src/menus/main_menu.rs:11:44
|
11 | use crate::{help_window::open_help_window, settings::ZOOM_FACTOR_KEY, state::app::AppState};
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `borrow::BorrowMut` and `path::PathBuf`:
packages/target-tauri/src-tauri/src/menus/main_menu.rs#L1
warning: unused imports: `borrow::BorrowMut` and `path::PathBuf`
--> packages/target-tauri/src-tauri/src/menus/main_menu.rs:1:11
|
1 | use std::{borrow::BorrowMut, path::PathBuf};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `tauri_plugin_store::StoreExt`:
packages/target-tauri/src-tauri/src/menus/main_menu.rs#L9
warning: unused import: `tauri_plugin_store::StoreExt`
--> packages/target-tauri/src-tauri/src/menus/main_menu.rs:9:5
|
9 | use tauri_plugin_store::StoreExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `borrow::BorrowMut` and `path::PathBuf`:
packages/target-tauri/src-tauri/src/menus/main_menu.rs#L1
warning: unused imports: `borrow::BorrowMut` and `path::PathBuf`
--> packages/target-tauri/src-tauri/src/menus/main_menu.rs:1:11
|
1 | use std::{borrow::BorrowMut, path::PathBuf};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
run_clippy
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/
|
run_clippy
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/
|
run_clippy
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/
|
run_clippy
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/
|