[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] checking gregoriB/blockchain-Rust against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregoriB/blockchain-Rust on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-7-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e40592f636b8d55df19138026b6e30902ae6f240cf4ab3cb4394bf32afea934 [INFO] running `Command { std: "docker" "start" "-a" "6e40592f636b8d55df19138026b6e30902ae6f240cf4ab3cb4394bf32afea934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e40592f636b8d55df19138026b6e30902ae6f240cf4ab3cb4394bf32afea934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e40592f636b8d55df19138026b6e30902ae6f240cf4ab3cb4394bf32afea934", kill_on_drop: false }` [INFO] [stdout] 6e40592f636b8d55df19138026b6e30902ae6f240cf4ab3cb4394bf32afea934 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f7c8573486f7cb24bbb355040d5f8535458b0b52aca3e3db70bef14ba1d9fe4 [INFO] running `Command { std: "docker" "start" "-a" "5f7c8573486f7cb24bbb355040d5f8535458b0b52aca3e3db70bef14ba1d9fe4", 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 memchr v2.4.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling stfu8 v0.2.4 [INFO] [stderr] Compiling voca_rs v1.13.1 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking block_chain v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling demonstrate v0.4.5 [INFO] [stdout] warning: unused variable: `payout_address` [INFO] [stdout] --> tests/blockchain.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let payout_address = "test_payout"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payout_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> tests/blockchain.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let transaction = Transaction::new(sender, receiver, amount); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/blockchain.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut blockchain = BlockChain::new(name, difficulty, payout, supply); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/block.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let mut block = Block::new(transactions); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_transaction` [INFO] [stdout] --> tests/block.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let first_transaction = transactions.first().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_transaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "5f7c8573486f7cb24bbb355040d5f8535458b0b52aca3e3db70bef14ba1d9fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7c8573486f7cb24bbb355040d5f8535458b0b52aca3e3db70bef14ba1d9fe4", kill_on_drop: false }` [INFO] [stdout] 5f7c8573486f7cb24bbb355040d5f8535458b0b52aca3e3db70bef14ba1d9fe4