[INFO] cloning repository https://github.com/solvz/Blockchain-Basic-Infrastructure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solvz/Blockchain-Basic-Infrastructure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolvz%2FBlockchain-Basic-Infrastructure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolvz%2FBlockchain-Basic-Infrastructure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f488b4985528aea516ff9f420fd293df150761f [INFO] checking solvz/Blockchain-Basic-Infrastructure against master#90384941aae4ea38de00e4702b50757e9b882a19 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolvz%2FBlockchain-Basic-Infrastructure" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 82% (343/416) Updating files: 83% (346/416) Updating files: 84% (350/416) Updating files: 85% (354/416) Updating files: 86% (358/416) Updating files: 87% (362/416) Updating files: 88% (367/416) Updating files: 89% (371/416) Updating files: 90% (375/416) Updating files: 91% (379/416) Updating files: 92% (383/416) Updating files: 93% (387/416) Updating files: 94% (392/416) Updating files: 95% (396/416) Updating files: 96% (400/416) Updating files: 97% (404/416) Updating files: 98% (408/416) Updating files: 99% (412/416) Updating files: 100% (416/416) Updating files: 100% (416/416), done. [INFO] validating manifest of git repo https://github.com/solvz/Blockchain-Basic-Infrastructure on toolchain 90384941aae4ea38de00e4702b50757e9b882a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solvz/Blockchain-Basic-Infrastructure [INFO] finished tweaking git repo https://github.com/solvz/Blockchain-Basic-Infrastructure [INFO] tweaked toml for git repo https://github.com/solvz/Blockchain-Basic-Infrastructure written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/solvz/Blockchain-Basic-Infrastructure already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba861009bf43127a1127db1674f19febc8c408842084fecdb4b73724b65b504d [INFO] running `Command { std: "docker" "start" "-a" "ba861009bf43127a1127db1674f19febc8c408842084fecdb4b73724b65b504d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba861009bf43127a1127db1674f19febc8c408842084fecdb4b73724b65b504d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba861009bf43127a1127db1674f19febc8c408842084fecdb4b73724b65b504d", kill_on_drop: false }` [INFO] [stdout] ba861009bf43127a1127db1674f19febc8c408842084fecdb4b73724b65b504d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa69701431b305bcbc041b9d6003bdbca2fd2d69a73511e5f9588b922d02180 [INFO] running `Command { std: "docker" "start" "-a" "9fa69701431b305bcbc041b9d6003bdbca2fd2d69a73511e5f9588b922d02180", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking blockchainproj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/blockchain.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if (output_val > input_val) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - if (output_val > input_val) { [INFO] [stdout] 71 + if output_val > input_val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/blockchain.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if (output_val > input_val) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - if (output_val > input_val) { [INFO] [stdout] 71 + if output_val > input_val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_hash` is never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | last_hash = block.hash.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_hash` is never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | last_hash = block.hash.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.80s [INFO] running `Command { std: "docker" "inspect" "9fa69701431b305bcbc041b9d6003bdbca2fd2d69a73511e5f9588b922d02180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa69701431b305bcbc041b9d6003bdbca2fd2d69a73511e5f9588b922d02180", kill_on_drop: false }` [INFO] [stdout] 9fa69701431b305bcbc041b9d6003bdbca2fd2d69a73511e5f9588b922d02180