[INFO] cloning repository https://github.com/gregoriB/blockchain-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gregoriB/blockchain-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43c8845bd3885ef6f23f37f1c2ed2f797becc193 [INFO] building gregoriB/blockchain-Rust against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregoriB/blockchain-Rust on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gregoriB/blockchain-Rust [INFO] finished tweaking git repo https://github.com/gregoriB/blockchain-Rust [INFO] tweaked toml for git repo https://github.com/gregoriB/blockchain-Rust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/gregoriB/blockchain-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "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 demonstrate v0.4.5 [INFO] [stderr] Downloaded stfu8 v0.2.4 [INFO] [stderr] Downloaded voca_rs v1.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adfaddbcb0720ba977771d597aebf0f0d4ef12fcb473eb678183843842a61a7a [INFO] running `Command { std: "docker" "start" "-a" "adfaddbcb0720ba977771d597aebf0f0d4ef12fcb473eb678183843842a61a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adfaddbcb0720ba977771d597aebf0f0d4ef12fcb473eb678183843842a61a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adfaddbcb0720ba977771d597aebf0f0d4ef12fcb473eb678183843842a61a7a", kill_on_drop: false }` [INFO] [stdout] adfaddbcb0720ba977771d597aebf0f0d4ef12fcb473eb678183843842a61a7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c8509a8bdb7131596787b9240bbc7d24f487ea5b2d6aaab643082ba70d91ef3 [INFO] running `Command { std: "docker" "start" "-a" "0c8509a8bdb7131596787b9240bbc7d24f487ea5b2d6aaab643082ba70d91ef3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling block_chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_chain` [INFO] [stdout] --> src/blockchain.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_chain(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pending_transactions` [INFO] [stdout] --> src/blockchain.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_pending_transactions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_last_block` [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_last_block(&self) -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_block` [INFO] [stdout] --> src/blockchain.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn create_block(&self) -> Block { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_block` [INFO] [stdout] --> src/blockchain.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn add_block(&mut self, payout_address: &'static str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_chain` [INFO] [stdout] --> src/blockchain.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn update_chain(&mut self, last_block: Block, new_block: Block) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pay_miner` [INFO] [stdout] --> src/blockchain.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn pay_miner(&mut self, payout_address: &'static str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_payout_transaction` [INFO] [stdout] --> src/blockchain.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn create_payout_transaction(&self, payout_address: &'static str) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_pending_transactions` [INFO] [stdout] --> src/blockchain.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn reset_pending_transactions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_pending_transaction` [INFO] [stdout] --> src/blockchain.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn add_pending_transaction(&mut self, transaction: Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transactions` [INFO] [stdout] --> src/block.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: associated function is never used: `get_transactions` [INFO] [stdout] --> src/block.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_transactions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hash` [INFO] [stdout] --> src/block.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_prev_hash` [INFO] [stdout] --> src/block.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_prev_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_next_hash` [INFO] [stdout] --> src/block.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_next_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_prev_hash` [INFO] [stdout] --> src/block.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_prev_hash(&mut self, hash: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_next_hash` [INFO] [stdout] --> src/block.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_next_hash(&mut self, hash: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mine` [INFO] [stdout] --> src/block.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn mine(&mut self, difficulty: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hash` [INFO] [stdout] --> src/transaction.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sender` [INFO] [stdout] --> src/transaction.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_sender(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_receiver` [INFO] [stdout] --> src/transaction.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_receiver(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_amount` [INFO] [stdout] --> src/transaction.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_amount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.67s [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "0c8509a8bdb7131596787b9240bbc7d24f487ea5b2d6aaab643082ba70d91ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8509a8bdb7131596787b9240bbc7d24f487ea5b2d6aaab643082ba70d91ef3", kill_on_drop: false }` [INFO] [stdout] 0c8509a8bdb7131596787b9240bbc7d24f487ea5b2d6aaab643082ba70d91ef3