Fix pnpm? #24
Annotations
4 errors and 4 warnings
test-tauri (macos-latest)
Process completed with exit code 1.
|
test-tauri (ubuntu-20.04)
Process completed with exit code 1.
|
test-tauri (ubuntu-22.04)
Process completed with exit code 1.
|
test-tauri (windows-latest)
Process completed with exit code 1.
|
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
|