[INFO] cloning repository https://github.com/AbhinavSandilya/Blochain_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbhinavSandilya/Blochain_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhinavSandilya%2FBlochain_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhinavSandilya%2FBlochain_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92f4a91c83b5b629e06e9d417f67037b6b53234e [INFO] building AbhinavSandilya/Blochain_in_rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhinavSandilya%2FBlochain_in_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AbhinavSandilya/Blochain_in_rust [INFO] finished tweaking git repo https://github.com/AbhinavSandilya/Blochain_in_rust [INFO] tweaked toml for git repo https://github.com/AbhinavSandilya/Blochain_in_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AbhinavSandilya/Blochain_in_rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AbhinavSandilya/Blochain_in_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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded clap v4.5.13 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded cc v1.1.7 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded clap_builder v4.5.13 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded object v0.36.2 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5b70ed8556f4ad6e12dc692a7b51bf49b7ee3c4c6c69f85ece41ef1aade8996 [INFO] running `Command { std: "docker" "start" "-a" "e5b70ed8556f4ad6e12dc692a7b51bf49b7ee3c4c6c69f85ece41ef1aade8996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5b70ed8556f4ad6e12dc692a7b51bf49b7ee3c4c6c69f85ece41ef1aade8996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b70ed8556f4ad6e12dc692a7b51bf49b7ee3c4c6c69f85ece41ef1aade8996", kill_on_drop: false }` [INFO] [stdout] e5b70ed8556f4ad6e12dc692a7b51bf49b7ee3c4c6c69f85ece41ef1aade8996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbfe76398b834d710ae0a180d1c7ed890f8b73c516ea29dd6b5cfe5b62192eca [INFO] running `Command { std: "docker" "start" "-a" "cbfe76398b834d710ae0a180d1c7ed890f8b73c516ea29dd6b5cfe5b62192eca", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling clap v4.5.13 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 serde v1.0.204 [INFO] [stderr] Compiling bitcoincash-addr v0.5.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling blockchain_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sled::transaction` [INFO] [stdout] --> src/blockchain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sled::transaction; [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: `bitcoincash_addr::Address` [INFO] [stdout] --> src/cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoincash_addr::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error` [INFO] [stdout] --> src/transaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::format_err` [INFO] [stdout] --> src/transaction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use failure::format_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled::transaction` [INFO] [stdout] --> src/transaction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sled::transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let mut ws = Wallets::new()?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blockchain` is never constructed [INFO] [stdout] --> src/block.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Blockchain{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 | pub fn iter(&self) -> BlockchainIter<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | 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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | 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:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | 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:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let unspent_TXs = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let unspent_TXs = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_UTXO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new_UTXO(from: &str, to: &str, amount: i32, bc: &Blockchain) -> Result { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_utxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "cbfe76398b834d710ae0a180d1c7ed890f8b73c516ea29dd6b5cfe5b62192eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfe76398b834d710ae0a180d1c7ed890f8b73c516ea29dd6b5cfe5b62192eca", kill_on_drop: false }` [INFO] [stdout] cbfe76398b834d710ae0a180d1c7ed890f8b73c516ea29dd6b5cfe5b62192eca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aefe336f7c5e5f817c3e20c82d2928dc8fe3ef2de341edda7f0469238d19afc0 [INFO] running `Command { std: "docker" "start" "-a" "aefe336f7c5e5f817c3e20c82d2928dc8fe3ef2de341edda7f0469238d19afc0", kill_on_drop: false }` [INFO] [stderr] Compiling blockchain_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sled::transaction` [INFO] [stdout] --> src/blockchain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sled::transaction; [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: `bitcoincash_addr::Address` [INFO] [stdout] --> src/cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoincash_addr::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error` [INFO] [stdout] --> src/transaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::format_err` [INFO] [stdout] --> src/transaction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use failure::format_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled::transaction` [INFO] [stdout] --> src/transaction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sled::transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let mut b = Blockchain::new().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let mut ws = Wallets::new()?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blockchain` is never constructed [INFO] [stdout] --> src/block.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Blockchain{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 | pub fn iter(&self) -> BlockchainIter<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | 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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | 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:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | 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:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let unspent_TXs = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspent_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let unspent_TXs = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_UTXO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new_UTXO(from: &str, to: &str, amount: i32, bc: &Blockchain) -> Result { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_utxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "aefe336f7c5e5f817c3e20c82d2928dc8fe3ef2de341edda7f0469238d19afc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aefe336f7c5e5f817c3e20c82d2928dc8fe3ef2de341edda7f0469238d19afc0", kill_on_drop: false }` [INFO] [stdout] aefe336f7c5e5f817c3e20c82d2928dc8fe3ef2de341edda7f0469238d19afc0