[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#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chaitanya-exe/rust_blockchain on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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-tc1/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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.2.16 [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded fxhash v0.2.1 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded anstyle-parse v0.2.5 [INFO] [stderr] Downloaded colorchoice v1.0.2 [INFO] [stderr] Downloaded cpufeatures v0.2.13 [INFO] [stderr] Downloaded anstyle-wincon v3.0.4 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded bincode v1.3.3 [INFO] [stderr] Downloaded anstream v0.6.15 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded serde v1.0.209 [INFO] [stderr] Downloaded serde_derive v1.0.209 [INFO] [stderr] Downloaded clap v4.5.16 [INFO] [stderr] Downloaded clap_builder v4.5.15 [INFO] [stderr] Downloaded serde_json v1.0.127 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded syn v2.0.77 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded object v0.36.4 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded anstyle-query v1.1.1 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded unicode-xid v0.2.5 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded libc v0.2.158 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cca9d422b38490dfd0060c7a4f93f7fc90bbb6331e1587ff8582285c31643302 [INFO] running `Command { std: "docker" "start" "-a" "cca9d422b38490dfd0060c7a4f93f7fc90bbb6331e1587ff8582285c31643302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cca9d422b38490dfd0060c7a4f93f7fc90bbb6331e1587ff8582285c31643302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca9d422b38490dfd0060c7a4f93f7fc90bbb6331e1587ff8582285c31643302", kill_on_drop: false }` [INFO] [stdout] cca9d422b38490dfd0060c7a4f93f7fc90bbb6331e1587ff8582285c31643302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb8d763c30e87ae9b4d4d051df76494728d386a6656ac509c390d98178f7ec9c [INFO] running `Command { std: "docker" "start" "-a" "cb8d763c30e87ae9b4d4d051df76494728d386a6656ac509c390d98178f7ec9c", 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 syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling log v0.4.22 [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 clap_builder v4.5.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling humantime v2.1.0 [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 backtrace v0.3.73 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling sha2 v0.10.8 [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 synstructure v0.12.6 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitcoincash-addr v0.5.2 [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 16.54s [INFO] running `Command { std: "docker" "inspect" "cb8d763c30e87ae9b4d4d051df76494728d386a6656ac509c390d98178f7ec9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8d763c30e87ae9b4d4d051df76494728d386a6656ac509c390d98178f7ec9c", kill_on_drop: false }` [INFO] [stdout] cb8d763c30e87ae9b4d4d051df76494728d386a6656ac509c390d98178f7ec9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6572d4452faab12d03949ebbef02953ab3aa90d8dfe5b373d53f6b95df51a3a [INFO] running `Command { std: "docker" "start" "-a" "b6572d4452faab12d03949ebbef02953ab3aa90d8dfe5b373d53f6b95df51a3a", 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.60s [INFO] running `Command { std: "docker" "inspect" "b6572d4452faab12d03949ebbef02953ab3aa90d8dfe5b373d53f6b95df51a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6572d4452faab12d03949ebbef02953ab3aa90d8dfe5b373d53f6b95df51a3a", kill_on_drop: false }` [INFO] [stdout] b6572d4452faab12d03949ebbef02953ab3aa90d8dfe5b373d53f6b95df51a3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1fddf27472fd6dfe1a8c79095b6ea2824812a5def78f4c536284d1d1a31e826 [INFO] running `Command { std: "docker" "start" "-a" "d1fddf27472fd6dfe1a8c79095b6ea2824812a5def78f4c536284d1d1a31e826", 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] [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> = 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.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_blockchain-ae76716d5d3f565a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test blockchain::tests::test_add_block ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- blockchain::tests::test_add_block stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'blockchain::tests::test_add_block' 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/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/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/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:638:18 [INFO] [stdout] 10: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:60 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:27 [INFO] [stdout] test::run_test::{{closure}} [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:582:43 [INFO] [stdout] 11: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:612:41 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 12: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 13: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/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: 0x5e908ec3e802 - std::backtrace_rs::backtrace::libunwind::trace::hf010e1dbae51cb72 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e908ec3e802 - std::backtrace_rs::backtrace::trace_unsynchronized::hfea1b1ce70c8ef04 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e908ec3e802 - std::sys::backtrace::_print_fmt::h2997a50d2484a6a6 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e908ec3e802 - ::fmt::h7fb80f6afbe41a33 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e908ec67f73 - core::fmt::rt::Argument::fmt::hd3a68c3e7e846625 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5e908ec67f73 - core::fmt::write::h000527be0eea6fe8 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5e908ec3abb3 - std::io::Write::write_fmt::h5402e677befea770 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5e908ec3e652 - std::sys::backtrace::BacktraceLock::print::hffad87dde00cbe3e [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5e908ec3fcaa - std::panicking::default_hook::{{closure}}::ha46397973bec1239 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5e908ec3fa99 - std::panicking::default_hook::h706de72a1550eed4 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5e908ea727f7 - as core::ops::function::Fn>::call::hde091e5c6e92bb68 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5e908ea727f7 - test::test_main::{{closure}}::h769424ff54c41197 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5e908ec40793 - as core::ops::function::Fn>::call::hbd7480c9dddf3315 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5e908ec40793 - std::panicking::rust_panic_with_hook::h6666776865bd21f5 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5e908ec4044a - std::panicking::begin_panic_handler::{{closure}}::hb8595612365d24db [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5e908ec3ecf9 - std::sys::backtrace::__rust_end_short_backtrace::h7037f177c7ae4ed3 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5e908ec400dd - rust_begin_unwind [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5e908ec66110 - core::panicking::panic_fmt::hd26142fa9828e2a3 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5e908ec665b6 - core::result::unwrap_failed::hfccce26cc7701817 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x5e908e95d75c - core::result::Result::unwrap::h6bec219b6fa32add [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x5e908e95d75c - rust_blockchain::blockchain::tests::test_add_block::h8eeb5d7f197358cb [INFO] [stdout] at /opt/rustwide/workdir/src/blockchain.rs:153:21 [INFO] [stdout] 21: 0x5e908e95d6c7 - rust_blockchain::blockchain::tests::test_add_block::{{closure}}::hfde6a66946c13764 [INFO] [stdout] at /opt/rustwide/workdir/src/blockchain.rs:152:24 [INFO] [stdout] 22: 0x5e908e95f426 - core::ops::function::FnOnce::call_once::h824996e31b78e965 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5e908ea780fb - core::ops::function::FnOnce::call_once::h537cb3ba0681a85d [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5e908ea780fb - test::__rust_begin_short_backtrace::ha34590b284b8a909 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:638:18 [INFO] [stdout] 25: 0x5e908ea77195 - test::run_test_in_process::{{closure}}::h7e5cb0195a5ea6a6 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:60 [INFO] [stdout] 26: 0x5e908ea77195 - as core::ops::function::FnOnce<()>>::call_once::h4fd7826f39023efe [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5e908ea77195 - std::panicking::try::do_call::h840562177f324507 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x5e908ea77195 - std::panicking::try::h2360ed2f8f8e7bd8 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x5e908ea77195 - std::panic::catch_unwind::h98cd8da2f8eb8f7b [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5e908ea77195 - test::run_test_in_process::hcd6b1143eaf140ef [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:27 [INFO] [stdout] 31: 0x5e908ea77195 - test::run_test::{{closure}}::h12da0337272887dc [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:582:43 [INFO] [stdout] 32: 0x5e908ea3a184 - test::run_test::{{closure}}::h11d537cad5364bdc [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:612:41 [INFO] [stdout] 33: 0x5e908ea3a184 - std::sys::backtrace::__rust_begin_short_backtrace::h5f533949825eb644 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5e908ea3dbea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf8cffede9b676267 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5e908ea3dbea - as core::ops::function::FnOnce<()>>::call_once::h3160424131f9b05b [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5e908ea3dbea - std::panicking::try::do_call::h4821f856f783960c [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x5e908ea3dbea - std::panicking::try::hd6726363e8162e27 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x5e908ea3dbea - std::panic::catch_unwind::hb75a27d7bd2912cb [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5e908ea3dbea - std::thread::Builder::spawn_unchecked_::{{closure}}::h36d5666a81748b85 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5e908ea3dbea - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha3d6556f1deabcaf [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5e908ec43e5b - as core::ops::function::FnOnce>::call_once::h454485597884df01 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x5e908ec43e5b - as core::ops::function::FnOnce>::call_once::h421b8b5dc09cf3b4 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x5e908ec43e5b - std::sys::pal::unix::thread::Thread::new::thread_start::ha1530b93ff336c49 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 44: 0x7e27d43b7ac3 - [INFO] [stdout] 45: 0x7e27d4448a04 - 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] [stderr] error: test failed, to rerun pass `--bin rust_blockchain` [INFO] running `Command { std: "docker" "inspect" "d1fddf27472fd6dfe1a8c79095b6ea2824812a5def78f4c536284d1d1a31e826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1fddf27472fd6dfe1a8c79095b6ea2824812a5def78f4c536284d1d1a31e826", kill_on_drop: false }` [INFO] [stdout] d1fddf27472fd6dfe1a8c79095b6ea2824812a5def78f4c536284d1d1a31e826