Move mod store into own module #270
Annotations
5 errors and 2 warnings
unused import: `std::os::unix::fs::PermissionsExt`:
src/gui/message.rs#L744
error: unused import: `std::os::unix::fs::PermissionsExt`
--> src/gui/message.rs:744:17
|
744 | use std::os::unix::fs::PermissionsExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
failed to resolve: use of undeclared crate or module `fs`:
src/gui/message.rs#L745
error[E0433]: failed to resolve: use of undeclared crate or module `fs`
--> src/gui/message.rs:745:58
|
745 | std::fs::set_permissions(&original_exe_path, fs::Permissions::from_mode(0o755))
| ^^ use of undeclared crate or module `fs`
|
help: consider importing this struct
|
1 + use std::fs::Permissions;
|
help: if you import `Permissions`, refer to it directly
|
745 - std::fs::set_permissions(&original_exe_path, fs::Permissions::from_mode(0o755))
745 + std::fs::set_permissions(&original_exe_path, Permissions::from_mode(0o755))
|
|
unused import: `std::os::unix::fs::PermissionsExt`:
src/gui/message.rs#L744
error: unused import: `std::os::unix::fs::PermissionsExt`
--> src/gui/message.rs:744:17
|
744 | use std::os::unix::fs::PermissionsExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
failed to resolve: use of undeclared crate or module `fs`:
src/gui/message.rs#L745
error[E0433]: failed to resolve: use of undeclared crate or module `fs`
--> src/gui/message.rs:745:58
|
745 | std::fs::set_permissions(&original_exe_path, fs::Permissions::from_mode(0o755))
| ^^ use of undeclared crate or module `fs`
|
help: consider importing this struct
|
1 + use std::fs::Permissions;
|
help: if you import `Permissions`, refer to it directly
|
745 - std::fs::set_permissions(&original_exe_path, fs::Permissions::from_mode(0o755))
745 + std::fs::set_permissions(&original_exe_path, Permissions::from_mode(0o755))
|
|
check
Clippy had exited with the 101 exit code
|
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|