[INFO] cloning repository https://github.com/evoxtorm/Blockchain-Basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evoxtorm/Blockchain-Basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevoxtorm%2FBlockchain-Basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevoxtorm%2FBlockchain-Basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b3d94b866b60263c374179b92a40f14438fd1aa [INFO] checking evoxtorm/Blockchain-Basics against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevoxtorm%2FBlockchain-Basics" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/evoxtorm/Blockchain-Basics [INFO] finished tweaking git repo https://github.com/evoxtorm/Blockchain-Basics [INFO] tweaked toml for git repo https://github.com/evoxtorm/Blockchain-Basics written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/evoxtorm/Blockchain-Basics on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/evoxtorm/Blockchain-Basics 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f93f8c2014bbff92fc6e98650d17ba7fb74b432f39fc53cbe3c1ad1ba8463846 [INFO] running `Command { std: "docker" "start" "-a" "f93f8c2014bbff92fc6e98650d17ba7fb74b432f39fc53cbe3c1ad1ba8463846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f93f8c2014bbff92fc6e98650d17ba7fb74b432f39fc53cbe3c1ad1ba8463846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f93f8c2014bbff92fc6e98650d17ba7fb74b432f39fc53cbe3c1ad1ba8463846", kill_on_drop: false }` [INFO] [stdout] f93f8c2014bbff92fc6e98650d17ba7fb74b432f39fc53cbe3c1ad1ba8463846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16e187f245fe9612210d2150a08741d940370f196819abc649b7757e58f68b74 [INFO] running `Command { std: "docker" "start" "-a" "16e187f245fe9612210d2150a08741d940370f196819abc649b7757e58f68b74", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/block.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut block = Block { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/blockchain.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut genesis_block = Block { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_hash` is never used [INFO] [stdout] --> src/models/block.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn calculate_hash(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `genesis_block` is never read [INFO] [stdout] --> src/models/blockchain.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Blockchain { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | // The first block to be added to the chain. [INFO] [stdout] 11 | pub genesis_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/block.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut block = Block { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/blockchain.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut genesis_block = Block { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_hash` is never used [INFO] [stdout] --> src/models/block.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn calculate_hash(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `genesis_block` is never read [INFO] [stdout] --> src/models/blockchain.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Blockchain { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | // The first block to be added to the chain. [INFO] [stdout] 11 | pub genesis_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.24s [INFO] running `Command { std: "docker" "inspect" "16e187f245fe9612210d2150a08741d940370f196819abc649b7757e58f68b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e187f245fe9612210d2150a08741d940370f196819abc649b7757e58f68b74", kill_on_drop: false }` [INFO] [stdout] 16e187f245fe9612210d2150a08741d940370f196819abc649b7757e58f68b74