[INFO] cloning repository https://github.com/rockcoolsaint/mini-btc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rockcoolsaint/mini-btc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frockcoolsaint%2Fmini-btc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frockcoolsaint%2Fmini-btc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 73cb05f3703cdb19fea40774605af1a697dee5e8
[INFO] checking rockcoolsaint/mini-btc against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frockcoolsaint%2Fmini-btc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rockcoolsaint/mini-btc
[INFO] finished tweaking git repo https://github.com/rockcoolsaint/mini-btc
[INFO] tweaked toml for git repo https://github.com/rockcoolsaint/mini-btc written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rockcoolsaint/mini-btc on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rockcoolsaint/mini-btc 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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 merkle-cbt v0.3.2
[INFO] [stderr]   Downloaded bitcoincash-addr v0.5.2
[INFO] [stderr]   Downloaded rust-crypto v0.2.36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b507e3eb4b51dbdfe0031c54d19635926a8f7a796d045501ba7fc548768efa1b
[INFO] running `Command { std: "docker" "start" "-a" "b507e3eb4b51dbdfe0031c54d19635926a8f7a796d045501ba7fc548768efa1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b507e3eb4b51dbdfe0031c54d19635926a8f7a796d045501ba7fc548768efa1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b507e3eb4b51dbdfe0031c54d19635926a8f7a796d045501ba7fc548768efa1b", kill_on_drop: false }`
[INFO] [stdout] b507e3eb4b51dbdfe0031c54d19635926a8f7a796d045501ba7fc548768efa1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c029ecdb6327bbcff11d1135fccb147334dec22e612f18694df18729aec70ee6
[INFO] running `Command { std: "docker" "start" "-a" "c029ecdb6327bbcff11d1135fccb147334dec22e612f18694df18729aec70ee6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking anstyle-query v1.1.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking gimli v0.29.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling backtrace v0.3.73
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking object v0.36.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking clap_lex v0.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking clap_builder v4.5.7
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking bitcoin_hashes v0.7.6
[INFO] [stderr]     Checking addr2line v0.22.0
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]     Checking clap v4.5.7
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking merkle-cbt v0.3.2
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking bitcoincash-addr v0.5.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking bitcoin-clone v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TXOutput`
[INFO] [stdout]   --> src/blockchain.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::tx::{TXOutput, TXOutputs};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]   --> src/cli.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::wallets::{Wallet, Wallets};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Wallets`
[INFO] [stdout]   --> src/transaction.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::wallets::{Wallet, Wallets};
[INFO] [stdout]    |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain`
[INFO] [stdout]   --> src/transaction.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::blockchain::Blockchain;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/tx.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transaction::Transaction`
[INFO] [stdout]  --> src/tx.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TXOutput`
[INFO] [stdout]   --> src/blockchain.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::tx::{TXOutput, TXOutputs};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]   --> src/cli.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::wallets::{Wallet, Wallets};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Wallets`
[INFO] [stdout]   --> src/transaction.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::wallets::{Wallet, Wallets};
[INFO] [stdout]    |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain`
[INFO] [stdout]   --> src/transaction.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::blockchain::Blockchain;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/tx.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transaction::Transaction`
[INFO] [stdout]  --> src/tx.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 |     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:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | 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: methods `find_unspent_transactions` and `sign_transacton` are never used
[INFO] [stdout]    --> src/blockchain.rs:109:6
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Blockchain {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |   fn find_unspent_transactions(&self, address: &[u8]) -> Vec<Transaction> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |   pub fn sign_transacton(&self, tx: &mut Transaction, private_key: &[u8]) -> Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign` is never used
[INFO] [stdout]    --> src/transaction.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl Transaction {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |   pub fn sign(
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_unlock_output_with` is never used
[INFO] [stdout]   --> src/tx.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl TXInput {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 34 |   /// CanUnlockOutputWith checks whether the address initiated the transaction
[INFO] [stdout] 35 |   pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_be_unlock_with` is never used
[INFO] [stdout]   --> src/tx.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl TXOutput {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |   pub fn can_be_unlock_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |     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:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |     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:148:10
[INFO] [stdout]     |
[INFO] [stdout] 148 |   pub fn find_UTXO(&self) -> HashMap<String, TXOutputs> {
[INFO] [stdout]     |          ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 |   pub fn iter(&self) -> BlockchainIter {
[INFO] [stdout]     |               ^^^^^     -------------- the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 193 |   pub fn iter(&self) -> BlockchainIter<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:212:6
[INFO] [stdout]     |
[INFO] [stdout] 212 |   fn get_prev_TXs(&self, tx: &Transaction) -> Result<HashMap<String, Transaction>> {
[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:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let mut prev_TXs = HashMap::new();
[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/blockchain.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let prev_TX = self.find_transacton(&vin.txid)?;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `prev_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     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:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |     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 `new_UTXO` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub fn new_UTXO(wallet: &Wallet, to: &str, amount: i32, utxo: &UTXOSet) -> Result<Transaction> {
[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:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |   pub fn verify(&self, prev_TXs: HashMap<String, Transaction>) -> Result<bool> {
[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:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |           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] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     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_Tx` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let prev_Tx = prev_TXs.get(&tx_copy.vin[in_id].txid).unwrap();
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `prev_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pubKey` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:206:21
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn hash_pub_key(pubKey: &mut Vec<u8>) {
[INFO] [stdout]     |                     ^^^^^^ help: convert the identifier to snake case: `pub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pubKey` should have a snake case name
[INFO] [stdout]   --> src/wallets.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn hash_pub_key(pubKey: &mut Vec<u8>) {
[INFO] [stdout]    |                     ^^^^^^ help: convert the identifier to snake case: `pub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]   --> src/utxoset.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn find_UTXO(&self, pub_key_hash: &[u8]) -> Result<TXOutputs> {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TARGET_HEXT` is never used
[INFO] [stdout]   --> src/blockchain.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | 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: methods `find_unspent_transactions` and `sign_transacton` are never used
[INFO] [stdout]    --> src/blockchain.rs:109:6
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Blockchain {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |   fn find_unspent_transactions(&self, address: &[u8]) -> Vec<Transaction> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |   pub fn sign_transacton(&self, tx: &mut Transaction, private_key: &[u8]) -> Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign` is never used
[INFO] [stdout]    --> src/transaction.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl Transaction {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |   pub fn sign(
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_unlock_output_with` is never used
[INFO] [stdout]   --> src/tx.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl TXInput {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 34 |   /// CanUnlockOutputWith checks whether the address initiated the transaction
[INFO] [stdout] 35 |   pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_be_unlock_with` is never used
[INFO] [stdout]   --> src/tx.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl TXOutput {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |   pub fn can_be_unlock_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |     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:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |     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:148:10
[INFO] [stdout]     |
[INFO] [stdout] 148 |   pub fn find_UTXO(&self) -> HashMap<String, TXOutputs> {
[INFO] [stdout]     |          ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 |   pub fn iter(&self) -> BlockchainIter {
[INFO] [stdout]     |               ^^^^^     -------------- the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 193 |   pub fn iter(&self) -> BlockchainIter<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:212:6
[INFO] [stdout]     |
[INFO] [stdout] 212 |   fn get_prev_TXs(&self, tx: &Transaction) -> Result<HashMap<String, Transaction>> {
[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:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let mut prev_TXs = HashMap::new();
[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/blockchain.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let prev_TX = self.find_transacton(&vin.txid)?;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `prev_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     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:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |     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 `new_UTXO` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub fn new_UTXO(wallet: &Wallet, to: &str, amount: i32, utxo: &UTXOSet) -> Result<Transaction> {
[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:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |   pub fn verify(&self, prev_TXs: HashMap<String, Transaction>) -> Result<bool> {
[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:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |           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] [stdout] warning: variable `prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     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_Tx` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let prev_Tx = prev_TXs.get(&tx_copy.vin[in_id].txid).unwrap();
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `prev_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pubKey` should have a snake case name
[INFO] [stdout]    --> src/transaction.rs:206:21
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn hash_pub_key(pubKey: &mut Vec<u8>) {
[INFO] [stdout]     |                     ^^^^^^ help: convert the identifier to snake case: `pub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pubKey` should have a snake case name
[INFO] [stdout]   --> src/wallets.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn hash_pub_key(pubKey: &mut Vec<u8>) {
[INFO] [stdout]    |                     ^^^^^^ help: convert the identifier to snake case: `pub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]   --> src/utxoset.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn find_UTXO(&self, pub_key_hash: &[u8]) -> Result<TXOutputs> {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.31s
[INFO] running `Command { std: "docker" "inspect" "c029ecdb6327bbcff11d1135fccb147334dec22e612f18694df18729aec70ee6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c029ecdb6327bbcff11d1135fccb147334dec22e612f18694df18729aec70ee6", kill_on_drop: false }`
[INFO] [stdout] c029ecdb6327bbcff11d1135fccb147334dec22e612f18694df18729aec70ee6
