[INFO] cloning repository https://github.com/wizzywit/bchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wizzywit/bchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwizzywit%2Fbchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwizzywit%2Fbchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52693faa7edf9fc7a6e7213cc628063d359e430e [INFO] building wizzywit/bchain against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwizzywit%2Fbchain" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wizzywit/bchain on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wizzywit/bchain [INFO] finished tweaking git repo https://github.com/wizzywit/bchain [INFO] tweaked toml for git repo https://github.com/wizzywit/bchain written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/wizzywit/bchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e95a257d65a4b1c7185ace53a6c450c5dff1e8eeaea001ef38106e8b987fbc4 [INFO] running `Command { std: "docker" "start" "-a" "3e95a257d65a4b1c7185ace53a6c450c5dff1e8eeaea001ef38106e8b987fbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e95a257d65a4b1c7185ace53a6c450c5dff1e8eeaea001ef38106e8b987fbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e95a257d65a4b1c7185ace53a6c450c5dff1e8eeaea001ef38106e8b987fbc4", kill_on_drop: false }` [INFO] [stdout] 3e95a257d65a4b1c7185ace53a6c450c5dff1e8eeaea001ef38106e8b987fbc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 059b2651a6e0ac4bdfa61f665125cd14bd6e35543f6cc59bce759cbdddbf4a97 [INFO] running `Command { std: "docker" "start" "-a" "059b2651a6e0ac4bdfa61f665125cd14bd6e35543f6cc59bce759cbdddbf4a97", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling bchain_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/bchain/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChangeStoreValue` [INFO] [stdout] --> src/bchain/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ChangeStoreValue { key: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TransactionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `store` [INFO] [stdout] --> src/bchain/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | store: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_type` [INFO] [stdout] --> src/bchain/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | acc_type: AccountType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Contract` [INFO] [stdout] --> src/bchain/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Contract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Validator` [INFO] [stdout] --> src/bchain/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / Validator { [INFO] [stdout] 61 | | correctly_validated_blocks: u128, [INFO] [stdout] 62 | | incorrectly_validated_blocks: u128, [INFO] [stdout] 63 | | you_get_the_idea: bool, [INFO] [stdout] 64 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.80s [INFO] running `Command { std: "docker" "inspect" "059b2651a6e0ac4bdfa61f665125cd14bd6e35543f6cc59bce759cbdddbf4a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059b2651a6e0ac4bdfa61f665125cd14bd6e35543f6cc59bce759cbdddbf4a97", kill_on_drop: false }` [INFO] [stdout] 059b2651a6e0ac4bdfa61f665125cd14bd6e35543f6cc59bce759cbdddbf4a97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95a807f4faea83843fe808f6c299c2f6812f36e44cfbe9565c78bc541d528475 [INFO] running `Command { std: "docker" "start" "-a" "95a807f4faea83843fe808f6c299c2f6812f36e44cfbe9565c78bc541d528475", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bchain_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/bchain/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChangeStoreValue` [INFO] [stdout] --> src/bchain/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ChangeStoreValue { key: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TransactionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `store` [INFO] [stdout] --> src/bchain/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | store: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_type` [INFO] [stdout] --> src/bchain/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | acc_type: AccountType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Contract` [INFO] [stdout] --> src/bchain/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Contract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Validator` [INFO] [stdout] --> src/bchain/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / Validator { [INFO] [stdout] 61 | | correctly_validated_blocks: u128, [INFO] [stdout] 62 | | incorrectly_validated_blocks: u128, [INFO] [stdout] 63 | | you_get_the_idea: bool, [INFO] [stdout] 64 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bchain/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bchain_v1-fbb45bb27d80cf21) [INFO] running `Command { std: "docker" "inspect" "95a807f4faea83843fe808f6c299c2f6812f36e44cfbe9565c78bc541d528475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a807f4faea83843fe808f6c299c2f6812f36e44cfbe9565c78bc541d528475", kill_on_drop: false }` [INFO] [stdout] 95a807f4faea83843fe808f6c299c2f6812f36e44cfbe9565c78bc541d528475