Skip to content

readme: Fix bash commands on build instructions step #924

readme: Fix bash commands on build instructions step

readme: Fix bash commands on build instructions step #924

Triggered via push August 22, 2023 01:38
Status Success
Total duration 11m 5s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
unneeded `return` statement: src/server/pages.rs#L353
warning: unneeded `return` statement --> src/server/pages.rs:353:13 | 353 | / return HttpResponse::InternalServerError().body(format!( 354 | | "Failed getting XML file {}: {error:?}", 355 | | xml_file_request.file 356 | | )) | |______________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default = help: remove `return`
this async expression only awaits a single future: src/server/manager.rs#L32
warning: this async expression only awaits a single future --> src/server/manager.rs:32:17 | 32 | async { fut.await } | ^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `fut` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block = note: `#[warn(clippy::redundant_async_block)]` on by default
unneeded `return` statement: src/server/pages.rs#L353
warning: unneeded `return` statement --> src/server/pages.rs:353:13 | 353 | / return HttpResponse::InternalServerError().body(format!( 354 | | "Failed getting XML file {}: {error:?}", 355 | | xml_file_request.file 356 | | )) | |______________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default = help: remove `return`
this async expression only awaits a single future: src/server/manager.rs#L32
warning: this async expression only awaits a single future --> src/server/manager.rs:32:17 | 32 | async { fut.await } | ^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `fut` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block = note: `#[warn(clippy::redundant_async_block)]` on by default
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/[email protected], actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/