Skip to content

Improve file hashing #358

Improve file hashing

Improve file hashing #358

Triggered via pull request November 4, 2024 13:22
Status Failure
Total duration 9m 30s
Artifacts

linux.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
(x86_64-unknown-linux-gnu, nightly)
Process completed with exit code 101.
(x86_64-unknown-linux-gnu, stable)
The job was canceled because "x86_64-unknown-linux-gnu_" failed.
(x86_64-unknown-linux-gnu, stable)
The operation was canceled.
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
(x86_64-unknown-linux-gnu, nightly)
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/