[INFO] cloning repository https://github.com/Zeddling/baby_blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zeddling/baby_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeddling%2Fbaby_blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeddling%2Fbaby_blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af72e03626ea18e22152672d65bdf9fcd807fa07
[INFO] testing Zeddling/baby_blockchain against 1.73.0 for beta-1.74-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeddling%2Fbaby_blockchain" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Zeddling/baby_blockchain on toolchain 1.73.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Zeddling/baby_blockchain
[INFO] finished tweaking git repo https://github.com/Zeddling/baby_blockchain
[INFO] tweaked toml for git repo https://github.com/Zeddling/baby_blockchain written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Zeddling/baby_blockchain 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" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_test v1.0.142
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 44302e88a6614d2f2da53f94258f279590f3c37b7646c9c1290d460c949983c3
[INFO] running `Command { std: "docker" "start" "-a" "44302e88a6614d2f2da53f94258f279590f3c37b7646c9c1290d460c949983c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44302e88a6614d2f2da53f94258f279590f3c37b7646c9c1290d460c949983c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44302e88a6614d2f2da53f94258f279590f3c37b7646c9c1290d460c949983c3", kill_on_drop: false }`
[INFO] [stdout] 44302e88a6614d2f2da53f94258f279590f3c37b7646c9c1290d460c949983c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 438b2bbfb52b03166a71918448161d570ce99b98f74700e249e37e934ed47fe0
[INFO] running `Command { std: "docker" "start" "-a" "438b2bbfb52b03166a71918448161d570ce99b98f74700e249e37e934ed47fe0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling serde_derive v1.0.142
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling serde v1.0.142
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling serde_test v1.0.142
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[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 openssl-macros v0.1.0
[INFO] [stderr]    Compiling baby_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/blockchain/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CoinUpdates`
[INFO] [stdout]  --> src/blockchain/mod.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::transops::{CoinUpdates, get_nonce, Operation, Transaction};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `de`
[INFO] [stdout]  --> src/keysig/mod.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stdout]   |             ^^  ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `MapAccess`, `SeqAccess`, `Visitor`
[INFO] [stdout]  --> src/keysig/mod.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::de::{Error, MapAccess, SeqAccess, Visitor};
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/blockchain/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut account = Account::gen_account();
[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: value assigned to `is_valid` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut is_valid = false;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             is_valid = true;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:99:18
[INFO] [stdout]    |
[INFO] [stdout] 99 |         } else { is_valid = false; }
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]    --> src/blockchain/mod.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 is_valid = true;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]    --> src/blockchain/mod.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 is_valid = false;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain/mod.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |             for mut transaction in block.transactions.iter_mut() {
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `verified` is never read
[INFO] [stdout]   --> src/transops/mod.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut verified = false;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_key_pair_to_wallet` and `print_balance` are never used
[INFO] [stdout]   --> src/account/mod.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Account {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn add_key_pair_to_wallet(&mut self, keysig: KeySig) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     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: method `get_id` is never used
[INFO] [stdout]   --> src/blockchain/mod.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Block {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn get_id(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `show_coin_database` is never used
[INFO] [stdout]   --> src/blockchain/mod.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Blockchain {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn show_coin_database(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `amount` are never read
[INFO] [stdout]   --> src/transops/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CoinUpdates {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 28 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 29 |     amount: u8
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CoinUpdates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_signature`, `get_sender`, and `get_receiver` are never used
[INFO] [stdout]   --> src/transops/mod.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Operation {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn get_signature(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn get_sender(&self) -> Account {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn get_receiver(&self) -> Account { self.receiver.clone() }
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_id`, and `get_amount` are never used
[INFO] [stdout]    --> src/transops/mod.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl CoinUpdates {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 136 |     pub fn new() -> Vec<CoinUpdates> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn get_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_amount(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_operation` is never used
[INFO] [stdout]    --> src/transops/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn verify_operation(op: Operation) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `flight` should have an upper case name
[INFO] [stdout]   --> src/transops/mod.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const flight: &str = "Cargo Flight";
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `FLIGHT`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.54s
[INFO] running `Command { std: "docker" "inspect" "438b2bbfb52b03166a71918448161d570ce99b98f74700e249e37e934ed47fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "438b2bbfb52b03166a71918448161d570ce99b98f74700e249e37e934ed47fe0", kill_on_drop: false }`
[INFO] [stdout] 438b2bbfb52b03166a71918448161d570ce99b98f74700e249e37e934ed47fe0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ecaceef4232d836554575b2a273ace69e9c86b1c5f55d06d1608759a1296766f
[INFO] running `Command { std: "docker" "start" "-a" "ecaceef4232d836554575b2a273ace69e9c86b1c5f55d06d1608759a1296766f", kill_on_drop: false }`
[INFO] [stderr]    Compiling baby_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/blockchain/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CoinUpdates`
[INFO] [stdout]  --> src/blockchain/mod.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::transops::{CoinUpdates, get_nonce, Operation, Transaction};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `de`
[INFO] [stdout]  --> src/keysig/mod.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stdout]   |             ^^  ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `MapAccess`, `SeqAccess`, `Visitor`
[INFO] [stdout]  --> src/keysig/mod.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::de::{Error, MapAccess, SeqAccess, Visitor};
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Token`, `assert_tokens`
[INFO] [stdout]   --> src/keysig/mod.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     use serde_test::{assert_tokens, Token};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/blockchain/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut account = Account::gen_account();
[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: value assigned to `is_valid` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut is_valid = false;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             is_valid = true;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:99:18
[INFO] [stdout]    |
[INFO] [stdout] 99 |         } else { is_valid = false; }
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]    --> src/blockchain/mod.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 is_valid = true;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_valid` is never read
[INFO] [stdout]    --> src/blockchain/mod.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 is_valid = false;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain/mod.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |             for mut transaction in block.transactions.iter_mut() {
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain/mod.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let mut i = 0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `verified` is never read
[INFO] [stdout]   --> src/transops/mod.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut verified = false;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_balance` is never used
[INFO] [stdout]   --> src/account/mod.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Account {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     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: method `show_coin_database` is never used
[INFO] [stdout]   --> src/blockchain/mod.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Blockchain {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn show_coin_database(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `amount` are never read
[INFO] [stdout]   --> src/transops/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CoinUpdates {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 28 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 29 |     amount: u8
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CoinUpdates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_receiver` is never used
[INFO] [stdout]   --> src/transops/mod.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Operation {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn get_receiver(&self) -> Account { self.receiver.clone() }
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_id`, and `get_amount` are never used
[INFO] [stdout]    --> src/transops/mod.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl CoinUpdates {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 136 |     pub fn new() -> Vec<CoinUpdates> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn get_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_amount(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `flight` should have an upper case name
[INFO] [stdout]   --> src/transops/mod.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const flight: &str = "Cargo Flight";
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `FLIGHT`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.23s
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ecaceef4232d836554575b2a273ace69e9c86b1c5f55d06d1608759a1296766f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecaceef4232d836554575b2a273ace69e9c86b1c5f55d06d1608759a1296766f", kill_on_drop: false }`
[INFO] [stdout] ecaceef4232d836554575b2a273ace69e9c86b1c5f55d06d1608759a1296766f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d2220131c8764cd7dcef759e229f602b3b8bde24d37584f6af1722095bf85fae
[INFO] running `Command { std: "docker" "start" "-a" "d2220131c8764cd7dcef759e229f602b3b8bde24d37584f6af1722095bf85fae", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stderr]  --> src/blockchain/mod.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::borrow::BorrowMut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `CoinUpdates`
[INFO] [stderr]  --> src/blockchain/mod.rs:6:23
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::transops::{CoinUpdates, get_nonce, Operation, Transaction};
[INFO] [stderr]   |                       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize`, `Deserializer`, `de`
[INFO] [stderr]  --> src/keysig/mod.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stderr]   |             ^^  ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Error`, `MapAccess`, `SeqAccess`, `Visitor`
[INFO] [stderr]  --> src/keysig/mod.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | use serde::de::{Error, MapAccess, SeqAccess, Visitor};
[INFO] [stderr]   |                 ^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Token`, `assert_tokens`
[INFO] [stderr]   --> src/keysig/mod.rs:88:22
[INFO] [stderr]    |
[INFO] [stderr] 88 |     use serde_test::{assert_tokens, Token};
[INFO] [stderr]    |                      ^^^^^^^^^^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/blockchain/mod.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |         let mut account = Account::gen_account();
[INFO] [stderr]    |             ----^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `is_valid` is never read
[INFO] [stderr]   --> src/blockchain/mod.rs:94:17
[INFO] [stderr]    |
[INFO] [stderr] 94 |         let mut is_valid = false;
[INFO] [stderr]    |                 ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `is_valid` is never read
[INFO] [stderr]   --> src/blockchain/mod.rs:98:13
[INFO] [stderr]    |
[INFO] [stderr] 98 |             is_valid = true;
[INFO] [stderr]    |             ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `is_valid` is never read
[INFO] [stderr]   --> src/blockchain/mod.rs:99:18
[INFO] [stderr]    |
[INFO] [stderr] 99 |         } else { is_valid = false; }
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `is_valid` is never read
[INFO] [stderr]    --> src/blockchain/mod.rs:114:17
[INFO] [stderr]     |
[INFO] [stderr] 114 |                 is_valid = true;
[INFO] [stderr]     |                 ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `is_valid` is never read
[INFO] [stderr]    --> src/blockchain/mod.rs:116:17
[INFO] [stderr]     |
[INFO] [stderr] 116 |                 is_valid = false;
[INFO] [stderr]     |                 ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/blockchain/mod.rs:127:17
[INFO] [stderr]     |
[INFO] [stderr] 127 |             for mut transaction in block.transactions.iter_mut() {
[INFO] [stderr]     |                 ----^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/blockchain/mod.rs:233:13
[INFO] [stderr]     |
[INFO] [stderr] 233 |         let mut i = 0;
[INFO] [stderr]     |             ----^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `verified` is never read
[INFO] [stderr]   --> src/transops/mod.rs:69:17
[INFO] [stderr]    |
[INFO] [stderr] 69 |         let mut verified = false;
[INFO] [stderr]    |                 ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: method `print_balance` is never used
[INFO] [stderr]   --> src/account/mod.rs:54:12
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl Account {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn print_balance(&self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `show_coin_database` is never used
[INFO] [stderr]   --> src/blockchain/mod.rs:78:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl Blockchain {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub fn show_coin_database(&self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id` and `amount` are never read
[INFO] [stderr]   --> src/transops/mod.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct CoinUpdates {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 28 |     id: String,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 29 |     amount: u8
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CoinUpdates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_receiver` is never used
[INFO] [stderr]   --> src/transops/mod.rs:66:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | impl Operation {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 66 |     pub fn get_receiver(&self) -> Account { self.receiver.clone() }
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get_id`, and `get_amount` are never used
[INFO] [stderr]    --> src/transops/mod.rs:136:12
[INFO] [stderr]     |
[INFO] [stderr] 135 | impl CoinUpdates {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr] 136 |     pub fn new() -> Vec<CoinUpdates> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 143 |     pub fn get_id(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn get_amount(&self) -> u8 {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `flight` should have an upper case name
[INFO] [stderr]   --> src/transops/mod.rs:11:7
[INFO] [stderr]    |
[INFO] [stderr] 11 | const flight: &str = "Cargo Flight";
[INFO] [stderr]    |       ^^^^^^ help: convert the identifier to upper case: `FLIGHT`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `baby_blockchain` (bin "baby_blockchain" test) generated 20 warnings (run `cargo fix --bin "baby_blockchain" --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/baby_blockchain-ed4f1f164b7e43a3)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test blockchain::tests::test_blockchain_init ... ok
[INFO] [stdout] test account::tests::test_add_key_pair_to_wallet ... ok
[INFO] [stdout] test hash::tests::test_to_sha1 ... ok
[INFO] [stdout] test account::tests::test_sign_data ... ok
[INFO] [stdout] test keysig::tests::test_get_public_key ... ok
[INFO] [stdout] test account::tests::test_account_created ... ok
[INFO] [stdout] test keysig::tests::test_sign_and_verify ... ok
[INFO] [stdout] test blockchain::tests::test_create_block ... ok
[INFO] [stdout] test blockchain::tests::test_blockchain_add_block ... FAILED
[INFO] [stdout] test account::tests::test_get_balance ... FAILED
[INFO] [stdout] test account::tests::test_update_balance ... ok
[INFO] [stdout] test utils::test::test_vec_to_string ... ok
[INFO] [stdout] test blockchain::tests::test_get_token_from_faucet ... ok
[INFO] [stdout] test keysig::tests::test_to_string ... ok
[INFO] [stdout] test transops::tests::test_create_operation ... ok
[INFO] [stdout] test transops::tests::test_get_signature ... ok
[INFO] [stdout] test transops::tests::test_verify_operation ... ok
[INFO] [stdout] test transops::tests::test_create_transaction ... ok
[INFO] [stdout] test transops::tests::test_to_string ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- blockchain::tests::test_blockchain_add_block stdout ----
[INFO] [stdout] thread 'blockchain::tests::test_blockchain_add_block' panicked at src/blockchain/mod.rs:247:9:
[INFO] [stdout] assertion failed: bc.validate_block(block)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x563436161e0c - std::backtrace_rs::backtrace::libunwind::trace::he43a6a3949163f8c
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x563436161e0c - std::backtrace_rs::backtrace::trace_unsynchronized::h50db52ca99f692e7
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x563436161e0c - std::sys_common::backtrace::_print_fmt::hd37d595f2ceb2d3c
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x563436161e0c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h678bbcf9da6d7d75
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x56343618bb7c - core::fmt::rt::Argument::fmt::h3a159adc080a6fc9
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x56343618bb7c - core::fmt::write::hb8eaf5a8e45a738e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/mod.rs:1094:21
[INFO] [stdout]    6:     0x56343615f0ae - std::io::Write::write_fmt::hd8d55fcb462ed7e9
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/mod.rs:1714:15
[INFO] [stdout]    7:     0x563436161bf4 - std::sys_common::backtrace::_print::hcd4834796ee88ad2
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x563436161bf4 - std::sys_common::backtrace::print::h1360e9450e4f922a
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5634361639f3 - std::panicking::default_hook::{{closure}}::h2609fa95cd5ab1f4
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:270:22
[INFO] [stdout]   10:     0x56343616368f - std::panicking::default_hook::h6d75f5747cab6e8d
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:287:9
[INFO] [stdout]   11:     0x5634360f089c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h22dfbb3222a0c5d6
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x5634360f089c - test::test_main::{{closure}}::hf2fa6099cd421171
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x5634361640ee - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h05249de742e1768e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x5634361640ee - std::panicking::rust_panic_with_hook::h57e78470c47c84de
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:711:13
[INFO] [stdout]   15:     0x563436163e31 - std::panicking::begin_panic_handler::{{closure}}::h3dfd2453cf356ecb
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:597:13
[INFO] [stdout]   16:     0x563436162336 - std::sys_common::backtrace::__rust_end_short_backtrace::hdb177d43678e4d7e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x563436163bc2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
[INFO] [stdout]   18:     0x563436094893 - core::panicking::panic_fmt::hd1e971d8d7c78e0e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
[INFO] [stdout]   19:     0x563436094923 - core::panicking::panic::hd907d42d09324a32
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:117:5
[INFO] [stdout]   20:     0x5634360b1131 - baby_blockchain::blockchain::tests::test_blockchain_add_block::h482c0418d2b95047
[INFO] [stdout]                                at /opt/rustwide/workdir/src/blockchain/mod.rs:247:9
[INFO] [stdout]   21:     0x5634360b0d47 - baby_blockchain::blockchain::tests::test_blockchain_add_block::{{closure}}::hf27c8b43cf11fdda
[INFO] [stdout]                                at /opt/rustwide/workdir/src/blockchain/mod.rs:230:36
[INFO] [stdout]   22:     0x56343609e986 - core::ops::function::FnOnce::call_once::h9df0cc134948f94f
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5634360f592f - core::ops::function::FnOnce::call_once::he2e7294d6e0366fc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5634360f592f - test::__rust_begin_short_backtrace::h13549e99f98e3254
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:626:18
[INFO] [stdout]   25:     0x5634360f49be - test::run_test_in_process::{{closure}}::h9c2c3d1665ffe092
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:649:60
[INFO] [stdout]   26:     0x5634360f49be - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hec1896877d3d50ca
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   27:     0x5634360f49be - std::panicking::try::do_call::hc7aed7412be3e0dc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
[INFO] [stdout]   28:     0x5634360f49be - std::panicking::try::h011fbc524cd7e3ba
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
[INFO] [stdout]   29:     0x5634360f49be - std::panic::catch_unwind::hff05d0891bc5bb82
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x5634360f49be - test::run_test_in_process::h87f0657a1c0aaab4
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:649:27
[INFO] [stdout]   31:     0x5634360f49be - test::run_test::{{closure}}::hc4dd34f501797e16
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:572:43
[INFO] [stdout]   32:     0x5634360bc313 - test::run_test::{{closure}}::h1201d47565297bcc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:600:41
[INFO] [stdout]   33:     0x5634360bc313 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6de9d5784bb58c62
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   34:     0x5634360c1f2b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0a3dd4432bd9a04d
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x5634360c1f2b - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h05af39418a9230d5
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   36:     0x5634360c1f2b - std::panicking::try::do_call::h6f430b03009d827b
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
[INFO] [stdout]   37:     0x5634360c1f2b - std::panicking::try::h3275ae04389ad69a
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
[INFO] [stdout]   38:     0x5634360c1f2b - std::panic::catch_unwind::h77f388467ce5722e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x5634360c1f2b - std::thread::Builder::spawn_unchecked_::{{closure}}::h308964f897d35a6e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x5634360c1f2b - core::ops::function::FnOnce::call_once{{vtable.shim}}::h98d901cf00b6c865
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5634361687c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::haadd4e5af2ab0d62
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   42:     0x5634361687c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he4ba1fb09c16d807
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x5634361687c5 - std::sys::unix::thread::Thread::new::thread_start::he524ecf4b47bee95
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f1ccf5c5b43 - <unknown>
[INFO] [stdout]   45:     0x7f1ccf656bb4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- account::tests::test_get_balance stdout ----
[INFO] [stdout] thread 'account::tests::test_get_balance' panicked at src/account/mod.rs:138:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 1
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x563436161e0c - std::backtrace_rs::backtrace::libunwind::trace::he43a6a3949163f8c
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x563436161e0c - std::backtrace_rs::backtrace::trace_unsynchronized::h50db52ca99f692e7
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x563436161e0c - std::sys_common::backtrace::_print_fmt::hd37d595f2ceb2d3c
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x563436161e0c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h678bbcf9da6d7d75
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x56343618bb7c - core::fmt::rt::Argument::fmt::h3a159adc080a6fc9
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x56343618bb7c - core::fmt::write::hb8eaf5a8e45a738e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/mod.rs:1094:21
[INFO] [stdout]    6:     0x56343615f0ae - std::io::Write::write_fmt::hd8d55fcb462ed7e9
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/mod.rs:1714:15
[INFO] [stdout]    7:     0x563436161bf4 - std::sys_common::backtrace::_print::hcd4834796ee88ad2
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x563436161bf4 - std::sys_common::backtrace::print::h1360e9450e4f922a
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5634361639f3 - std::panicking::default_hook::{{closure}}::h2609fa95cd5ab1f4
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:270:22
[INFO] [stdout]   10:     0x56343616368f - std::panicking::default_hook::h6d75f5747cab6e8d
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:287:9
[INFO] [stdout]   11:     0x5634360f089c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h22dfbb3222a0c5d6
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x5634360f089c - test::test_main::{{closure}}::hf2fa6099cd421171
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x5634361640ee - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h05249de742e1768e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x5634361640ee - std::panicking::rust_panic_with_hook::h57e78470c47c84de
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:711:13
[INFO] [stdout]   15:     0x563436163e77 - std::panicking::begin_panic_handler::{{closure}}::h3dfd2453cf356ecb
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:599:13
[INFO] [stdout]   16:     0x563436162336 - std::sys_common::backtrace::__rust_end_short_backtrace::hdb177d43678e4d7e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x563436163bc2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
[INFO] [stdout]   18:     0x563436094893 - core::panicking::panic_fmt::hd1e971d8d7c78e0e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
[INFO] [stdout]   19:     0x563436094cc5 - core::panicking::assert_failed_inner::h7e09b6414eab0f29
[INFO] [stdout]   20:     0x5634360abeae - core::panicking::assert_failed::h7fd50c7dd6d21535
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:229:5
[INFO] [stdout]   21:     0x5634360aa5f8 - baby_blockchain::account::tests::test_get_balance::h3ab62d7fdb239b27
[INFO] [stdout]                                at /opt/rustwide/workdir/src/account/mod.rs:138:9
[INFO] [stdout]   22:     0x5634360aa507 - baby_blockchain::account::tests::test_get_balance::{{closure}}::h508711628550b32e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/account/mod.rs:135:27
[INFO] [stdout]   23:     0x56343609eca6 - core::ops::function::FnOnce::call_once::hd6c5183438b68cfa
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5634360f592f - core::ops::function::FnOnce::call_once::he2e7294d6e0366fc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5634360f592f - test::__rust_begin_short_backtrace::h13549e99f98e3254
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:626:18
[INFO] [stdout]   26:     0x5634360f49be - test::run_test_in_process::{{closure}}::h9c2c3d1665ffe092
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:649:60
[INFO] [stdout]   27:     0x5634360f49be - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hec1896877d3d50ca
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x5634360f49be - std::panicking::try::do_call::hc7aed7412be3e0dc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
[INFO] [stdout]   29:     0x5634360f49be - std::panicking::try::h011fbc524cd7e3ba
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
[INFO] [stdout]   30:     0x5634360f49be - std::panic::catch_unwind::hff05d0891bc5bb82
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x5634360f49be - test::run_test_in_process::h87f0657a1c0aaab4
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:649:27
[INFO] [stdout]   32:     0x5634360f49be - test::run_test::{{closure}}::hc4dd34f501797e16
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:572:43
[INFO] [stdout]   33:     0x5634360bc313 - test::run_test::{{closure}}::h1201d47565297bcc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:600:41
[INFO] [stdout]   34:     0x5634360bc313 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6de9d5784bb58c62
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5634360c1f2b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0a3dd4432bd9a04d
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x5634360c1f2b - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h05af39418a9230d5
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x5634360c1f2b - std::panicking::try::do_call::h6f430b03009d827b
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
[INFO] [stdout]   38:     0x5634360c1f2b - std::panicking::try::h3275ae04389ad69a
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
[INFO] [stdout]   39:     0x5634360c1f2b - std::panic::catch_unwind::h77f388467ce5722e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x5634360c1f2b - std::thread::Builder::spawn_unchecked_::{{closure}}::h308964f897d35a6e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x5634360c1f2b - core::ops::function::FnOnce::call_once{{vtable.shim}}::h98d901cf00b6c865
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5634361687c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::haadd4e5af2ab0d62
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x5634361687c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he4ba1fb09c16d807
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x5634361687c5 - std::sys::unix::thread::Thread::new::thread_start::he524ecf4b47bee95
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f1ccf5c5b43 - <unknown>
[INFO] [stdout]   46:     0x7f1ccf656bb4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     account::tests::test_get_balance
[INFO] [stdout]     blockchain::tests::test_blockchain_add_block
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 17 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.34s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin baby_blockchain`
[INFO] running `Command { std: "docker" "inspect" "d2220131c8764cd7dcef759e229f602b3b8bde24d37584f6af1722095bf85fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2220131c8764cd7dcef759e229f602b3b8bde24d37584f6af1722095bf85fae", kill_on_drop: false }`
[INFO] [stdout] d2220131c8764cd7dcef759e229f602b3b8bde24d37584f6af1722095bf85fae
