[INFO] cloning repository https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denny1997/Bitcoin-client-with-Prism-1.0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenny1997%2FBitcoin-client-with-Prism-1.0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenny1997%2FBitcoin-client-with-Prism-1.0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 757cc0ca91a4d6e83d011df90227e6b86ed495d0 [INFO] checking denny1997/Bitcoin-client-with-Prism-1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenny1997%2FBitcoin-client-with-Prism-1.0" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 [INFO] finished tweaking git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 [INFO] tweaked toml for git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec4ed7573e302e3e089f474a6fea3bef40842a88909601620878bc06e86a9a54 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec4ed7573e302e3e089f474a6fea3bef40842a88909601620878bc06e86a9a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec4ed7573e302e3e089f474a6fea3bef40842a88909601620878bc06e86a9a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec4ed7573e302e3e089f474a6fea3bef40842a88909601620878bc06e86a9a54", kill_on_drop: false }` [INFO] [stdout] ec4ed7573e302e3e089f474a6fea3bef40842a88909601620878bc06e86a9a54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54151b42caedc8c29519911048ba01c0e319252b0bfea723089c5b2c7b9d58c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "54151b42caedc8c29519911048ba01c0e319252b0bfea723089c5b2c7b9d58c4", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/block.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::{Transaction, SignedTransaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/block.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MerkleTree` [INFO] [stdout] --> src/block.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::crypto::merkle::{MerkleTree}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `State`, `verify` [INFO] [stdout] --> src/miner.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::transaction::{verify,Mempool,TxBlockMempool,State,StatePerBlock}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/miner.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/network/worker.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ed25519KeyPair`, `Signature` [INFO] [stdout] --> src/network/worker.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use ring::signature::{Signature, KeyPair, Ed25519KeyPair}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/network/worker.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transaction::{verify,Mempool,TxBlockMempool,State,StatePerBlock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/network/worker.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | ... if (transaction_content.value <= 1000){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::peer` [INFO] [stdout] --> src/network/generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::peer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::channel` [INFO] [stdout] --> src/network/generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crossbeam::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/network/generator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, warn, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/network/generator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/network/generator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/network/generator.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::crypto::hash::{Hashable,H256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/network/generator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> src/network/generator.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use ring::signature::{Signature, KeyPair, Ed25519KeyPair}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verify` [INFO] [stdout] --> src/network/generator.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transaction::{verify,sign,Mempool,Transaction,SignedTransaction,State}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::crypto::key_pair` [INFO] [stdout] --> src/network/generator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::crypto::key_pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdDSAParameters` [INFO] [stdout] --> src/transaction.rs:2:82 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm, EdDSAParameters}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/transaction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H256`, `Hashable` [INFO] [stdout] --> src/main.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::crypto::hash::{Hashable,H256}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/block.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::{Transaction, SignedTransaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `State`, `verify` [INFO] [stdout] --> src/miner.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::transaction::{verify,Mempool,TxBlockMempool,State,StatePerBlock}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/miner.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/network/worker.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ed25519KeyPair`, `Signature` [INFO] [stdout] --> src/network/worker.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use ring::signature::{Signature, KeyPair, Ed25519KeyPair}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/network/worker.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transaction::{verify,Mempool,TxBlockMempool,State,StatePerBlock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/network/worker.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | ... if (transaction_content.value <= 1000){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::peer` [INFO] [stdout] --> src/network/generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::peer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::channel` [INFO] [stdout] --> src/network/generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crossbeam::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/network/generator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, warn, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/network/generator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/network/generator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/network/generator.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::crypto::hash::{Hashable,H256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/network/generator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> src/network/generator.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use ring::signature::{Signature, KeyPair, Ed25519KeyPair}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verify` [INFO] [stdout] --> src/network/generator.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transaction::{verify,sign,Mempool,Transaction,SignedTransaction,State}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::crypto::key_pair` [INFO] [stdout] --> src/network/generator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::crypto::key_pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdDSAParameters` [INFO] [stdout] --> src/transaction.rs:2:82 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm, EdDSAParameters}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H256`, `Hashable` [INFO] [stdout] --> src/main.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::crypto::hash::{Hashable,H256}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `block::Header` has no field named `difficulty` [INFO] [stdout] --> src/block.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | let header:Header = Header{parent:*parent,nonce:n1,difficulty:*parent,timestamp:n2,merkle_root:merkle_root}; [INFO] [stdout] | ^^^^^^^^^^ `block::Header` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parent`, `nonce`, `difficultyForPr`, `difficultyForTx`, `timestamp`, `merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `txPointer` in initializer of `block::Block` [INFO] [stdout] --> src/block.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let block: Block = Block{header: header, content: content}; [INFO] [stdout] | ^^^^^ missing `txPointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/network/worker.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 221 | ... break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 222 | ... println!("ooooooooops, something is not good!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/network/worker.rs:339:61 [INFO] [stdout] | [INFO] [stdout] 338 | ... break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 339 | ... println!("ooooooooops, something is not good!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/network/worker.rs:432:65 [INFO] [stdout] | [INFO] [stdout] 431 | ... break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 432 | ... println!("ooooooooops, something is not good!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> src/network/worker.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use ring::signature::{Signature, KeyPair, Ed25519KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> src/transaction.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm, EdDSAParameters}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerificationAlgorithm` [INFO] [stdout] --> src/transaction.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm, EdDSAParameters}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `append_length` is never read [INFO] [stdout] --> src/crypto/merkle.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut append_length = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree_root` [INFO] [stdout] --> src/crypto/merkle.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let tree_root = temp[temp.len()-1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `append_length` is never read [INFO] [stdout] --> src/crypto/merkle.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let mut append_length = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree_root` [INFO] [stdout] --> src/crypto/merkle.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let tree_root = temp[temp.len()-1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/miner.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | ... let signature = &signedTransaction.signature; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/miner.rs:353:33 [INFO] [stdout] | [INFO] [stdout] 353 | ... let signature = &signedTransaction.signature; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipientKeyPair` [INFO] [stdout] --> src/network/generator.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let recipientKeyPair = &key_set[&recipientIdx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipientKeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `currentBalance` is never read [INFO] [stdout] --> src/network/generator.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut currentBalance:u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nonce` is never read [INFO] [stdout] --> src/network/generator.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let mut nonce:u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/network/generator.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut value = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut blockchain = Arc::new(Mutex::new(temp_blockchain.clone())); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut mempool = Arc::new(Mutex::new(Mempool::new())); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut txBlockmempool = Arc::new(Mutex::new(TxBlockMempool::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut txBlockOrderedList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut state = Arc::new(Mutex::new(temp_state.clone())); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut spb = Arc::new(Mutex::new(StatePerBlock::new(temp_blockchain.genesis, temp_state))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut key_set = Arc::new(Mutex::new(key_hashtable)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut new_Hashmap = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/network/worker.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 221 | ... break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 222 | ... println!("ooooooooops, something is not good!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/network/worker.rs:339:61 [INFO] [stdout] | [INFO] [stdout] 338 | ... break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 339 | ... println!("ooooooooops, something is not good!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/network/worker.rs:432:65 [INFO] [stdout] | [INFO] [stdout] 431 | ... break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 432 | ... println!("ooooooooops, something is not good!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ... let mut difficultyForPr: [u8; 32] = [0,1,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,25... [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ... let mut difficultyForTx: [u8; 32] = [0,16,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,2... [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/miner.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut orderList = spb.spb[&parent].txBlockOrderedList.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `transaction::Transaction` has no field named `transaction` [INFO] [stdout] --> src/transaction.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | Transaction{transaction: n1} [INFO] [stdout] | ^^^^^^^^^^^ `transaction::Transaction` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `recipientAddr`, `value`, `accountNonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/worker.rs:318:45 [INFO] [stdout] | [INFO] [stdout] 318 | ... let mut orderList = spb.spb[&block.header.parent].txBlockOrderedList.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/worker.rs:411:49 [INFO] [stdout] | [INFO] [stdout] 411 | ... let mut orderList = spb.spb[&parent].txBlockOrderedList.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/generator.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut key_set = temp_key_set.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut states: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut txBlockOrderedList: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut txBlocks: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut transactions: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(verify(&t, &(key.public_key()), &signature.as_ref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found `&ring::ec::curve25519::ed25519::signing::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&&ring::ec::curve25519::ed25519::signing::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> src/network/worker.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use ring::signature::{Signature, KeyPair, Ed25519KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerificationAlgorithm` [INFO] [stdout] --> src/transaction.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm, EdDSAParameters}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `txBlockmempool` should have a snake case name [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut txBlockmempool = Arc::new(Mutex::new(TxBlockMempool::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_blockmempool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut txBlockOrderedList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Hashmap` should have a snake case name [INFO] [stdout] --> src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut new_Hashmap = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `difficultyForPr` should have a snake case name [INFO] [stdout] --> src/block.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub difficultyForPr:H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `difficultyForTx` should have a snake case name [INFO] [stdout] --> src/block.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub difficultyForTx:H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txPointer` should have a snake case name [INFO] [stdout] --> src/block.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub txPointer:TxPointer, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tx_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `difficultyForPr` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | ... let mut difficultyForPr: [u8; 32] = [0,1,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,25... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `difficultyForTx` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | ... let mut difficultyForTx: [u8; 32] = [0,16,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,2... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txPointer` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let txPointer:TxPointer = TxPointer{tp:pointer}; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tx_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `appendVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | let mut appendVec: Vec = [].to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `append_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txPointer` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new1(data: &[T], txPointer: &[H256]) -> Self where T: Hashable { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tx_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `appendVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | let mut appendVec: Vec = [].to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `append_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txBlockmempool` should have a snake case name [INFO] [stdout] --> src/miner.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | txBlockmempool: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/miner.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | txBlockOrderedList: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockmempool` should have a snake case name [INFO] [stdout] --> src/miner.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | txBlockmempool: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/miner.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | txBlockOrderedList: &Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `temp_txBlockmempool` should have a snake case name [INFO] [stdout] --> src/miner.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let temp_txBlockmempool = Arc::clone(&self.txBlockmempool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `temp_tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockmempool` should have a snake case name [INFO] [stdout] --> src/miner.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let mut txBlockmempool = temp_txBlockmempool.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `temp_txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/miner.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let temp_txBlockOrderedList = Arc::clone(&self.txBlockOrderedList); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `temp_tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/miner.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | let mut txBlockOrderedList = temp_txBlockOrderedList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `difficultyForPr` should have a snake case name [INFO] [stdout] --> src/miner.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let difficultyForPr = blockchain.blocks[&parent].header.difficultyForPr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `difficultyForTx` should have a snake case name [INFO] [stdout] --> src/miner.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let difficultyForTx = blockchain.blocks[&parent].header.difficultyForTx; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orderList` should have a snake case name [INFO] [stdout] --> src/miner.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let mut orderList = spb.spb[&parent].txBlockOrderedList.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `order_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlock` should have a snake case name [INFO] [stdout] --> src/miner.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | for txBlock in (*txBlockOrderedList).clone() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txPointer` should have a snake case name [INFO] [stdout] --> src/miner.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let txPointer = TxPointer{tp:tp.clone()}; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tx_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | let mut validTransaction = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlk` should have a snake case name [INFO] [stdout] --> src/miner.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let txBlk = txBlockmempool.txBlocks[&txpointer].clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | for signedTransaction in contents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | ... let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accountNonce` should have a snake case name [INFO] [stdout] --> src/miner.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | ... let accountNonce = transaction.accountNonce; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `account_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:239:33 [INFO] [stdout] | [INFO] [stdout] 239 | ... let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:347:29 [INFO] [stdout] | [INFO] [stdout] 347 | let mut validTransaction = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlk` should have a snake case name [INFO] [stdout] --> src/miner.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 350 | let txBlk = txBlockmempool.txBlocks[&txpointer].clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:352:29 [INFO] [stdout] | [INFO] [stdout] 352 | for signedTransaction in contents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:358:33 [INFO] [stdout] | [INFO] [stdout] 358 | ... let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accountNonce` should have a snake case name [INFO] [stdout] --> src/miner.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | ... let accountNonce = transaction.accountNonce; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `account_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:362:33 [INFO] [stdout] | [INFO] [stdout] 362 | ... let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:390:29 [INFO] [stdout] | [INFO] [stdout] 390 | let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/miner.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txBlockmempool` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | txBlockmempool: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | txBlockOrderedList: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hashMap` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | hashMap: &Arc>>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockmempool` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | txBlockmempool: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | txBlockOrderedList: &Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `temp_txBlockmempool` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let temp_txBlockmempool = Arc::clone(&self.txBlockmempool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `temp_tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockmempool` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut txBlockmempool = temp_txBlockmempool.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_blockmempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `temp_txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let temp_txBlockOrderedList = Arc::clone(&self.txBlockOrderedList); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `temp_tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut txBlockOrderedList = temp_txBlockOrderedList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:214:41 [INFO] [stdout] | [INFO] [stdout] 214 | ... for signedTransaction in contents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orderList` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:318:49 [INFO] [stdout] | [INFO] [stdout] 318 | ... let mut orderList = spb.spb[&block.header.parent].txBlockOrderedList.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `order_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validTransaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 320 | ... let mut validTransaction = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlk` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:328:57 [INFO] [stdout] | [INFO] [stdout] 328 | ... let txBlk = txBlockmempool.txBlocks[&txpointer].clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:331:57 [INFO] [stdout] | [INFO] [stdout] 331 | ... for signedTransaction in contents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:341:61 [INFO] [stdout] | [INFO] [stdout] 341 | ... let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accountNonce` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:343:61 [INFO] [stdout] | [INFO] [stdout] 343 | ... let accountNonce = transaction.accountNonce; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `account_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:345:61 [INFO] [stdout] | [INFO] [stdout] 345 | ... let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:378:49 [INFO] [stdout] | [INFO] [stdout] 378 | ... let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:379:49 [INFO] [stdout] | [INFO] [stdout] 379 | ... let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `difficultyForPr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:400:45 [INFO] [stdout] | [INFO] [stdout] 400 | ... let difficultyForPr = block.header.difficultyForPr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `difficultyForTx` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | ... let difficultyForTx = block.header.difficultyForTx; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `difficulty_for_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orderList` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:411:53 [INFO] [stdout] | [INFO] [stdout] 411 | ... let mut orderList = spb.spb[&parent].txBlockOrderedList.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `order_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validTransaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | ... let mut validTransaction = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlk` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:421:61 [INFO] [stdout] | [INFO] [stdout] 421 | ... let txBlk = txBlockmempool.txBlocks[&txpointer].clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:424:61 [INFO] [stdout] | [INFO] [stdout] 424 | ... for signedTransaction in contents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:434:65 [INFO] [stdout] | [INFO] [stdout] 434 | ... let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accountNonce` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:436:65 [INFO] [stdout] | [INFO] [stdout] 436 | ... let accountNonce = transaction.accountNonce; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `account_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:438:65 [INFO] [stdout] | [INFO] [stdout] 438 | ... let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:471:53 [INFO] [stdout] | [INFO] [stdout] 471 | ... let recipientAddr = transaction.recipientAddr; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderAddr` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:472:53 [INFO] [stdout] | [INFO] [stdout] 472 | ... let senderAddr: H160 = public_key[..].into(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sender_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accountNum` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let accountNum = 5; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `account_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderIdx` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let senderIdx = rng.gen_range(0,accountNum) as u32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `sender_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientIdx` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let mut recipientIdx = rng.gen_range(0,accountNum) as u32; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderKeyPair` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let senderKeyPair = &key_set[&senderIdx]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sender_key_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderPublicKey` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let senderPublicKey = senderKeyPair.public_key().as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sender_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderPublicKey_hash_h160` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let senderPublicKey_hash_h160:H160 = senderPublicKey.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sender_public_key_hash_h160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientKeyPair` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let recipientKeyPair = &key_set[&recipientIdx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_key_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientNonce` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let recipientNonce = record[&recipientIdx].0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientBalance` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let recipientBalance = record[&recipientIdx].1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientPublicKey` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let recipientPublicKey = (key_set[&recipientIdx]).public_key().as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recipientPublicKey_hash_h160` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let recipientPublicKey_hash_h160:H160 = recipientPublicKey.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_public_key_hash_h160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentBalance` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let mut currentBalance:u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedT` should have a snake case name [INFO] [stdout] --> src/network/generator.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | ... let signedT = SignedTransaction{signature: sig.as_ref().to_vec(), public_key: senderPublicKey.to_vec(), transaction: transaction}; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `signed_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/transaction.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub txBlockOrderedList: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlockOrderedList` should have a snake case name [INFO] [stdout] --> src/transaction.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let mut txBlockOrderedList: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tx_block_ordered_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addressCheck` should have a snake case name [INFO] [stdout] --> src/transaction.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn addressCheck(&self, public_key: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `address_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spendCheck` should have a snake case name [INFO] [stdout] --> src/transaction.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn spendCheck(&self, public_key: &[u8], value:u32, accountNonce:u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `spend_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accountNonce` should have a snake case name [INFO] [stdout] --> src/transaction.rs:53:60 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn spendCheck(&self, public_key: &[u8], value:u32, accountNonce:u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `account_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accountInfo` should have a snake case name [INFO] [stdout] --> src/transaction.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let accountInfo = self.states[&public_key.into()]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `account_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txBlocks` should have a snake case name [INFO] [stdout] --> src/transaction.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub txBlocks: HashMap, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tx_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlocks` should have a snake case name [INFO] [stdout] --> src/transaction.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut txBlocks: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tx_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txBlock` should have a snake case name [INFO] [stdout] --> src/transaction.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn insert(&mut self, txBlock: &Block) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recipientAddr` should have a snake case name [INFO] [stdout] --> src/transaction.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub recipientAddr: H160, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `recipient_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accountNonce` should have a snake case name [INFO] [stdout] --> src/transaction.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub accountNonce: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `account_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 152 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "54151b42caedc8c29519911048ba01c0e319252b0bfea723089c5b2c7b9d58c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54151b42caedc8c29519911048ba01c0e319252b0bfea723089c5b2c7b9d58c4", kill_on_drop: false }` [INFO] [stdout] 54151b42caedc8c29519911048ba01c0e319252b0bfea723089c5b2c7b9d58c4