Merge remote-tracking branch 'origin/master' #13
Annotations
2 errors and 15 warnings
test-tauri (macos-latest)
The run was canceled by @DIDIRUS4.
|
test-tauri (macos-latest)
The operation was canceled.
|
unnecessarily eager cloning of iterator items:
theseus_cli/src/subcommands/profile.rs#L179
warning: unnecessarily eager cloning of iterator items
--> theseus_cli/src/subcommands/profile.rs:179:17
|
179 | loaders.iter().cloned().find(filter).ok_or_else(|| {
| ^^^^^^^^^^^^^^----------------------
| |
| help: try: `.find(|&x| filter(x)).cloned()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_overeager_cloned
= note: `#[warn(clippy::iter_overeager_cloned)]` on by default
|
the borrowed expression implements the required traits:
theseus/src/launcher/mod.rs#L180
warning: the borrowed expression implements the required traits
--> theseus/src/launcher/mod.rs:180:27
|
180 | &io::canonicalize(&profile.get_profile_full_path().await?)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `profile.get_profile_full_path().await?`
|
= 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
|
unnecessarily eager cloning of iterator items:
theseus/src/api/profile/create.rs#L273
warning: unnecessarily eager cloning of iterator items
--> theseus/src/api/profile/create.rs:273:26
|
273 | let loader_version = loaders
| ___________________________^
274 | | .iter()
| | ________________-
275 | || .cloned()
276 | || .find(filter)
| ||_____________________^
| |_____________________|
| help: try: `.find(|&x| filter(x)).cloned()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_overeager_cloned
= note: `#[warn(clippy::iter_overeager_cloned)]` on by default
|
function `refresh_credentials` is never used:
theseus/src/launcher/auth.rs#L46
warning: function `refresh_credentials` is never used
--> theseus/src/launcher/auth.rs:46:14
|
46 | pub async fn refresh_credentials(
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variable does not need to be mutable:
theseus/src/api/auth.rs#L41
warning: variable does not need to be mutable
--> theseus/src/api/auth.rs:41:9
|
41 | let mut users = state.users.write().await;
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
braces around Deserialize is unnecessary:
theseus/src/api/hydra/complete.rs#L3
warning: braces around Deserialize is unnecessary
--> theseus/src/api/hydra/complete.rs:3:1
|
3 | use serde::{Deserialize};
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> theseus/src/lib.rs:7:9
|
7 | #![warn(unused_import_braces)]
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `self`:
theseus/src/api/auth.rs#L3
warning: unused import: `self`
--> theseus/src/api/auth.rs:3:13
|
3 | hydra::{self, init::DeviceLoginSuccess},
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
test-tauri (ubuntu-20.04):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
test-tauri (ubuntu-20.04):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
test-tauri (ubuntu-22.04):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
test-tauri (ubuntu-22.04):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
test-tauri (windows-latest):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
test-tauri (windows-latest):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
test-tauri (macos-latest):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
test-tauri (macos-latest):
theseus_gui/src/components/ui/AccountsCard.vue#L107
Attribute "v-model" should go before "type"
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
ubuntu-20.04
Expired
|
159 MB |
|
ubuntu-22.04
Expired
|
174 MB |
|
windows-latest
Expired
|
31.2 MB |
|