[INFO] cloning repository https://github.com/ArabMohammed/postquantum-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArabMohammed/postquantum-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArabMohammed%2Fpostquantum-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArabMohammed%2Fpostquantum-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3a81a3d8c388f0ea2b81cc5512d648ecf1a46e64
[INFO] building ArabMohammed/postquantum-blockchain against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArabMohammed%2Fpostquantum-blockchain" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ArabMohammed/postquantum-blockchain on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ArabMohammed/postquantum-blockchain
[INFO] finished tweaking git repo https://github.com/ArabMohammed/postquantum-blockchain
[INFO] tweaked toml for git repo https://github.com/ArabMohammed/postquantum-blockchain written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ArabMohammed/postquantum-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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d1af10a868a574f9a7d0cca1d1d0f2e023d61f9f726421ace6176bb6c25d2e0c
[INFO] running `Command { std: "docker" "start" "-a" "d1af10a868a574f9a7d0cca1d1d0f2e023d61f9f726421ace6176bb6c25d2e0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1af10a868a574f9a7d0cca1d1d0f2e023d61f9f726421ace6176bb6c25d2e0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1af10a868a574f9a7d0cca1d1d0f2e023d61f9f726421ace6176bb6c25d2e0c", kill_on_drop: false }`
[INFO] [stdout] d1af10a868a574f9a7d0cca1d1d0f2e023d61f9f726421ace6176bb6c25d2e0c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfd0723f120aa1dfa1b35cda36f3b90565ed5fbc0454e55833dd70c76224f7da
[INFO] running `Command { std: "docker" "start" "-a" "dfd0723f120aa1dfa1b35cda36f3b90565ed5fbc0454e55833dd70c76224f7da", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling syn v2.0.95
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling miniz_oxide v0.8.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling clap_builder v4.5.23
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling bitcoin_hashes v0.7.6
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling merkle-cbt v0.3.2
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling bitcoincash-addr v0.5.2
[INFO] [stderr]    Compiling blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/blockchain.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/blockchain.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info,debug};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Error`
[INFO] [stdout]  --> src/cli.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bincode::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `block::Block`
[INFO] [stdout]  --> src/cli.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{block::Block, blockchain::*, transaction::Transaction, wallet::Wallets};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sled::transaction`
[INFO] [stdout]  --> src/transaction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sled::transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]  --> src/transaction.rs:6:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{blockchain::Blockchain, tx::{self, TXInput, TXOutput}, wallet::{self, hash_pub_key, Wallets}};
[INFO] [stdout]   |                                          ^^^^                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/wallet.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Error`
[INFO] [stdout]  --> src/wallet.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bincode::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TARGET_HEXT` is never used
[INFO] [stdout]  --> src/blockchain.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const TARGET_HEXT: usize = 4; 
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `verify_transaction` is never used
[INFO] [stdout]    --> src/blockchain.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 19  | impl Blockchain {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn verify_transaction(&self,tx:&mut Transaction) -> Result<bool,Box<dyn std::error::Error>>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_id` and `verify` are never used
[INFO] [stdout]    --> src/transaction.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 20  | impl Transaction {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn set_id(&mut self)-> Result<(),Box<dyn std::error::Error>>{
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn verify(&mut self, prev_TXs : HashMap<String,Transaction>)-> Result<bool,Box<dyn std::error::Error>>{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UTXOSet` is never constructed
[INFO] [stdout]  --> src/utxoset.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct UTXOSet {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |         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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut unspend_TXs : Vec<Transaction> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn find_UTXO(&self, address :&[u8]) -> Vec<TXOutput>{
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let unspend_TXs = self.find_unspent_transactions(address);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let unspend_TXs = self.find_unspent_transactions(address);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let prev_TXs = self.get_prev_TXs(tx)?;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let prev_TXs = self.get_prev_TXs(tx)?;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn get_prev_TXs(&self,tx : &Transaction) -> Result<HashMap<String,Transaction>,Box<dyn std::error::Error>>{
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let mut prev_TXs = HashMap::new();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new_UTXO` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new_UTXO(from : &str, to : &str, amount : i32 , bc: &Blockchain) -> Result<Transaction,Box<dyn std::error::Error>>{
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `new_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:117:49
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub fn sign(&mut self, private_key : &[u8], prev_TXs : HashMap<String,Transaction>,
[INFO] [stdout]     |                                                 ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:141:30
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn verify(&mut self, prev_TXs : HashMap<String,Transaction>)-> Result<bool,Box<dyn std::error::Error>>{
[INFO] [stdout]     |                              ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_Tx` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let prev_Tx = prev_TXs.get(&self.vin[in_id].txid).unwrap();
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `prev_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "dfd0723f120aa1dfa1b35cda36f3b90565ed5fbc0454e55833dd70c76224f7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfd0723f120aa1dfa1b35cda36f3b90565ed5fbc0454e55833dd70c76224f7da", kill_on_drop: false }`
[INFO] [stdout] dfd0723f120aa1dfa1b35cda36f3b90565ed5fbc0454e55833dd70c76224f7da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ea984b53b9226c88daf430cab3660035cf7202b9e61bfabdb941f75901c6cde
[INFO] running `Command { std: "docker" "start" "-a" "2ea984b53b9226c88daf430cab3660035cf7202b9e61bfabdb941f75901c6cde", kill_on_drop: false }`
[INFO] [stderr]    Compiling blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/blockchain.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/blockchain.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info,debug};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Error`
[INFO] [stdout]  --> src/cli.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bincode::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `block::Block`
[INFO] [stdout]  --> src/cli.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{block::Block, blockchain::*, transaction::Transaction, wallet::Wallets};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sled::transaction`
[INFO] [stdout]  --> src/transaction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sled::transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]  --> src/transaction.rs:6:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{blockchain::Blockchain, tx::{self, TXInput, TXOutput}, wallet::{self, hash_pub_key, Wallets}};
[INFO] [stdout]   |                                          ^^^^                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/wallet.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Error`
[INFO] [stdout]  --> src/wallet.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bincode::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 |         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: constant `TARGET_HEXT` is never used
[INFO] [stdout]  --> src/blockchain.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const TARGET_HEXT: usize = 4; 
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `verify_transaction` is never used
[INFO] [stdout]    --> src/blockchain.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 19  | impl Blockchain {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn verify_transaction(&self,tx:&mut Transaction) -> Result<bool,Box<dyn std::error::Error>>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_id` and `verify` are never used
[INFO] [stdout]    --> src/transaction.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 20  | impl Transaction {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn set_id(&mut self)-> Result<(),Box<dyn std::error::Error>>{
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn verify(&mut self, prev_TXs : HashMap<String,Transaction>)-> Result<bool,Box<dyn std::error::Error>>{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UTXOSet` is never constructed
[INFO] [stdout]  --> src/utxoset.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct UTXOSet {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |         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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut unspend_TXs : Vec<Transaction> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn find_UTXO(&self, address :&[u8]) -> Vec<TXOutput>{
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let unspend_TXs = self.find_unspent_transactions(address);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let unspend_TXs = self.find_unspent_transactions(address);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let prev_TXs = self.get_prev_TXs(tx)?;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let prev_TXs = self.get_prev_TXs(tx)?;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn get_prev_TXs(&self,tx : &Transaction) -> Result<HashMap<String,Transaction>,Box<dyn std::error::Error>>{
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let mut prev_TXs = HashMap::new();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new_UTXO` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new_UTXO(from : &str, to : &str, amount : i32 , bc: &Blockchain) -> Result<Transaction,Box<dyn std::error::Error>>{
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `new_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:117:49
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub fn sign(&mut self, private_key : &[u8], prev_TXs : HashMap<String,Transaction>,
[INFO] [stdout]     |                                                 ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:141:30
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn verify(&mut self, prev_TXs : HashMap<String,Transaction>)-> Result<bool,Box<dyn std::error::Error>>{
[INFO] [stdout]     |                              ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_Tx` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let prev_Tx = prev_TXs.get(&self.vin[in_id].txid).unwrap();
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `prev_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s
[INFO] running `Command { std: "docker" "inspect" "2ea984b53b9226c88daf430cab3660035cf7202b9e61bfabdb941f75901c6cde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ea984b53b9226c88daf430cab3660035cf7202b9e61bfabdb941f75901c6cde", kill_on_drop: false }`
[INFO] [stdout] 2ea984b53b9226c88daf430cab3660035cf7202b9e61bfabdb941f75901c6cde
