[INFO] cloning repository https://github.com/mfcastellani/simple-blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfcastellani/simple-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfcastellani%2Fsimple-blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfcastellani%2Fsimple-blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0310b7102988b0ea33ed40923778de30aaf39ef [INFO] checking mfcastellani/simple-blockchain against master#01706e1a34c87656fcbfce198608f4cd2ac6461a for pr-135272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfcastellani%2Fsimple-blockchain" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mfcastellani/simple-blockchain on toolchain 01706e1a34c87656fcbfce198608f4cd2ac6461a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mfcastellani/simple-blockchain [INFO] finished tweaking git repo https://github.com/mfcastellani/simple-blockchain [INFO] tweaked toml for git repo https://github.com/mfcastellani/simple-blockchain written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mfcastellani/simple-blockchain 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" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-oid v0.10.0-rc.3 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.3 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed483ff85241b9a44df2aa115bd7440ac79967a1a989398976b7b4a4c60312f7 [INFO] running `Command { std: "docker" "start" "-a" "ed483ff85241b9a44df2aa115bd7440ac79967a1a989398976b7b4a4c60312f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed483ff85241b9a44df2aa115bd7440ac79967a1a989398976b7b4a4c60312f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed483ff85241b9a44df2aa115bd7440ac79967a1a989398976b7b4a4c60312f7", kill_on_drop: false }` [INFO] [stdout] ed483ff85241b9a44df2aa115bd7440ac79967a1a989398976b7b4a4c60312f7 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe56a850f0a25c4bf213943c7fb964b828dd819df7698303e054716e9c715837 [INFO] running `Command { std: "docker" "start" "-a" "fe56a850f0a25c4bf213943c7fb964b828dd819df7698303e054716e9c715837", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking const-oid v0.10.0-rc.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking hybrid-array v0.2.1 [INFO] [stderr] Checking crypto-common v0.2.0-rc.1 [INFO] [stderr] Checking block-buffer v0.11.0-rc.3 [INFO] [stderr] Checking digest v0.11.0-pre.9 [INFO] [stderr] Checking sha2 v0.11.0-pre.4 [INFO] [stderr] Checking simple-blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `origin`, `destination`, and `quantity` are never read [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | quantity: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_by_id` is never used [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Blockchain { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_block_by_id(&self, id: u64) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `origin`, `destination`, and `quantity` are never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | id: u64, [INFO] [stdout] 8 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | quantity: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chain_validation` is never used [INFO] [stdout] --> src/main.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_chain_validation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.96s [INFO] running `Command { std: "docker" "inspect" "fe56a850f0a25c4bf213943c7fb964b828dd819df7698303e054716e9c715837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe56a850f0a25c4bf213943c7fb964b828dd819df7698303e054716e9c715837", kill_on_drop: false }` [INFO] [stdout] fe56a850f0a25c4bf213943c7fb964b828dd819df7698303e054716e9c715837