[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#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChaitanya-exe%2Frust_blockchain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chaitanya-exe/rust_blockchain on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3929228a9cb7bd7e91e43886dcac8514642fe8f75d6518d5cf73151c4b4659fb [INFO] running `Command { std: "docker" "start" "-a" "3929228a9cb7bd7e91e43886dcac8514642fe8f75d6518d5cf73151c4b4659fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3929228a9cb7bd7e91e43886dcac8514642fe8f75d6518d5cf73151c4b4659fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3929228a9cb7bd7e91e43886dcac8514642fe8f75d6518d5cf73151c4b4659fb", kill_on_drop: false }` [INFO] [stdout] 3929228a9cb7bd7e91e43886dcac8514642fe8f75d6518d5cf73151c4b4659fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 288987e78205bd45ec07453692bcde5180b8c40fa9f4abffa06fc4d70ee1bc59 [INFO] running `Command { std: "docker" "start" "-a" "288987e78205bd45ec07453692bcde5180b8c40fa9f4abffa06fc4d70ee1bc59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [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 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 regex-automata v0.4.7 [INFO] [stderr] Compiling addr2line v0.22.0 [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 synstructure v0.12.6 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling env_logger v0.10.2 [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::("DATA"){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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)]` 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn find_unspent_transaction(&self, address: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn find_UTXO(&self, address: &str) -> Vec{ [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{ [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> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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 = 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{ [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.21s [INFO] running `Command { std: "docker" "inspect" "288987e78205bd45ec07453692bcde5180b8c40fa9f4abffa06fc4d70ee1bc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288987e78205bd45ec07453692bcde5180b8c40fa9f4abffa06fc4d70ee1bc59", kill_on_drop: false }` [INFO] [stdout] 288987e78205bd45ec07453692bcde5180b8c40fa9f4abffa06fc4d70ee1bc59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da89e5efeb14bc24e6df97652900a807fd408ffadf19e303affb68ac3a271c6d [INFO] running `Command { std: "docker" "start" "-a" "da89e5efeb14bc24e6df97652900a807fd408ffadf19e303affb68ac3a271c6d", 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)]` 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::("DATA"){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn find_unspent_transaction(&self, address: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn find_UTXO(&self, address: &str) -> Vec{ [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{ [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> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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 = 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{ [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "da89e5efeb14bc24e6df97652900a807fd408ffadf19e303affb68ac3a271c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da89e5efeb14bc24e6df97652900a807fd408ffadf19e303affb68ac3a271c6d", kill_on_drop: false }` [INFO] [stdout] da89e5efeb14bc24e6df97652900a807fd408ffadf19e303affb68ac3a271c6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90ad7f52c5cccf58bb5922e6060f11fbdb1bfa588cf878324f19e316fba1f989 [INFO] running `Command { std: "docker" "start" "-a" "90ad7f52c5cccf58bb5922e6060f11fbdb1bfa588cf878324f19e316fba1f989", 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)]` 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::("DATA"){ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` 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 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn find_unspent_transaction(&self, address: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub fn find_UTXO(&self, address: &str) -> Vec{ [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{ [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] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] running 1 test [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> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` 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 = 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{ [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: `rust_blockchain` (bin "rust_blockchain" test) generated 13 warnings (run `cargo fix --bin "rust_blockchain" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_blockchain-ae76716d5d3f565a) [INFO] [stderr] error: test failed, to rerun pass `--bin rust_blockchain` [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' 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: >::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: >::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: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:2022: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}} [INFO] [stdout] at /opt/rustwide/workdir/src/blockchain.rs:152:24 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 10: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 11: test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 12: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 13: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 14: [INFO] [stdout] 15: clone [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b8330e3b0e2 - std::backtrace_rs::backtrace::libunwind::trace::h8d95625898284e7d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b8330e3b0e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h9eafd5c61303e492 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b8330e3b0e2 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b8330e3b0e2 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b8330e64853 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5b8330e64853 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5b8330e37493 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5b8330e3af32 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5b8330e3c58a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5b8330e3c379 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5b8330c6ddb7 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5b8330c6ddb7 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5b8330e3d073 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5b8330e3d073 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5b8330e3cd2a - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5b8330e3b5d9 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5b8330e3c9bd - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5b8330e629f0 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5b8330e62e96 - core::result::unwrap_failed::h1fd41ecb05679f50 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x5b8330b58cec - core::result::Result::unwrap::hcf72bcba7f499d4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x5b8330b58cec - rust_blockchain::blockchain::tests::test_add_block::h9da29394267084c5 [INFO] [stdout] at /opt/rustwide/workdir/src/blockchain.rs:153:21 [INFO] [stdout] 21: 0x5b8330b58c57 - rust_blockchain::blockchain::tests::test_add_block::{{closure}}::h1ab513feffee2bd9 [INFO] [stdout] at /opt/rustwide/workdir/src/blockchain.rs:152:24 [INFO] [stdout] 22: 0x5b8330b5a966 - core::ops::function::FnOnce::call_once::h2b15cb107f7cb790 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5b8330c7369b - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b8330c7369b - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 25: 0x5b8330c72755 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 26: 0x5b8330c72755 - as core::ops::function::FnOnce<()>>::call_once::h5d54c80bc199f62c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5b8330c72755 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x5b8330c72755 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x5b8330c72755 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5b8330c72755 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 31: 0x5b8330c72755 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 32: 0x5b8330c35744 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 33: 0x5b8330c35744 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5b8330c3927a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5b8330c3927a - as core::ops::function::FnOnce<()>>::call_once::h256d9472a72a8c66 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5b8330c3927a - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x5b8330c3927a - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x5b8330c3927a - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5b8330c3927a - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5b8330c3927a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd1dc5dd1edff0233 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5b8330e4073b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x5b8330e4073b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x5b8330e4073b - std::sys::pal::unix::thread::Thread::new::thread_start::hfbde3a90511cd82d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 44: 0x79426a677ac3 - [INFO] [stdout] 45: 0x79426a708a04 - clone [INFO] [stdout] 46: 0x0 - [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.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90ad7f52c5cccf58bb5922e6060f11fbdb1bfa588cf878324f19e316fba1f989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ad7f52c5cccf58bb5922e6060f11fbdb1bfa588cf878324f19e316fba1f989", kill_on_drop: false }` [INFO] [stdout] 90ad7f52c5cccf58bb5922e6060f11fbdb1bfa588cf878324f19e316fba1f989