[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] testing gregoriB/blockchain-Rust against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregoriB/blockchain-Rust on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stfu8 v0.2.4 [INFO] [stderr] Downloaded demonstrate v0.4.5 [INFO] [stderr] Downloaded voca_rs v1.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 615badce2ed0294af1951fb452bd0eeb59215dc4f4e943cd356679f055a8a870 [INFO] running `Command { std: "docker" "start" "-a" "615badce2ed0294af1951fb452bd0eeb59215dc4f4e943cd356679f055a8a870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "615badce2ed0294af1951fb452bd0eeb59215dc4f4e943cd356679f055a8a870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "615badce2ed0294af1951fb452bd0eeb59215dc4f4e943cd356679f055a8a870", kill_on_drop: false }` [INFO] [stdout] 615badce2ed0294af1951fb452bd0eeb59215dc4f4e943cd356679f055a8a870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3544a56e20e6f8220695b3d3444764cc3bcaa4d63b07047f34822df81595704f [INFO] running `Command { std: "docker" "start" "-a" "3544a56e20e6f8220695b3d3444764cc3bcaa4d63b07047f34822df81595704f", 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 foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.1 [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 openssl-sys v0.9.65 [INFO] [stderr] Compiling time v0.1.44 [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 `pending_transactions` is never read [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockChain { [INFO] [stdout] | ---------- field in this struct [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: fields `timestamp`, `name`, `difficulty`, `payout`, and `supply` are never read [INFO] [stdout] --> src/blockchain.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BlockChainData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub difficulty: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | pub payout: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub supply: u32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockChainData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/blockchain.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BlockChain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_chain(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_pending_transactions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_last_block(&self) -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn create_block(&self) -> Block { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_block(&mut self, payout_address: &'static str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn update_chain(&mut self, last_block: Block, new_block: Block) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn pay_miner(&mut self, payout_address: &'static str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn create_payout_transaction(&self, payout_address: &'static str) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn reset_pending_transactions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn add_pending_transaction(&mut self, transaction: Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transactions` is never read [INFO] [stdout] --> src/block.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | timestamp: i64, [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] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/block.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_transactions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_prev_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_next_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_prev_hash(&mut self, hash: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_next_hash(&mut self, hash: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn mine(&mut self, difficulty: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hash`, `get_sender`, `get_receiver`, and `get_amount` are never used [INFO] [stdout] --> src/transaction.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_sender(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_receiver(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_amount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.80s [INFO] running `Command { std: "docker" "inspect" "3544a56e20e6f8220695b3d3444764cc3bcaa4d63b07047f34822df81595704f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3544a56e20e6f8220695b3d3444764cc3bcaa4d63b07047f34822df81595704f", kill_on_drop: false }` [INFO] [stdout] 3544a56e20e6f8220695b3d3444764cc3bcaa4d63b07047f34822df81595704f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/6bf260551eec30fd407ac44cc830da635b59846e5e25a8f8958a048e8acf39a5: no space left on device