[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 try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfcastellani%2Fsimple-blockchain" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mfcastellani/simple-blockchain on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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 crypto-common v0.2.0-rc.1 [INFO] [stderr] Downloaded hybrid-array v0.2.1 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.3 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.4 [INFO] [stderr] Downloaded digest v0.11.0-pre.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d22a0aebccfb400c6fba94dfd6d73e6be37a694a9385d486d3934c62619ea3b [INFO] running `Command { std: "docker" "start" "-a" "1d22a0aebccfb400c6fba94dfd6d73e6be37a694a9385d486d3934c62619ea3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d22a0aebccfb400c6fba94dfd6d73e6be37a694a9385d486d3934c62619ea3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d22a0aebccfb400c6fba94dfd6d73e6be37a694a9385d486d3934c62619ea3b", kill_on_drop: false }` [INFO] [stdout] 1d22a0aebccfb400c6fba94dfd6d73e6be37a694a9385d486d3934c62619ea3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09dccce7f5482578cf00d3c3618acbca0eb05cabf5fda7b0d7d152531c88d168 [INFO] running `Command { std: "docker" "start" "-a" "09dccce7f5482578cf00d3c3618acbca0eb05cabf5fda7b0d7d152531c88d168", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking const-oid v0.10.0-rc.3 [INFO] [stderr] Checking cpufeatures v0.2.14 [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 `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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.71s [INFO] running `Command { std: "docker" "inspect" "09dccce7f5482578cf00d3c3618acbca0eb05cabf5fda7b0d7d152531c88d168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09dccce7f5482578cf00d3c3618acbca0eb05cabf5fda7b0d7d152531c88d168", kill_on_drop: false }` [INFO] [stdout] 09dccce7f5482578cf00d3c3618acbca0eb05cabf5fda7b0d7d152531c88d168