refactor: ⬆️ Upgrade egui and other deps #565
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
1 error and 6 warnings
failed to resolve: use of undeclared type `Permissions`:
alvr/launcher/src/main.rs#L772
error[E0433]: failed to resolve: use of undeclared type `Permissions`
--> alvr/launcher/src/main.rs:772:34
|
772 | file.set_permissions(Permissions::from_mode(0o755))?;
| ^^^^^^^^^^^ use of undeclared type `Permissions`
|
help: a trait with a similar name exists
|
772 | file.set_permissions(PermissionsExt::from_mode(0o755))?;
| ~~~~~~~~~~~~~~
help: consider importing one of these items
|
1 + use crate::fs::Permissions;
|
1 + use std::fs::Permissions;
|
|
wiki
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, cmbrose/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
unused variable: `ui`:
alvr/dashboard/src/dashboard/components/setup_wizard.rs#L128
warning: unused variable: `ui`
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:128:18
|
128 | |ui| {
| ^^ help: if this is intentional, prefix it with an underscore: `_ui`
|
= note: `#[warn(unused_variables)]` on by default
|
the borrowed expression implements the required traits:
alvr/launcher/src/main.rs#L763
warning: the borrowed expression implements the required traits
--> alvr/launcher/src/main.rs:763:24
|
763 | fs::create_dir_all(&installation_dir)?;
| ^^^^^^^^^^^^^^^^^ help: change this to: `installation_dir`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
unused variable: `buffer`:
alvr/launcher/src/main.rs#L759
warning: unused variable: `buffer`
--> alvr/launcher/src/main.rs:759:9
|
759 | let buffer = download(tx, "Downloading Streamer", &url, client).await?;
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
|
= note: `#[warn(unused_variables)]` on by default
|
unreachable expression:
alvr/launcher/src/main.rs#L782
warning: unreachable expression
--> alvr/launcher/src/main.rs:782:5
|
765 | / match installation_type {
766 | | #[cfg(target_os = "linux")]
767 | | InstallationType::AppImage => {
768 | | installation_dir.push("ALVR-x86_64.AppImage");
... |
780 | | }
781 | | }
| |_____- any code following this `match` expression is unreachable, as all arms diverge
782 | Ok(())
| ^^^^^^ unreachable expression
|
= note: `#[warn(unreachable_code)]` on by default
|
unused import: `std::os::unix::prelude::PermissionsExt`:
alvr/launcher/src/main.rs#L2
warning: unused import: `std::os::unix::prelude::PermissionsExt`
--> alvr/launcher/src/main.rs:2:5
|
2 | use std::os::unix::prelude::PermissionsExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|