[INFO] cloning repository https://github.com/fengshenjingjun/easy_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/fengshenjingjun/easy_blockchain_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengshenjingjun%2Feasy_blockchain_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengshenjingjun%2Feasy_blockchain_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ac43d3081e2dba002d55e827de36475e9854304 [INFO] checking fengshenjingjun/easy_blockchain_rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengshenjingjun%2Feasy_blockchain_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fengshenjingjun/easy_blockchain_rust [INFO] finished tweaking git repo https://github.com/fengshenjingjun/easy_blockchain_rust [INFO] tweaked toml for git repo https://github.com/fengshenjingjun/easy_blockchain_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fengshenjingjun/easy_blockchain_rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fengshenjingjun/easy_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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 556a82c664c8e9fe4d20a5f5fcb5ca3fc76c1ff9461ebefd6c683e09a54688c4 [INFO] running `Command { std: "docker" "start" "-a" "556a82c664c8e9fe4d20a5f5fcb5ca3fc76c1ff9461ebefd6c683e09a54688c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "556a82c664c8e9fe4d20a5f5fcb5ca3fc76c1ff9461ebefd6c683e09a54688c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556a82c664c8e9fe4d20a5f5fcb5ca3fc76c1ff9461ebefd6c683e09a54688c4", kill_on_drop: false }` [INFO] [stdout] 556a82c664c8e9fe4d20a5f5fcb5ca3fc76c1ff9461ebefd6c683e09a54688c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f60e6bbc775dcdee2a4af8978a403b7a0bdbc13144b56db658e2c3c3d5c440f2 [INFO] running `Command { std: "docker" "start" "-a" "f60e6bbc775dcdee2a4af8978a403b7a0bdbc13144b56db658e2c3c3d5c440f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Checking blockchain_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/block.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_coinbase_tx` [INFO] [stdout] --> src/cli.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::{new_coinbase_tx, Transaction, TXInput, TxOutput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/transaction.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block_chain::Blockchain` [INFO] [stdout] --> src/transaction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::block_chain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/block.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_coinbase_tx` [INFO] [stdout] --> src/cli.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::{new_coinbase_tx, Transaction, TXInput, TxOutput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/transaction.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block_chain::Blockchain` [INFO] [stdout] --> src/transaction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::block_chain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/block_chain.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(address: &str) -> Blockchain { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bc` [INFO] [stdout] --> src/cli.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let bc = Blockchain::create_blockchain(address); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/block_chain.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(address: &str) -> Blockchain { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bc` [INFO] [stdout] --> src/cli.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let bc = Blockchain::create_blockchain(address); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/transaction.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | format!("Reward to {}", to); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = format!("Reward to {}", to); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/transaction.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | script_sig: data.parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/transaction.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | format!("Reward to {}", to); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = format!("Reward to {}", to); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/transaction.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | script_sig: data.parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain_rust` (lib test) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blockchain_rust` (lib) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f60e6bbc775dcdee2a4af8978a403b7a0bdbc13144b56db658e2c3c3d5c440f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60e6bbc775dcdee2a4af8978a403b7a0bdbc13144b56db658e2c3c3d5c440f2", kill_on_drop: false }` [INFO] [stdout] f60e6bbc775dcdee2a4af8978a403b7a0bdbc13144b56db658e2c3c3d5c440f2