[INFO] cloning repository https://github.com/LEON-HYZ/ece598-block-chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LEON-HYZ/ece598-block-chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLEON-HYZ%2Fece598-block-chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLEON-HYZ%2Fece598-block-chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28bac973e5eeacc817dfadabc3b544fc4a029cf5 [INFO] documenting LEON-HYZ/ece598-block-chain against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLEON-HYZ%2Fece598-block-chain" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LEON-HYZ/ece598-block-chain on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LEON-HYZ/ece598-block-chain [INFO] finished tweaking git repo https://github.com/LEON-HYZ/ece598-block-chain [INFO] tweaked toml for git repo https://github.com/LEON-HYZ/ece598-block-chain written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/LEON-HYZ/ece598-block-chain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c446b3b4e07df5466b1ee007903748b17329ab4eb4af54e3cda7598dbd74541 [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" "0c446b3b4e07df5466b1ee007903748b17329ab4eb4af54e3cda7598dbd74541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c446b3b4e07df5466b1ee007903748b17329ab4eb4af54e3cda7598dbd74541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c446b3b4e07df5466b1ee007903748b17329ab4eb4af54e3cda7598dbd74541", kill_on_drop: false }` [INFO] [stdout] 0c446b3b4e07df5466b1ee007903748b17329ab4eb4af54e3cda7598dbd74541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b52769894befc1564c05fb07d7ea6a5d3bab5fb7c65687fa289514d2504cdf9a [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" "b52769894befc1564c05fb07d7ea6a5d3bab5fb7c65687fa289514d2504cdf9a", kill_on_drop: false }` [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking ring v0.16.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking num-iter v0.1.40 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking modpow v1.0.1 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Documenting bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Hashable_160` should have an upper camel case name [INFO] [stdout] --> src/crypto/hash.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub trait Hashable_160 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Hashable160` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `witness` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct witness { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `input` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct input { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `output` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct output { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/accumulator.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merkleRoot` should have a snake case name [INFO] [stdout] --> src/block.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub merkleRoot: H256, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Header` should have a snake case name [INFO] [stdout] --> src/block.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub Header: Header, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Content` should have a snake case name [INFO] [stdout] --> src/block.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub Content: Content, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub Blocks: HashMap, //H256 - [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn getHeight(mut length:usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HashMap` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HashMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOrphanBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_orphan_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Parent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove(&mut self, Hash:&H256) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isParentIn` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_parent_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | ifArchival: bool [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prevTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub prevTransaction: H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prev_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `preOutputIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub preOutputIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pre_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub recpAddress: H160, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub Input: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Output` should have a snake case name [INFO] [stdout] --> src/transaction.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub Output: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub publicKey: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifySignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn verifySignedTransaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verify_signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Transactions` should have a snake case name [INFO] [stdout] --> src/transaction.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub Transactions: HashMap, // hash <-> transaction(signed) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateMempool` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_mempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pre_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:49 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pre_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outValue` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:93 [INFO] [stdout] | [INFO] [stdout] 503 | ...&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `out_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:113 [INFO] [stdout] | [INFO] [stdout] 503 | ...c, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub States: HashMap<(H256, u32),(f32, H160, u32, u128)>, // (prev TX Hash, prev Output Index) <-> (Output Value, Recipient Addr, Pri... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | pub AccumulatorProof: HashMap, // Block Hash <-> Accumulator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ifNotDoubleSpent` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_not_double_spent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:37 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:57 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn addStates(&mut self, transaction_hash: H256, output_index: u32, output_value: f32, recp_address: H160, prime_number: u32, witn... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deleteStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn deleteStates(&mut self, transaction_hash: H256, output_index: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `delete_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateAccumulator` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:41 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:59 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAllStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub fn getAllStates(&self) -> Vec<(H256, u32, f32, H160, u32, u128)>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getNewProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn getNewProof(&self, block_hash: &H256) -> Vec<(H256,u128)> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.80s [INFO] running `Command { std: "docker" "inspect" "b52769894befc1564c05fb07d7ea6a5d3bab5fb7c65687fa289514d2504cdf9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b52769894befc1564c05fb07d7ea6a5d3bab5fb7c65687fa289514d2504cdf9a", kill_on_drop: false }` [INFO] [stdout] b52769894befc1564c05fb07d7ea6a5d3bab5fb7c65687fa289514d2504cdf9a