[INFO] cloning repository https://github.com/parit90/blockchain-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parit90/blockchain-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparit90%2Fblockchain-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparit90%2Fblockchain-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c758d3ffe4b636200f9f41925f6aa4bd29890bdc [INFO] checking parit90/blockchain-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparit90%2Fblockchain-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parit90/blockchain-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/parit90/blockchain-rs [INFO] finished tweaking git repo https://github.com/parit90/blockchain-rs [INFO] tweaked toml for git repo https://github.com/parit90/blockchain-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/parit90/blockchain-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.10.1 [INFO] [stderr] Downloaded serde_json v1.0.110 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1a73f979969b3f74b8e4a10bd644dbc99507607815a41f68d172bb7ff2a2cdb [INFO] running `Command { std: "docker" "start" "-a" "b1a73f979969b3f74b8e4a10bd644dbc99507607815a41f68d172bb7ff2a2cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1a73f979969b3f74b8e4a10bd644dbc99507607815a41f68d172bb7ff2a2cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a73f979969b3f74b8e4a10bd644dbc99507607815a41f68d172bb7ff2a2cdb", kill_on_drop: false }` [INFO] [stdout] b1a73f979969b3f74b8e4a10bd644dbc99507607815a41f68d172bb7ff2a2cdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6f2a7d04bacd8163b978a32f9cfae5f936c9c14f4cdfebc8d6c2c4e0e1f0df6 [INFO] running `Command { std: "docker" "start" "-a" "c6f2a7d04bacd8163b978a32f9cfae5f936c9c14f4cdfebc8d6c2c4e0e1f0df6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking clap v4.4.12 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [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 bc 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)]` 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: 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)]` 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: 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] = note: `#[warn(dead_code)]` on by default [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 { [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 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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> { [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 { [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) -> Result { [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, [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) { [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 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo` [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] = note: `#[warn(dead_code)]` on by default [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 { [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 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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> { [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 { [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) -> Result { [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, [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) { [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 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.62s [INFO] running `Command { std: "docker" "inspect" "c6f2a7d04bacd8163b978a32f9cfae5f936c9c14f4cdfebc8d6c2c4e0e1f0df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6f2a7d04bacd8163b978a32f9cfae5f936c9c14f4cdfebc8d6c2c4e0e1f0df6", kill_on_drop: false }` [INFO] [stdout] c6f2a7d04bacd8163b978a32f9cfae5f936c9c14f4cdfebc8d6c2c4e0e1f0df6