Add game connect route #34
Annotations
9 warnings
this `MutexGuard` is held across an `await` point:
src/version.rs#L32
warning: this `MutexGuard` is held across an `await` point
--> src/version.rs:32:9
|
32 | let mut cache = cache.lock().unwrap();
| ^^^^^^^^^
|
= help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await
note: these are all the `await` points this lock is held through
--> src/version.rs:42:10
|
42 | .await
| ^^^^^
...
56 | .await
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
= note: `#[warn(clippy::await_holding_lock)]` on by default
|
struct `GameConnectionResponse` is never constructed:
src/game_connection.rs#L21
warning: struct `GameConnectionResponse` is never constructed
--> src/game_connection.rs:21:8
|
21 | struct GameConnectionResponse {
| ^^^^^^^^^^^^^^^^^^^^^^
|
field `0` is never read:
src/errors/fetcher.rs#L9
warning: field `0` is never read
--> src/errors/fetcher.rs:9:19
|
9 | InvalidSha256(usize),
| ------------- ^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
9 | InvalidSha256(()),
| ~~
|
field `0` is never read:
src/errors/fetcher.rs#L8
warning: field `0` is never read
--> src/errors/fetcher.rs:8:18
|
8 | ReqwestError(reqwest::Error),
| ------------ ^^^^^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
8 | ReqwestError(()),
| ~~
|
field `0` is never read:
src/errors/fetcher.rs#L7
warning: field `0` is never read
--> src/errors/fetcher.rs:7:15
|
7 | OctoError(octocrab::Error),
| --------- ^^^^^^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
7 | OctoError(()),
| ~~
|
field `0` is never read:
src/errors/api.rs#L25
warning: field `0` is never read
--> src/errors/api.rs:25:14
|
25 | External(String),
| -------- ^^^^^^
| |
| field in this variant
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
25 | External(()),
| ~~
|
build_and_test (nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build_and_test (stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build_and_test (beta)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|