this isn't CI ready quite yet #39
ci.yml
on: push
Annotations
21 warnings
Check code:
modules/data/src/core/game.rs#L19
warning: unused imports: `Deserialize`, `Serialize`
--> modules/data/src/core/game.rs:19:13
|
19 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Check code:
modules/data/src/core/game.rs#L19
warning: unused imports: `Deserialize`, `Serialize`
--> modules/data/src/core/game.rs:19:13
|
19 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Check code:
modules/data/src/core/maven.rs#L30
warning: associated function `new` is never used
--> modules/data/src/core/maven.rs:31:8
|
30 | impl MavenIdentifier {
| -------------------- associated function in this implementation
31 | fn new(group: impl AsRef<str>, artifact: impl AsRef<str>, version: impl AsRef<str>, classifier: Option<impl AsRef<str>>) -> Self {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/data/src/core/maven.rs#L31
warning: associated function `new` is never used
--> modules/data/src/core/maven.rs:31:8
|
30 | impl MavenIdentifier {
| -------------------- associated function in this implementation
31 | fn new(group: impl AsRef<str>, artifact: impl AsRef<str>, version: impl AsRef<str>, classifier: Option<impl AsRef<str>>) -> Self {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/data/src/core/game.rs#L19
warning: unused imports: `Deserialize`, `Serialize`
--> modules/data/src/core/game.rs:19:13
|
19 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Check code:
modules/data/src/core/game.rs#L19
warning: unused imports: `Deserialize`, `Serialize`
--> modules/data/src/core/game.rs:19:13
|
19 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Check code:
modules/fetch/src/meta.rs#L35
warning: field `client` is never read
--> modules/fetch/src/meta.rs:36:5
|
35 | pub struct MetaRepository<'a> {
| -------------- field in this struct
36 | client: &'a Client,
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/fetch/src/meta.rs#L36
warning: field `client` is never read
--> modules/fetch/src/meta.rs:36:5
|
35 | pub struct MetaRepository<'a> {
| -------------- field in this struct
36 | client: &'a Client,
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/auth/src/services/microsoft.rs#L175
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> modules/auth/src/services/microsoft.rs:175:42
|
175 | let expires = Utc::now() + Duration::seconds(data.expires_in);
| ^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Check code:
modules/auth/src/store.rs#L22
warning: type alias `Registry` is never used
--> modules/auth/src/store.rs:22:6
|
22 | type Registry = FileRegistry<Vec<Account>>;
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/data/src/core/game.rs#L19
warning: unused imports: `Deserialize`, `Serialize`
--> modules/data/src/core/game.rs:19:13
|
19 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Check code:
modules/data/src/core/game.rs#L19
warning: unused imports: `Deserialize`, `Serialize`
--> modules/data/src/core/game.rs:19:13
|
19 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Check code:
modules/data/src/core/maven.rs#L30
warning: associated function `new` is never used
--> modules/data/src/core/maven.rs:31:8
|
30 | impl MavenIdentifier {
| -------------------- associated function in this implementation
31 | fn new(group: impl AsRef<str>, artifact: impl AsRef<str>, version: impl AsRef<str>, classifier: Option<impl AsRef<str>>) -> Self {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/data/src/core/maven.rs#L31
warning: associated function `new` is never used
--> modules/data/src/core/maven.rs:31:8
|
30 | impl MavenIdentifier {
| -------------------- associated function in this implementation
31 | fn new(group: impl AsRef<str>, artifact: impl AsRef<str>, version: impl AsRef<str>, classifier: Option<impl AsRef<str>>) -> Self {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/fetch/src/meta.rs#L35
warning: field `client` is never read
--> modules/fetch/src/meta.rs:36:5
|
35 | pub struct MetaRepository<'a> {
| -------------- field in this struct
36 | client: &'a Client,
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/fetch/src/meta.rs#L36
warning: field `client` is never read
--> modules/fetch/src/meta.rs:36:5
|
35 | pub struct MetaRepository<'a> {
| -------------- field in this struct
36 | client: &'a Client,
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Check code:
modules/auth/src/services/microsoft.rs#L175
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> modules/auth/src/services/microsoft.rs:175:42
|
175 | let expires = Utc::now() + Duration::seconds(data.expires_in);
| ^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Check code:
silo/src/task/loaders.rs#L49
warning: unused variable: `client`
--> silo/src/task/loaders.rs:49:20
|
49 | async fn run_forge(client: &Client, game_versions: &Vec<GameVersionSnippet>) -> anyhow::Result<Vec<ModLoaderVersion>> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
|
= note: `#[warn(unused_variables)]` on by default
|
Check code:
silo/src/task/loaders.rs#L52
warning: unused variable: `version`
--> silo/src/task/loaders.rs:52:9
|
52 | for version in game_versions {}
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
|
Check code:
silo/src/task/loaders.rs#L50
warning: variable does not need to be mutable
--> silo/src/task/loaders.rs:50:9
|
50 | let mut output = Vec::new();
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
Deploy metadata site
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: cloudflare/pages-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|