Skip to content

Fix compilation in release profile #61

Fix compilation in release profile

Fix compilation in release profile #61

Triggered via push August 29, 2024 09:43
Status Success
Total duration 3m 5s
Artifacts

build.yml

on: push
Matrix: build_and_test
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
called `map(..).flatten()` on `Option`: src/routes/game_server.rs#L26
warning: called `map(..).flatten()` on `Option` --> src/routes/game_server.rs:26:10 | 26 | .map(|str| str.strip_prefix("Bearer ")) | __________^ 27 | | .flatten() | |__________________^ help: try replacing `map` with `and_then` and remove the `.flatten()`: `and_then(|str| str.strip_prefix("Bearer "))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten = note: `#[warn(clippy::map_flatten)]` on by default
field `0` is never read: src/errors/mod.rs#L12
warning: field `0` is never read --> src/errors/mod.rs:12:19 | 12 | InvalidSha256(usize), | ------------- ^^^^^ | | | 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 | 12 | InvalidSha256(()), | ~~
build_and_test (nightly, dev)
The following actions use a deprecated Node.js version 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, dev)
The following actions use a deprecated Node.js version 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, dev)
The following actions use a deprecated Node.js version 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 (nightly, release)
The following actions use a deprecated Node.js version 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, release)
The following actions use a deprecated Node.js version 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, release)
The following actions use a deprecated Node.js version 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/