[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 master#0d162b25edd5bf0dba9a22e83b614f1113e90474 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Chaitanya-exe/rust_blockchain on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded is-terminal v0.4.13
[INFO] [stderr]   Downloaded cpufeatures v0.2.13
[INFO] [stderr]   Downloaded unicode-xid v0.2.5
[INFO] [stderr]   Downloaded colorchoice v1.0.2
[INFO] [stderr]   Downloaded bitcoincash-addr v0.5.2
[INFO] [stderr]   Downloaded anstyle-query v1.1.1
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.4
[INFO] [stderr]   Downloaded bitcoin_hashes v0.7.6
[INFO] [stderr]   Downloaded cc v1.1.15
[INFO] [stderr]   Downloaded clap v4.5.16
[INFO] [stderr]   Downloaded serde_derive v1.0.209
[INFO] [stderr]   Downloaded serde v1.0.209
[INFO] [stderr]   Downloaded serde_json v1.0.127
[INFO] [stderr]   Downloaded anstyle-parse v0.2.5
[INFO] [stderr]   Downloaded anstream v0.6.15
[INFO] [stderr]   Downloaded clap_lex v0.7.2
[INFO] [stderr]   Downloaded clap_builder v4.5.15
[INFO] [stderr]   Downloaded merkle-cbt v0.3.2
[INFO] [stderr]   Downloaded sled v0.34.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0f1325e8e1c3ad8e4a414ea066a9135aa6686a47616fa34bb5fda3c8e7e342d
[INFO] running `Command { std: "docker" "start" "-a" "a0f1325e8e1c3ad8e4a414ea066a9135aa6686a47616fa34bb5fda3c8e7e342d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0f1325e8e1c3ad8e4a414ea066a9135aa6686a47616fa34bb5fda3c8e7e342d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0f1325e8e1c3ad8e4a414ea066a9135aa6686a47616fa34bb5fda3c8e7e342d", kill_on_drop: false }`
[INFO] [stdout] a0f1325e8e1c3ad8e4a414ea066a9135aa6686a47616fa34bb5fda3c8e7e342d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ff287e3a7f163b24f710fffb1d470ecf944d99f2063ec6d68d14a18a5eea423
[INFO] running `Command { std: "docker" "start" "-a" "8ff287e3a7f163b24f710fffb1d470ecf944d99f2063ec6d68d14a18a5eea423", 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 parking_lot_core v0.8.6
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling anstyle-parse v0.2.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling unicode-xid v0.2.5
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling gimli v0.29.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling object v0.36.4
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling clap_builder v4.5.15
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling bitcoin_hashes v0.7.6
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling cpufeatures v0.2.13
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling merkle-cbt v0.3.2
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling backtrace v0.3.73
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.8
[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 addr2line v0.22.0
[INFO] [stderr]    Compiling clap v4.5.16
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling bitcoincash-addr v0.5.2
[INFO] [stderr]    Compiling failure v0.1.8
[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 40.65s
[INFO] running `Command { std: "docker" "inspect" "8ff287e3a7f163b24f710fffb1d470ecf944d99f2063ec6d68d14a18a5eea423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ff287e3a7f163b24f710fffb1d470ecf944d99f2063ec6d68d14a18a5eea423", kill_on_drop: false }`
[INFO] [stdout] 8ff287e3a7f163b24f710fffb1d470ecf944d99f2063ec6d68d14a18a5eea423
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39bdef42d4f0628df0abc45452186321bdd8fb00f8f1f6ce19ef225a7fdfab42
[INFO] running `Command { std: "docker" "start" "-a" "39bdef42d4f0628df0abc45452186321bdd8fb00f8f1f6ce19ef225a7fdfab42", 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 0.82s
[INFO] running `Command { std: "docker" "inspect" "39bdef42d4f0628df0abc45452186321bdd8fb00f8f1f6ce19ef225a7fdfab42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39bdef42d4f0628df0abc45452186321bdd8fb00f8f1f6ce19ef225a7fdfab42", kill_on_drop: false }`
[INFO] [stdout] 39bdef42d4f0628df0abc45452186321bdd8fb00f8f1f6ce19ef225a7fdfab42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bd5534a0eba667cc75956e8c02df88587a5983a18b1a011a92f9a26a01045286
[INFO] running `Command { std: "docker" "start" "-a" "bd5534a0eba667cc75956e8c02df88587a5983a18b1a011a92f9a26a01045286", 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.13s
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_blockchain-8abc4ed6826d65f4)
[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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   10: test::run_test_in_process::{closure#0}
[INFO] [stdout]              at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]       test::run_test_in_process
[INFO] [stdout]              at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]       test::run_test::{closure#0}
[INFO] [stdout]              at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   11: test::run_test::{closure#1}
[INFO] [stdout]              at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/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/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]       <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]              at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/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:     0x57f0c0d9e1d2 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57f0c0d9e1d2 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57f0c0d9e1d2 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57f0c0d9e1d2 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57f0c0db4a8a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57f0c0db4a8a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x57f0c0da33e6 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57f0c0da33e6 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x57f0c0d7a8ef - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57f0c0d7a8ef - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57f0c0d95469 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57f0c0ba01be - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x57f0c0ba01be - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57f0c0d95622 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x57f0c0d95622 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x57f0c0d7a9a8 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x57f0c0d6fa59 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57f0c0d7b8bd - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x57f0c0db51cc - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57f0c0db4f12 - core[27de1724e4349be2]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x57f0c0abf19c - <core[27de1724e4349be2]::result::Result<rust_blockchain[5ebcf72219b0b7fd]::blockchain::Blockchain, failure[2302f1dbf9562c4a]::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x57f0c0abf19c - rust_blockchain[5ebcf72219b0b7fd]::blockchain::tests::test_add_block
[INFO] [stdout]                                at /opt/rustwide/workdir/src/blockchain.rs:153:39
[INFO] [stdout]   22:     0x57f0c0abd597 - rust_blockchain[5ebcf72219b0b7fd]::blockchain::tests::test_add_block::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/blockchain.rs:152:24
[INFO] [stdout]   23:     0x57f0c0ac2d46 - <rust_blockchain[5ebcf72219b0b7fd]::blockchain::tests::test_add_block::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x57f0c0b9456b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x57f0c0b9456b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x57f0c0ba0dca - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x57f0c0ba0dca - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x57f0c0ba0dca - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x57f0c0ba0dca - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x57f0c0ba0dca - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x57f0c0ba0dca - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x57f0c0ba0dca - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x57f0c0b9c374 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x57f0c0b9c374 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x57f0c0ba38c2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x57f0c0ba38c2 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x57f0c0ba38c2 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x57f0c0ba38c2 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x57f0c0ba38c2 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x57f0c0ba38c2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x57f0c0ba38c2 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x57f0c0d9d9ff - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x57f0c0d9d9ff - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x755b0b310aa4 - <unknown>
[INFO] [stdout]   45:     0x755b0b39da64 - 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.25s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust_blockchain`
[INFO] running `Command { std: "docker" "inspect" "bd5534a0eba667cc75956e8c02df88587a5983a18b1a011a92f9a26a01045286", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd5534a0eba667cc75956e8c02df88587a5983a18b1a011a92f9a26a01045286", kill_on_drop: false }`
[INFO] [stdout] bd5534a0eba667cc75956e8c02df88587a5983a18b1a011a92f9a26a01045286
