[INFO] cloning repository https://github.com/687c/practical1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/687c/practical1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F687c%2Fpractical1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F687c%2Fpractical1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee4598e750f8f99279d8fe8bc97c50244ba0a87c
[INFO] testing 687c/practical1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F687c%2Fpractical1" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/687c/practical1
[INFO] finished tweaking git repo https://github.com/687c/practical1
[INFO] tweaked toml for git repo https://github.com/687c/practical1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/687c/practical1 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/687c/practical1 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92cbd16ef50df3a2cca0dd02ac53ad451ff366a9cecfdd3f7e9e2105d94f7e25
[INFO] running `Command { std: "docker" "start" "-a" "92cbd16ef50df3a2cca0dd02ac53ad451ff366a9cecfdd3f7e9e2105d94f7e25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92cbd16ef50df3a2cca0dd02ac53ad451ff366a9cecfdd3f7e9e2105d94f7e25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92cbd16ef50df3a2cca0dd02ac53ad451ff366a9cecfdd3f7e9e2105d94f7e25", kill_on_drop: false }`
[INFO] [stdout] 92cbd16ef50df3a2cca0dd02ac53ad451ff366a9cecfdd3f7e9e2105d94f7e25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7cd2c0c3d80c0e292da37830baae08c26d4b1888e6e485f39a9daecbc261747f
[INFO] running `Command { std: "docker" "start" "-a" "7cd2c0c3d80c0e292da37830baae08c26d4b1888e6e485f39a9daecbc261747f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling anyhow v1.0.63
[INFO] [stderr]    Compiling bitcoin_hashes v0.11.0
[INFO] [stderr]    Compiling cpufeatures v0.2.4
[INFO] [stderr]    Compiling base64ct v1.5.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling sha2 v0.10.3
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling secp256k1-sys v0.6.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.34
[INFO] [stderr]    Compiling thiserror v1.0.34
[INFO] [stderr]    Compiling secp256k1 v0.24.0
[INFO] [stderr]    Compiling practical1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/account.rs:15:12
[INFO] [stdout]     |
[INFO] [stdout] 14  | impl Account {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 15  |     pub fn gen_account() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34  |     pub fn add_key_pair_to_wallet(&mut self, key_pair: KeyPair) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65  |     pub fn airdrop_coins(&mut self, input: u128) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78  |     pub fn create_payment_op(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_balance(&self) -> u128 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn print_balance(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn sign_data(&self, msg: String, index: usize) -> Signature {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]  --> src/block.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Block {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `create_block` and `create_hash` are never used
[INFO] [stdout]   --> src/block.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Block {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 15 |     pub fn create_block(set_of_tx: Vec<Transaction>, prev_hash: String) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn create_hash<T: Hash>(t: &T) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Blockchain` is never constructed
[INFO] [stdout]  --> src/blockchain.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Blockchain {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init_blockchain`, `get_faucet_tokens`, `validate_block`, and `show_coin_db` are never used
[INFO] [stdout]    --> src/blockchain.rs:16:12
[INFO] [stdout]     |
[INFO] [stdout] 15  | impl Blockchain {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 16  |     pub fn init_blockchain() -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn get_faucet_tokens(&mut self, acc: &mut Account, amt: u128) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68  |     pub fn validate_block(&mut self, block: &mut Block) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn show_coin_db(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hash` is never constructed
[INFO] [stdout]  --> src/hash.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Hash {}
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_sha256` is never used
[INFO] [stdout]  --> src/hash.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Hash {
[INFO] [stdout]   | --------- associated function in this implementation
[INFO] [stdout] 7 |     fn to_sha256(message: String) -> String {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_key_pair`, `print_key_pair`, `save_key_to_file`, and `read_from_file` are never used
[INFO] [stdout]   --> src/keypair.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl KeyPair {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] 16 |     pub fn new_key_pair() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn print_key_pair(key_pair: &Self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn save_key_to_file(key_pair: &Self /* path: Path */) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn read_from_file(/* path: Path */) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Operation` is never constructed
[INFO] [stdout]  --> src/operation.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Operation {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create_operation` and `verify_operation` are never used
[INFO] [stdout]   --> src/operation.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Operation {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn create_operation(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn verify_operation(self /*, operation: Operation */) -> Result<bool> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Signature` is never constructed
[INFO] [stdout]  --> src/signature.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Signature {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sign_data`, `verify_sig`, and `print_sig` are never used
[INFO] [stdout]   --> src/signature.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Signature {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 12 |     pub fn sign_data(private_key: &SecretKey, message: String) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn verify_sig(sig: Signature, public_key: PublicKey, message: String) -> Result<bool> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn print_sig(sig: &Self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]  --> src/tx.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Transaction {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `create_tx`, `calculate_hash`, and `gen_nonce` are never used
[INFO] [stdout]   --> src/tx.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Transaction {
[INFO] [stdout]    | ---------------- associated functions in this implementation
[INFO] [stdout] 15 |     pub fn create_tx(set_of_ops: Vec<Operation>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn calculate_hash<T: Hash>(t: &T) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn gen_nonce() -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.83s
[INFO] running `Command { std: "docker" "inspect" "7cd2c0c3d80c0e292da37830baae08c26d4b1888e6e485f39a9daecbc261747f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cd2c0c3d80c0e292da37830baae08c26d4b1888e6e485f39a9daecbc261747f", kill_on_drop: false }`
[INFO] [stdout] 7cd2c0c3d80c0e292da37830baae08c26d4b1888e6e485f39a9daecbc261747f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] feff813641b7b0725f230b19ac8fb08c123fad900ba1349dfbca2e0cadab895f
[INFO] running `Command { std: "docker" "start" "-a" "feff813641b7b0725f230b19ac8fb08c123fad900ba1349dfbca2e0cadab895f", kill_on_drop: false }`
[INFO] [stderr]    Compiling practical1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `sig`
[INFO] [stdout]   --> src/operation.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let sig = acc1.sign_data(comment.to_string(), 0);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_sig`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_balance` is never used
[INFO] [stdout]    --> src/account.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 14  | impl Account {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn print_balance(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `print_key_pair`, `save_key_to_file`, and `read_from_file` are never used
[INFO] [stdout]   --> src/keypair.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl KeyPair {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn print_key_pair(key_pair: &Self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn save_key_to_file(key_pair: &Self /* path: Path */) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn read_from_file(/* path: Path */) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print_sig` is never used
[INFO] [stdout]   --> src/signature.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Signature {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn print_sig(sig: &Self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/blockchain.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         init.show_coin_db();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let _ = init.show_coin_db();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s
[INFO] running `Command { std: "docker" "inspect" "feff813641b7b0725f230b19ac8fb08c123fad900ba1349dfbca2e0cadab895f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "feff813641b7b0725f230b19ac8fb08c123fad900ba1349dfbca2e0cadab895f", kill_on_drop: false }`
[INFO] [stdout] feff813641b7b0725f230b19ac8fb08c123fad900ba1349dfbca2e0cadab895f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 867d86edf875c6c56637aa440a4c979d226b7ff3cc7310d7224c44001c65baac
[INFO] running `Command { std: "docker" "start" "-a" "867d86edf875c6c56637aa440a4c979d226b7ff3cc7310d7224c44001c65baac", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `sig`
[INFO] [stderr]   --> src/operation.rs:95:13
[INFO] [stderr]    |
[INFO] [stderr] 95 |         let sig = acc1.sign_data(comment.to_string(), 0);
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_sig`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `print_balance` is never used
[INFO] [stderr]    --> src/account.rs:114:12
[INFO] [stderr]     |
[INFO] [stderr] 14  | impl Account {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 114 |     pub fn print_balance(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `print_key_pair`, `save_key_to_file`, and `read_from_file` are never used
[INFO] [stderr]   --> src/keypair.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl KeyPair {
[INFO] [stderr]    | ------------ associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn print_key_pair(key_pair: &Self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     pub fn save_key_to_file(key_pair: &Self /* path: Path */) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn read_from_file(/* path: Path */) -> Result<Self> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `print_sig` is never used
[INFO] [stderr]   --> src/signature.rs:38:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl Signature {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 38 |     pub fn print_sig(sig: &Self) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/blockchain.rs:265:9
[INFO] [stderr]     |
[INFO] [stderr] 265 |         init.show_coin_db();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 265 |         let _ = init.show_coin_db();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `practical1` (bin "practical1" test) generated 5 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/practical1-ec889e561e2eecc8)
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test account::tests::test_sign_data ... ignored, Test when generated keys are saved permanently
[INFO] [stdout] test account::tests::account_init ... ok
[INFO] [stdout] test account::tests::add_keys_to_wallet ... ok
[INFO] [stdout] test account::tests::test_airdrop_coins ... ok
[INFO] [stdout] test block::tests::test_block_creation ... ok
[INFO] [stdout] test blockchain::tests::coin_from_faucet ... ok
[INFO] [stdout] test account::tests::test_transfer_funds ... ok
[INFO] [stdout] test blockchain::tests::init_block ... ok
[INFO] [stdout] test blockchain::tests::dummy_test ... ok
[INFO] [stdout] test blockchain::tests::test_block_addition ... ok
[INFO] [stdout] test hash::test::test_hashing ... ok
[INFO] [stdout] test tx::test::test_hash_fn ... ok
[INFO] [stdout] test tx::test::test_tx ... ok
[INFO] [stdout] test blockchain::tests::test_genesis_hash ... ok
[INFO] [stdout] test operation::tests::test_funds_transfer ... ok
[INFO] [stdout] test blockchain::tests::test_prev_hash_add ... ok
[INFO] [stdout] test account::tests::test_transfer_insufficient_funds - should panic ... ok
[INFO] [stdout] test blockchain::tests::test_absent_prev_hash - should panic ... ok
[INFO] [stdout] test operation::tests::test_signature_fail - should panic ... ok
[INFO] [stdout] test operation::tests::test_insufficient_funds - should panic ... ok
[INFO] [stdout] test blockchain::tests::test_fake_genesis - should panic ... ok
[INFO] [stdout] test tx::test::test_nonce_gen ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "867d86edf875c6c56637aa440a4c979d226b7ff3cc7310d7224c44001c65baac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "867d86edf875c6c56637aa440a4c979d226b7ff3cc7310d7224c44001c65baac", kill_on_drop: false }`
[INFO] [stdout] 867d86edf875c6c56637aa440a4c979d226b7ff3cc7310d7224c44001c65baac
