[INFO] cloning repository https://github.com/DrNapNap/blockchain-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DrNapNap/blockchain-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrNapNap%2Fblockchain-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrNapNap%2Fblockchain-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b05d95b791693bb7b4794eb57e98524422ec574
[INFO] building DrNapNap/blockchain-Rust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrNapNap%2Fblockchain-Rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DrNapNap/blockchain-Rust
[INFO] finished tweaking git repo https://github.com/DrNapNap/blockchain-Rust
[INFO] tweaked toml for git repo https://github.com/DrNapNap/blockchain-Rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DrNapNap/blockchain-Rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DrNapNap/blockchain-Rust 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c5261230a3a143c6a5762ccea9e0c796a19ea7a5f6568ce953bdac5b49789d9
[INFO] running `Command { std: "docker" "start" "-a" "6c5261230a3a143c6a5762ccea9e0c796a19ea7a5f6568ce953bdac5b49789d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c5261230a3a143c6a5762ccea9e0c796a19ea7a5f6568ce953bdac5b49789d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c5261230a3a143c6a5762ccea9e0c796a19ea7a5f6568ce953bdac5b49789d9", kill_on_drop: false }`
[INFO] [stdout] 6c5261230a3a143c6a5762ccea9e0c796a19ea7a5f6568ce953bdac5b49789d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 681f4ee6815840e3107108c66acc9a98021ca24b95e942d52c031bf15db6b78e
[INFO] running `Command { std: "docker" "start" "-a" "681f4ee6815840e3107108c66acc9a98021ca24b95e942d52c031bf15db6b78e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[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 typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling cc v1.1.0
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.70
[INFO] [stderr]    Compiling gimli v0.29.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling backtrace v0.3.73
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling object v0.36.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling clap_lex v0.7.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling addr2line v0.22.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling clap_builder v4.5.9
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling bitcoin_hashes v0.7.6
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap v4.5.9
[INFO] [stderr]    Compiling merkle-cbt v0.3.2
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling bitcoincash-addr v0.5.2
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling copenBlockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]  --> src/cli.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::wallets::{Wallet, Wallets};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/transaction.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::{Rng, RngCore};
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/wallets.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{Rng, RngCore};
[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: `failure::format_err`
[INFO] [stdout]  --> src/tx.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use failure::format_err;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/tx.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::transaction::{Transaction};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TXOutputs` is never constructed
[INFO] [stdout]   --> src/tx.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TXOutputs {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TXInput` is never constructed
[INFO] [stdout]   --> src/tx.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct TXInput {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TXOutput` is never constructed
[INFO] [stdout]   --> src/tx.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct TXOutput {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_unlock_output_with` is never used
[INFO] [stdout]   --> src/tx.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl TXInput {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 31 |     /// CanUnlockOutputWith checks whether the address initiated the transaction
[INFO] [stdout] 32 |     pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `can_be_unlock_with`, `lock`, and `new` are never used
[INFO] [stdout]   --> src/tx.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TXOutput {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 43 |     /// CanBeUnlockedWith checks if the output can be unlocked with the provided data
[INFO] [stdout] 44 |     pub fn can_be_unlock_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn lock(&mut self, address: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn new(value: i32, address: String) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/blockchain.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub fn iter(&self) -> BlockchainIterator {
[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] 92 |     pub fn iter(&self) -> BlockchainIterator<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn find_UTXO(&self) -> HashMap<String, TXOutputs> {
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 158 |     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:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |         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:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |             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:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |         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:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |         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:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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:133:26
[INFO] [stdout]     |
[INFO] [stdout] 133 |     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:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |             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:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |         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:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 |             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/wallets.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 | 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:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     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 1m 27s
[INFO] running `Command { std: "docker" "inspect" "681f4ee6815840e3107108c66acc9a98021ca24b95e942d52c031bf15db6b78e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "681f4ee6815840e3107108c66acc9a98021ca24b95e942d52c031bf15db6b78e", kill_on_drop: false }`
[INFO] [stdout] 681f4ee6815840e3107108c66acc9a98021ca24b95e942d52c031bf15db6b78e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 731653fed7093b3638abaa34537f17b68400a3a9e23ed7796548de648e523f0d
[INFO] running `Command { std: "docker" "start" "-a" "731653fed7093b3638abaa34537f17b68400a3a9e23ed7796548de648e523f0d", kill_on_drop: false }`
[INFO] [stderr]    Compiling copenBlockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]  --> src/cli.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::wallets::{Wallet, Wallets};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/transaction.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::{Rng, RngCore};
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/wallets.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{Rng, RngCore};
[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: `failure::format_err`
[INFO] [stdout]  --> src/tx.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use failure::format_err;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/tx.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::transaction::{Transaction};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TXOutputs` is never constructed
[INFO] [stdout]   --> src/tx.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TXOutputs {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TXInput` is never constructed
[INFO] [stdout]   --> src/tx.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct TXInput {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pubKey` should have a snake case name
[INFO] [stdout]   --> src/wallets.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn hash_pub_key(pubKey: &mut Vec<u8>) {
[INFO] [stdout]    |                     ^^^^^^ help: convert the identifier to snake case: `pub_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TXOutput` is never constructed
[INFO] [stdout]   --> src/tx.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct TXOutput {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_unlock_output_with` is never used
[INFO] [stdout]   --> src/tx.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl TXInput {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 31 |     /// CanUnlockOutputWith checks whether the address initiated the transaction
[INFO] [stdout] 32 |     pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `can_be_unlock_with`, `lock`, and `new` are never used
[INFO] [stdout]   --> src/tx.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TXOutput {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 43 |     /// CanBeUnlockedWith checks if the output can be unlocked with the provided data
[INFO] [stdout] 44 |     pub fn can_be_unlock_with(&self, unlocking_data: &[u8]) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn lock(&mut self, address: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn new(value: i32, address: String) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]   --> src/utxoset.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     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: method `new_UTXO` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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:133:26
[INFO] [stdout]     |
[INFO] [stdout] 133 |     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:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |             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:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |         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:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 |             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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/blockchain.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub fn iter(&self) -> BlockchainIterator {
[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] 92 |     pub fn iter(&self) -> BlockchainIterator<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_UTXO` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 |     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: method `get_prev_TXs` should have a snake case name
[INFO] [stdout]    --> src/blockchain.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 158 |     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:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |         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:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |             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:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |         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:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let prev_TXs = self.get_prev_TXs(tx)?;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `prev_txs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s
[INFO] running `Command { std: "docker" "inspect" "731653fed7093b3638abaa34537f17b68400a3a9e23ed7796548de648e523f0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "731653fed7093b3638abaa34537f17b68400a3a9e23ed7796548de648e523f0d", kill_on_drop: false }`
[INFO] [stdout] 731653fed7093b3638abaa34537f17b68400a3a9e23ed7796548de648e523f0d
