Skip to content

Improve file hashing #353

Improve file hashing

Improve file hashing #353

Triggered via pull request November 2, 2024 00:44
Status Success
Total duration 1m 54s
Artifacts

check.yml

on: pull_request
stable / fmt
12s
stable / fmt
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
stable / fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
stable / fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
match expression looks like `matches!` macro: main/src/main.rs#L493
warning: match expression looks like `matches!` macro --> main/src/main.rs:493:5 | 493 | / match subcommand { 494 | | "cargo-stylus-check" | "cargo-stylus-cgen" | "cargo-stylus-replay" => true, 495 | | _ => false, 496 | | } | |_____^ help: try: `matches!(subcommand, "cargo-stylus-check" | "cargo-stylus-cgen" | "cargo-stylus-replay")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro = note: `#[warn(clippy::match_like_matches_macro)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: main/src/project.rs#L285
warning: this expression creates a reference which is immediately dereferenced by the compiler --> main/src/project.rs:285:40 | 285 | tx.send(read_file_preimage(&filename)) | ^^^^^^^^^ help: change this to: `filename` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/