[INFO] cloning repository https://github.com/Evans-tats/blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Evans-tats/blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvans-tats%2Fblockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvans-tats%2Fblockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4395d1f9804a817fd340db1a007f63e2863697b1 [INFO] building Evans-tats/blockchain against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvans-tats%2Fblockchain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Evans-tats/blockchain [INFO] finished tweaking git repo https://github.com/Evans-tats/blockchain [INFO] tweaked toml for git repo https://github.com/Evans-tats/blockchain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Evans-tats/blockchain 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/Evans-tats/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded serde_derive v1.0.195 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded clap_lex v0.6.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded clap v4.4.18 [INFO] [stderr] Downloaded backtrace v0.3.69 [INFO] [stderr] Downloaded memchr v2.7.1 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded serde_json v1.0.111 [INFO] [stderr] Downloaded clap_builder v4.4.18 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] [stderr] Downloaded aho-corasick v1.1.2 [INFO] [stderr] Downloaded regex v1.10.3 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded serde v1.0.195 [INFO] [stderr] Downloaded env_logger v0.11.0 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded ryu v1.0.16 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.0 [INFO] [stderr] Downloaded windows-targets v0.52.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded anstyle v1.0.4 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded regex-automata v0.4.4 [INFO] [stderr] Downloaded itoa v1.0.10 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.0 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 34d68e27169ddb713e10be8c1e6bd989799f2bf39292544a0c4f2f4f1da8e8a0 [INFO] running `Command { std: "docker" "start" "-a" "34d68e27169ddb713e10be8c1e6bd989799f2bf39292544a0c4f2f4f1da8e8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34d68e27169ddb713e10be8c1e6bd989799f2bf39292544a0c4f2f4f1da8e8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34d68e27169ddb713e10be8c1e6bd989799f2bf39292544a0c4f2f4f1da8e8a0", kill_on_drop: false }` [INFO] [stdout] 34d68e27169ddb713e10be8c1e6bd989799f2bf39292544a0c4f2f4f1da8e8a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 197d25b7dfcaca337d9f8e2b0d7a51ee63d4e582cb359c30311f04caebba2ba2 [INFO] running `Command { std: "docker" "start" "-a" "197d25b7dfcaca337d9f8e2b0d7a51ee63d4e582cb359c30311f04caebba2ba2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling bitcoincash-addr v0.5.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling block v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/blocks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::blockchain::Blockchain; [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: `rand::seq::index` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::seq::index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled::Db` [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled::Db; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Matches` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoincash_addr::Address` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoincash_addr::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error` [INFO] [stdout] --> src/transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | 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_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut unspent_TXOs: Vec= Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_UTXO` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `unspend_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | 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:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let unspend_TXs: Vec = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | 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] 135 | pub fn iter(&self) ->BlockchainIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_UTXO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | 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 19s [INFO] running `Command { std: "docker" "inspect" "197d25b7dfcaca337d9f8e2b0d7a51ee63d4e582cb359c30311f04caebba2ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197d25b7dfcaca337d9f8e2b0d7a51ee63d4e582cb359c30311f04caebba2ba2", kill_on_drop: false }` [INFO] [stdout] 197d25b7dfcaca337d9f8e2b0d7a51ee63d4e582cb359c30311f04caebba2ba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9bae34cf7ff6ee040546d88679f33e4c9ee21fa29e395afec1ee3f835b3861dd [INFO] running `Command { std: "docker" "start" "-a" "9bae34cf7ff6ee040546d88679f33e4c9ee21fa29e395afec1ee3f835b3861dd", kill_on_drop: false }` [INFO] [stderr] Compiling block v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/blocks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::blockchain::Blockchain; [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: `rand::seq::index` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::seq::index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled::Db` [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled::Db; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Matches` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoincash_addr::Address` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoincash_addr::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error` [INFO] [stdout] --> src/transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `spent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | 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_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut unspent_TXOs: Vec= Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_UTXO` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `unspend_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | 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:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let unspend_TXs: Vec = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | 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] 135 | pub fn iter(&self) ->BlockchainIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_UTXO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | 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 0.60s [INFO] running `Command { std: "docker" "inspect" "9bae34cf7ff6ee040546d88679f33e4c9ee21fa29e395afec1ee3f835b3861dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bae34cf7ff6ee040546d88679f33e4c9ee21fa29e395afec1ee3f835b3861dd", kill_on_drop: false }` [INFO] [stdout] 9bae34cf7ff6ee040546d88679f33e4c9ee21fa29e395afec1ee3f835b3861dd