[INFO] cloning repository https://github.com/recursive-bloom/cmd-line [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/recursive-bloom/cmd-line" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frecursive-bloom%2Fcmd-line", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frecursive-bloom%2Fcmd-line'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1de6bb47fa6631954dec1baf2f9c91875d14d494 [INFO] checking recursive-bloom/cmd-line against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frecursive-bloom%2Fcmd-line" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/recursive-bloom/cmd-line [INFO] finished tweaking git repo https://github.com/recursive-bloom/cmd-line [INFO] tweaked toml for git repo https://github.com/recursive-bloom/cmd-line written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/recursive-bloom/cmd-line on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/recursive-bloom/cmd-line already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7add78e4c77b146b47e8961b826fbc01c8ce34f14336ec6771c660616dc77ce1 [INFO] running `Command { std: "docker" "start" "-a" "7add78e4c77b146b47e8961b826fbc01c8ce34f14336ec6771c660616dc77ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7add78e4c77b146b47e8961b826fbc01c8ce34f14336ec6771c660616dc77ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7add78e4c77b146b47e8961b826fbc01c8ce34f14336ec6771c660616dc77ce1", kill_on_drop: false }` [INFO] [stdout] 7add78e4c77b146b47e8961b826fbc01c8ce34f14336ec6771c660616dc77ce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a822f47bac93c86026248a33630ad0a9ec677ed789b08bc7e78538e92cc71009 [INFO] running `Command { std: "docker" "start" "-a" "a822f47bac93c86026248a33630ad0a9ec677ed789b08bc7e78538e92cc71009", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.7 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking rlp v0.4.5 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking parity-bytes v0.1.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking ethbloom v0.9.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking ethereum-types v0.9.1 [INFO] [stderr] Checking bloom-cmd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/commands/account_cmd.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use ethereum_types::{H160, H256, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/commands/account_cmd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commands/account_cmd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::account_cmd` [INFO] [stdout] --> src/commands/contract_cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::commands::account_cmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/commands/contract_cmd.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use ethereum_types::{H160, U256, H256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex` [INFO] [stdout] --> src/commands/contract_cmd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commands/contract_cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commands/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H160` and `U256` [INFO] [stdout] --> src/commands/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use ethereum_types::{U256, H160}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/account_cmd.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn run(&self, mut backend: &str) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/commands/account_cmd.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let from = H160::from_str(address).expect("--address argument must be a valid address"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/commands/account_cmd.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let from = H160::from_str(address).expect("--address argument must be a valid address"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/commands/account_cmd.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let from = H160::from_str(address).expect("--address argument must be a valid address"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/commands/account_cmd.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use ethereum_types::{H160, H256, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/commands/account_cmd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commands/account_cmd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::account_cmd` [INFO] [stdout] --> src/commands/contract_cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::commands::account_cmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/commands/contract_cmd.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use ethereum_types::{H160, U256, H256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex` [INFO] [stdout] --> src/commands/contract_cmd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commands/contract_cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commands/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H160` and `U256` [INFO] [stdout] --> src/commands/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use ethereum_types::{U256, H160}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/contract_cmd.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn run(&self, mut backend: &str) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/commands/contract_cmd.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let gas_limit = *gas; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/commands/contract_cmd.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let gas_limit = *gas; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | / /// External address or contract address [INFO] [stdout] 22 | | #[structopt(long = "address")] [INFO] [stdout] 23 | | address: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bloom-cmd` (bin "bloom-cmd") due to 21 previous errors; 16 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | / /// External address will be created [INFO] [stdout] 32 | | #[structopt(long = "address")] [INFO] [stdout] 33 | | address: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Value (Wei) for the given address, default 1 ether (18 zeros) [INFO] [stdout] 35 | | #[structopt(long = "value", default_value = "1000000000000000000")] [INFO] [stdout] 36 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Nonce for the given address, default 0 [INFO] [stdout] 38 | | #[structopt(long = "nonce", default_value = "0")] [INFO] [stdout] 39 | | nonce: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | / /// External address will be modified [INFO] [stdout] 45 | | #[structopt(long = "address")] [INFO] [stdout] 46 | | address: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Value (Wei) for the given address [INFO] [stdout] 48 | | #[structopt(long = "value")] [INFO] [stdout] 49 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | / /// Nonce for the given address [INFO] [stdout] 51 | | #[structopt(long = "nonce")] [INFO] [stdout] 52 | | nonce: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | / /// The address from which transfer from [INFO] [stdout] 58 | | #[structopt(long = "from")] [INFO] [stdout] 59 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | / /// The address from which transfer to [INFO] [stdout] 61 | | #[structopt(long = "to")] [INFO] [stdout] 62 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | / /// Value for transfer [INFO] [stdout] 64 | | #[structopt(long = "value")] [INFO] [stdout] 65 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / /// The address which deploy contact [INFO] [stdout] 28 | | #[structopt(long = "from")] [INFO] [stdout] 29 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / /// The value to deposit in contract [INFO] [stdout] 31 | | #[structopt(long = "value")] [INFO] [stdout] 32 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / /// The gas price for deploying contract(Wei) [INFO] [stdout] 37 | | #[structopt(long = "gas-price")] [INFO] [stdout] 38 | | gas_price: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / /// The contract binary code [INFO] [stdout] 40 | | #[structopt(long = "code")] [INFO] [stdout] 41 | | code: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / /// The code file [INFO] [stdout] 43 | | #[structopt(long = "code-file")] [INFO] [stdout] 44 | | code_file: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// The address which send messageCall [INFO] [stdout] 51 | | #[structopt(long = "from")] [INFO] [stdout] 52 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / /// The value (Wei) for messageCall [INFO] [stdout] 54 | | #[structopt(long = "value")] [INFO] [stdout] 55 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The receiver address for messageCall [INFO] [stdout] 57 | | #[structopt(long = "to")] [INFO] [stdout] 58 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / /// The gas price (Wei) for messageCall [INFO] [stdout] 63 | | #[structopt(long = "gas-price")] [INFO] [stdout] 64 | | gas_price: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / /// The input data for messageCall [INFO] [stdout] 66 | | #[structopt(long = "data")] [INFO] [stdout] 67 | | data: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / /// The input data file for messageCall [INFO] [stdout] 69 | | #[structopt(long = "data-file")] [INFO] [stdout] 70 | | data_file: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/account_cmd.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn run(&self, mut backend: &str) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/commands/account_cmd.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let from = H160::from_str(address).expect("--address argument must be a valid address"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/commands/account_cmd.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let from = H160::from_str(address).expect("--address argument must be a valid address"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/commands/account_cmd.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let from = H160::from_str(address).expect("--address argument must be a valid address"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/contract_cmd.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn run(&self, mut backend: &str) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/commands/contract_cmd.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let gas_limit = *gas; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/commands/contract_cmd.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let gas_limit = *gas; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | / /// External address or contract address [INFO] [stdout] 22 | | #[structopt(long = "address")] [INFO] [stdout] 23 | | address: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | / /// External address will be created [INFO] [stdout] 32 | | #[structopt(long = "address")] [INFO] [stdout] 33 | | address: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Value (Wei) for the given address, default 1 ether (18 zeros) [INFO] [stdout] 35 | | #[structopt(long = "value", default_value = "1000000000000000000")] [INFO] [stdout] 36 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Nonce for the given address, default 0 [INFO] [stdout] 38 | | #[structopt(long = "nonce", default_value = "0")] [INFO] [stdout] 39 | | nonce: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | / /// External address will be modified [INFO] [stdout] 45 | | #[structopt(long = "address")] [INFO] [stdout] 46 | | address: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Value (Wei) for the given address [INFO] [stdout] 48 | | #[structopt(long = "value")] [INFO] [stdout] 49 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | / /// Nonce for the given address [INFO] [stdout] 51 | | #[structopt(long = "nonce")] [INFO] [stdout] 52 | | nonce: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | / /// The address from which transfer from [INFO] [stdout] 58 | | #[structopt(long = "from")] [INFO] [stdout] 59 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | / /// The address from which transfer to [INFO] [stdout] 61 | | #[structopt(long = "to")] [INFO] [stdout] 62 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/account_cmd.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | / /// Value for transfer [INFO] [stdout] 64 | | #[structopt(long = "value")] [INFO] [stdout] 65 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / /// The address which deploy contact [INFO] [stdout] 28 | | #[structopt(long = "from")] [INFO] [stdout] 29 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / /// The value to deposit in contract [INFO] [stdout] 31 | | #[structopt(long = "value")] [INFO] [stdout] 32 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / /// The gas price for deploying contract(Wei) [INFO] [stdout] 37 | | #[structopt(long = "gas-price")] [INFO] [stdout] 38 | | gas_price: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / /// The contract binary code [INFO] [stdout] 40 | | #[structopt(long = "code")] [INFO] [stdout] 41 | | code: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / /// The code file [INFO] [stdout] 43 | | #[structopt(long = "code-file")] [INFO] [stdout] 44 | | code_file: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// The address which send messageCall [INFO] [stdout] 51 | | #[structopt(long = "from")] [INFO] [stdout] 52 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / /// The value (Wei) for messageCall [INFO] [stdout] 54 | | #[structopt(long = "value")] [INFO] [stdout] 55 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The receiver address for messageCall [INFO] [stdout] 57 | | #[structopt(long = "to")] [INFO] [stdout] 58 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / /// The gas price (Wei) for messageCall [INFO] [stdout] 63 | | #[structopt(long = "gas-price")] [INFO] [stdout] 64 | | gas_price: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / /// The input data for messageCall [INFO] [stdout] 66 | | #[structopt(long = "data")] [INFO] [stdout] 67 | | data: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/contract_cmd.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / /// The input data file for messageCall [INFO] [stdout] 69 | | #[structopt(long = "data-file")] [INFO] [stdout] 70 | | data_file: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bloom-cmd` (bin "bloom-cmd" test) due to 21 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a822f47bac93c86026248a33630ad0a9ec677ed789b08bc7e78538e92cc71009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a822f47bac93c86026248a33630ad0a9ec677ed789b08bc7e78538e92cc71009", kill_on_drop: false }` [INFO] [stdout] a822f47bac93c86026248a33630ad0a9ec677ed789b08bc7e78538e92cc71009