[INFO] cloning repository https://github.com/Chaitanya-exe/rust_blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chaitanya-exe/rust_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChaitanya-exe%2Frust_blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChaitanya-exe%2Frust_blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 00ce2b00c0b52e28aa72c98670eda6aadac79b9c
[INFO] testing Chaitanya-exe/rust_blockchain against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChaitanya-exe%2Frust_blockchain" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Chaitanya-exe/rust_blockchain
[INFO] finished tweaking git repo https://github.com/Chaitanya-exe/rust_blockchain
[INFO] tweaked toml for git repo https://github.com/Chaitanya-exe/rust_blockchain written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Chaitanya-exe/rust_blockchain on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Chaitanya-exe/rust_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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 668c3bb1489ddd5ce0095ea2e5b1986d80e3ffbb9ab6897476fea57a8115e11a
[INFO] running `Command { std: "docker" "start" "-a" "668c3bb1489ddd5ce0095ea2e5b1986d80e3ffbb9ab6897476fea57a8115e11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "668c3bb1489ddd5ce0095ea2e5b1986d80e3ffbb9ab6897476fea57a8115e11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "668c3bb1489ddd5ce0095ea2e5b1986d80e3ffbb9ab6897476fea57a8115e11a", kill_on_drop: false }`
[INFO] [stdout] 668c3bb1489ddd5ce0095ea2e5b1986d80e3ffbb9ab6897476fea57a8115e11a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfe1cb98352d3054c57833dda97fb64f4807a416d50136cf01405b91cec2fba9
[INFO] running `Command { std: "docker" "start" "-a" "bfe1cb98352d3054c57833dda97fb64f4807a416d50136cf01405b91cec2fba9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling anstyle-parse v0.2.5
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling unicode-xid v0.2.5
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.29.0
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling object v0.36.4
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling clap_builder v4.5.15
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling bitcoin_hashes v0.7.6
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.13
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling merkle-cbt v0.3.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling backtrace v0.3.73
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling clap v4.5.16
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling addr2line v0.22.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling bitcoincash-addr v0.5.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/cli.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |             if let Some(c) = matches.get_one::<String>("DATA"){
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/transaction.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut tx = Transaction{
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_genesis_block` and `get_transaction` are never used
[INFO] [stdout]   --> src/block.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Block{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new_genesis_block(coinbase: Transaction) -> Block{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn get_transaction(&self) -> &Vec<Transaction> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GENESIS_COINBASE` is never used
[INFO] [stdout]  --> src/blockchain.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const GENESIS_COINBASE: String = String::new();
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create_blockchain`, `find_unspent_transaction`, and `find_UTXO` are never used
[INFO] [stdout]    --> src/blockchain.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl Blockchain{
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn create_blockchain(address: String) -> Result<Blockchain>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn find_unspent_transaction(&self, address: &str) -> Vec<Transaction> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn find_UTXO(&self, address: &str) -> Vec<TXOutput>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_coinbase`, `set_id`, and `is_coinbase` are never used
[INFO] [stdout]   --> src/transaction.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Transaction {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 28 |     pub fn new_coinbase(to: String, mut data: String) -> Result<Transaction>{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn set_id(&mut self) -> Result<()>{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn is_coinbase(&self) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_be_unlock_with` is never used
[INFO] [stdout]   --> src/transaction.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl TXInput{
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 61 |     pub fn can_be_unlock_with(&self, unlocking_data: String) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_be_unlock_with` is never used
[INFO] [stdout]   --> src/transaction.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl TXOutput{
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 67 |     pub fn can_be_unlock_with(&self, unlocking_data: String) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut spent_TXOs: HashMap<String, Vec<i32>> = HashMap::new();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut unspent_TXs: Vec<Transaction> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn find_UTXO(&self, address: &str) -> Vec<TXOutput>{
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let unspent_TXs = self.find_unspent_transaction(address);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn iter(&self) -> BlockchainIter{
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn iter(&self) -> BlockchainIter<'_>{
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.17s
[INFO] running `Command { std: "docker" "inspect" "bfe1cb98352d3054c57833dda97fb64f4807a416d50136cf01405b91cec2fba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfe1cb98352d3054c57833dda97fb64f4807a416d50136cf01405b91cec2fba9", kill_on_drop: false }`
[INFO] [stdout] bfe1cb98352d3054c57833dda97fb64f4807a416d50136cf01405b91cec2fba9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d295b2239d4d52e682f9dc0c037ebca09997d3b31aef0af302df72e628c011b
[INFO] running `Command { std: "docker" "start" "-a" "1d295b2239d4d52e682f9dc0c037ebca09997d3b31aef0af302df72e628c011b", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let mut b = Blockchain::new().unwrap();
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/cli.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |             if let Some(c) = matches.get_one::<String>("DATA"){
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/transaction.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut tx = Transaction{
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_genesis_block` and `get_transaction` are never used
[INFO] [stdout]   --> src/block.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Block{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new_genesis_block(coinbase: Transaction) -> Block{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn get_transaction(&self) -> &Vec<Transaction> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GENESIS_COINBASE` is never used
[INFO] [stdout]  --> src/blockchain.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const GENESIS_COINBASE: String = String::new();
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create_blockchain`, `find_unspent_transaction`, and `find_UTXO` are never used
[INFO] [stdout]    --> src/blockchain.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl Blockchain{
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn create_blockchain(address: String) -> Result<Blockchain>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn find_unspent_transaction(&self, address: &str) -> Vec<Transaction> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn find_UTXO(&self, address: &str) -> Vec<TXOutput>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_coinbase`, `set_id`, and `is_coinbase` are never used
[INFO] [stdout]   --> src/transaction.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Transaction {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 28 |     pub fn new_coinbase(to: String, mut data: String) -> Result<Transaction>{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn set_id(&mut self) -> Result<()>{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn is_coinbase(&self) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_be_unlock_with` is never used
[INFO] [stdout]   --> src/transaction.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl TXInput{
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 61 |     pub fn can_be_unlock_with(&self, unlocking_data: String) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_be_unlock_with` is never used
[INFO] [stdout]   --> src/transaction.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl TXOutput{
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 67 |     pub fn can_be_unlock_with(&self, unlocking_data: String) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut spent_TXOs: HashMap<String, Vec<i32>> = HashMap::new();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut unspent_TXs: Vec<Transaction> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn find_UTXO(&self, address: &str) -> Vec<TXOutput>{
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let unspent_TXs = self.find_unspent_transaction(address);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn iter(&self) -> BlockchainIter{
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn iter(&self) -> BlockchainIter<'_>{
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "1d295b2239d4d52e682f9dc0c037ebca09997d3b31aef0af302df72e628c011b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d295b2239d4d52e682f9dc0c037ebca09997d3b31aef0af302df72e628c011b", kill_on_drop: false }`
[INFO] [stdout] 1d295b2239d4d52e682f9dc0c037ebca09997d3b31aef0af302df72e628c011b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 83876b6da99eb5e1cc47d0f7675bdc34d3f6825ec6aecd89d5b9d9ee0681f312
[INFO] running `Command { std: "docker" "start" "-a" "83876b6da99eb5e1cc47d0f7675bdc34d3f6825ec6aecd89d5b9d9ee0681f312", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/blockchain.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |         let mut b = Blockchain::new().unwrap();
[INFO] [stderr]     |             ----^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> src/cli.rs:31:25
[INFO] [stderr]    |
[INFO] [stderr] 31 |             if let Some(c) = matches.get_one::<String>("DATA"){
[INFO] [stderr]    |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/transaction.rs:32:13
[INFO] [stderr]    |
[INFO] [stderr] 32 |         let mut tx = Transaction{
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new_genesis_block` and `get_transaction` are never used
[INFO] [stderr]   --> src/block.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | impl Block{
[INFO] [stderr]    | ---------- associated items in this implementation
[INFO] [stderr] 23 |     pub fn new_genesis_block(coinbase: Transaction) -> Block{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn get_transaction(&self) -> &Vec<Transaction> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `GENESIS_COINBASE` is never used
[INFO] [stderr]  --> src/blockchain.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const GENESIS_COINBASE: String = String::new();
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `create_blockchain`, `find_unspent_transaction`, and `find_UTXO` are never used
[INFO] [stderr]    --> src/blockchain.rs:38:12
[INFO] [stderr]     |
[INFO] [stderr]  22 | impl Blockchain{
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  38 |     pub fn create_blockchain(address: String) -> Result<Blockchain>{
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  67 |     pub fn find_unspent_transaction(&self, address: &str) -> Vec<Transaction> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 106 |     pub fn find_UTXO(&self, address: &str) -> Vec<TXOutput>{
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new_coinbase`, `set_id`, and `is_coinbase` are never used
[INFO] [stderr]   --> src/transaction.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl Transaction {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 28 |     pub fn new_coinbase(to: String, mut data: String) -> Result<Transaction>{
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     pub fn set_id(&mut self) -> Result<()>{
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn is_coinbase(&self) -> bool{
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `can_be_unlock_with` is never used
[INFO] [stderr]   --> src/transaction.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 60 | impl TXInput{
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] 61 |     pub fn can_be_unlock_with(&self, unlocking_data: String) -> bool{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `can_be_unlock_with` is never used
[INFO] [stderr]   --> src/transaction.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr] 66 | impl TXOutput{
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] 67 |     pub fn can_be_unlock_with(&self, unlocking_data: String) -> bool{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `spent_TXOs` should have a snake case name
[INFO] [stderr]   --> src/blockchain.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let mut spent_TXOs: HashMap<String, Vec<i32>> = HashMap::new();
[INFO] [stderr]    |                 ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `unspent_TXs` should have a snake case name
[INFO] [stderr]   --> src/blockchain.rs:69:17
[INFO] [stderr]    |
[INFO] [stderr] 69 |         let mut unspent_TXs: Vec<Transaction> = Vec::new();
[INFO] [stderr]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs`
[INFO] [stderr] 
[INFO] [stderr] warning: method `find_UTXO` should have a snake case name
[INFO] [stderr]    --> src/blockchain.rs:106:12
[INFO] [stderr]     |
[INFO] [stderr] 106 |     pub fn find_UTXO(&self, address: &str) -> Vec<TXOutput>{
[INFO] [stderr]     |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `unspent_TXs` should have a snake case name
[INFO] [stderr]    --> src/blockchain.rs:108:13
[INFO] [stderr]     |
[INFO] [stderr] 108 |         let unspent_TXs = self.find_unspent_transaction(address);
[INFO] [stderr]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs`
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/blockchain.rs:120:17
[INFO] [stderr]     |
[INFO] [stderr] 120 |     pub fn iter(&self) -> BlockchainIter{
[INFO] [stderr]     |                 ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 120 |     pub fn iter(&self) -> BlockchainIter<'_>{
[INFO] [stderr]     |                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_blockchain` (bin "rust_blockchain" test) generated 14 warnings (run `cargo fix --bin "rust_blockchain" -p rust_blockchain --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_blockchain-8abc4ed6826d65f4)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test blockchain::tests::test_add_block ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- blockchain::tests::test_add_block stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'blockchain::tests::test_add_block' (25) panicked at src/blockchain.rs:153:39:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout] 
[INFO] [stdout]    0: <failure::backtrace::internal::InternalBacktrace>::new
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/internal.rs:46:44
[INFO] [stdout]    1: <failure::backtrace::Backtrace>::new
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/mod.rs:121:35
[INFO] [stdout]    2: <failure::error::error_impl::ErrorImpl as core::convert::From<sled::result::Error>>::from
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/error_impl.rs:19:17
[INFO] [stdout]    3: <failure::error::Error as core::convert::From<sled::result::Error>>::from
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/mod.rs:36:18
[INFO] [stdout]    4: <core::result::Result<rust_blockchain::blockchain::Blockchain, failure::error::Error> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible, sled::result::Error>>>::from_residual
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:2189:27
[INFO] [stdout]    5: <rust_blockchain::blockchain::Blockchain>::new
[INFO] [stdout]              at /opt/rustwide/workdir/src/blockchain.rs:26:18
[INFO] [stdout]    6: rust_blockchain::blockchain::tests::test_add_block
[INFO] [stdout]              at /opt/rustwide/workdir/src/blockchain.rs:153:21
[INFO] [stdout]    7: rust_blockchain::blockchain::tests::test_add_block::{closure#0}
[INFO] [stdout]              at /opt/rustwide/workdir/src/blockchain.rs:152:24
[INFO] [stdout]    8: <rust_blockchain::blockchain::tests::test_add_block::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    9: <fn() -> core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]       test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]   10: test::run_test_in_process::{closure#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]       <core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]       std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]       std::panicking::catch_unwind::<core::result::Result<(), alloc::string::String>, core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]       std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]       test::run_test_in_process
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]       test::run_test::{closure#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   11: test::run_test::{closure#1}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]       std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   12: std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]       <core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]       std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]       std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]       std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]       std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]       <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   13: <alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output = ()> + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]       <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   14: <unknown>
[INFO] [stdout]   15: clone
[INFO] [stdout] 
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5a55b7164ee2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a55b7164ee2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized::<std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a55b7164ee2 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a55b7164ee2 - <<std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a55b717b79a - <core[585f66e14d78f9ba]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a55b717b79a - core[585f66e14d78f9ba]::fmt::write
[INFO] [stdout]    6:     0x5a55b716a0f6 - std[3f03f8b59f91bef1]::io::default_write_fmt::<alloc[15e7b27aba85d2e2]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5a55b716a0f6 - <alloc[15e7b27aba85d2e2]::vec::Vec<u8> as std[3f03f8b59f91bef1]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5a55b71415ff - <std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a55b71415ff - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a55b715c1c9 - std[3f03f8b59f91bef1]::panicking::default_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a55b6f6627e - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5a55b6f6627e - test[30224e0cb089acd2]::test_main_with_exit_callback::<test[30224e0cb089acd2]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5a55b715c382 - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5a55b715c382 - std[3f03f8b59f91bef1]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a55b71416b8 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a55b71366d9 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace::<std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a55b71425cd - __rustc[caa99d26c7bae192]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a55b717bedc - core[585f66e14d78f9ba]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a55b717bc22 - core[585f66e14d78f9ba]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a55b6e850dc - <core[585f66e14d78f9ba]::result::Result<rust_blockchain[11ed18b567620b32]::blockchain::Blockchain, failure[51db717e707cfb2e]::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a55b6e850dc - rust_blockchain[11ed18b567620b32]::blockchain::tests::test_add_block
[INFO] [stdout]                                at /opt/rustwide/workdir/src/blockchain.rs:153:39
[INFO] [stdout]   22:     0x5a55b6e834d7 - rust_blockchain[11ed18b567620b32]::blockchain::tests::test_add_block::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/blockchain.rs:152:24
[INFO] [stdout]   23:     0x5a55b6e88c86 - <rust_blockchain[11ed18b567620b32]::blockchain::tests::test_add_block::{closure#0} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5a55b6f5a62b - <fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a55b6f5a62b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5a55b6f66e8a - test[30224e0cb089acd2]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5a55b6f66e8a - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5a55b6f66e8a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5a55b6f66e8a - std[3f03f8b59f91bef1]::panicking::catch_unwind::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5a55b6f66e8a - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5a55b6f66e8a - test[30224e0cb089acd2]::run_test_in_process
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5a55b6f66e8a - test[30224e0cb089acd2]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5a55b6f61354 - test[30224e0cb089acd2]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5a55b6f61354 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5a55b6f69982 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5a55b6f69982 - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5a55b6f69982 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5a55b6f69982 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5a55b6f69982 - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5a55b6f69982 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5a55b6f69982 - <std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5a55b716470f - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn core[585f66e14d78f9ba]::ops::function::FnOnce<(), Output = ()> + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x5a55b716470f - <std[3f03f8b59f91bef1]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x733f7b3e0aa4 - <unknown>
[INFO] [stdout]   45:     0x733f7b46da64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     blockchain::tests::test_add_block
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust_blockchain`
[INFO] running `Command { std: "docker" "inspect" "83876b6da99eb5e1cc47d0f7675bdc34d3f6825ec6aecd89d5b9d9ee0681f312", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83876b6da99eb5e1cc47d0f7675bdc34d3f6825ec6aecd89d5b9d9ee0681f312", kill_on_drop: false }`
[INFO] [stdout] 83876b6da99eb5e1cc47d0f7675bdc34d3f6825ec6aecd89d5b9d9ee0681f312
