[INFO] cloning repository https://github.com/FroVolod/cli_dialoguer_strum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FroVolod/cli_dialoguer_strum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFroVolod%2Fcli_dialoguer_strum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFroVolod%2Fcli_dialoguer_strum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dd51f8b6ac96880e79574af2926148ccc48dfad [INFO] checking FroVolod/cli_dialoguer_strum/7dd51f8b6ac96880e79574af2926148ccc48dfad against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFroVolod%2Fcli_dialoguer_strum" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FroVolod/cli_dialoguer_strum on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FroVolod/cli_dialoguer_strum [INFO] finished tweaking git repo https://github.com/FroVolod/cli_dialoguer_strum [INFO] tweaked toml for git repo https://github.com/FroVolod/cli_dialoguer_strum written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FroVolod/cli_dialoguer_strum 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dialoguer v0.7.1 [INFO] [stderr] Downloaded terminal_size v0.1.15 [INFO] [stderr] Downloaded zeroize v0.9.3 [INFO] [stderr] Downloaded console v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd47249604423fe922ae72ae6c7209a9a26246937eb5b6b8bf27aa289bd16791 [INFO] running `Command { std: "docker" "start" "-a" "bd47249604423fe922ae72ae6c7209a9a26246937eb5b6b8bf27aa289bd16791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd47249604423fe922ae72ae6c7209a9a26246937eb5b6b8bf27aa289bd16791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd47249604423fe922ae72ae6c7209a9a26246937eb5b6b8bf27aa289bd16791", kill_on_drop: false }` [INFO] [stdout] bd47249604423fe922ae72ae6c7209a9a26246937eb5b6b8bf27aa289bd16791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd48e37cd36231e92d1072d8eea881f6d5bef92213b8629043a81ddb85c14c97 [INFO] running `Command { std: "docker" "start" "-a" "bd48e37cd36231e92d1072d8eea881f6d5bef92213b8629043a81ddb85c14c97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking dialoguer v0.7.1 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking my-near-cli-dialoguer-strum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EnumString` [INFO] [stdout] --> src/cli_command/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EnumString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/cli_command/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `EnumString` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Display, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | EnumString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `EnumString`, and `EnumVariantNames` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Display, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | EnumString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | EnumVariantNames, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::VariantNames` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use strum::VariantNames; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Select`, `console::Term`, and `theme::ColorfulTheme` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Input, [INFO] [stdout] 11 | theme::ColorfulTheme, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | console::Term [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnumString` [INFO] [stdout] --> src/cli_command/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EnumString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/cli_command/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `EnumString` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Display, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | EnumString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `EnumString`, and `EnumVariantNames` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Display, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | EnumString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | EnumVariantNames, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::VariantNames` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use strum::VariantNames; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Select`, `console::Term`, and `theme::ColorfulTheme` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Input, [INFO] [stdout] 11 | theme::ColorfulTheme, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | console::Term [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ParseIntError` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let number: u128 = s.parse().unwrap_or_else(|ParseIntError| -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseIntError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `subcommand` are never read [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | subcommand: CliCommand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/mod.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | ConstructTransactionCommand(OnOffLineMode), [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CliCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | ConstructTransactionCommand(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct OnOffLineMode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 30 | #[structopt(subcommand)] [INFO] [stdout] 31 | mode: Mode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnOffLineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Online(OnlineArgs), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | Online(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Offline(OfflineArgs), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Offline(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `online` and `sender` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct OfflineArgs { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | #[structopt(long)] [INFO] [stdout] 43 | online: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | sender: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OfflineArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `online`, `sender`, `receiver`, and `selected_server` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct OnlineArgs { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 51 | #[structopt(long)] [INFO] [stdout] 52 | online: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | // network: String, [INFO] [stdout] 54 | sender: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | receiver: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | #[structopt(subcommand)] [INFO] [stdout] 57 | selected_server: SelectServer [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineArgs` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ParseIntError` [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let number: u128 = s.parse().unwrap_or_else(|ParseIntError| -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseIntError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Testnet(Server), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 | Testnet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Mainnet(Server), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | Mainnet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Betanet(Server), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | Betanet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | Custom(Server), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `transaction_subcommand` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | #[structopt(subcommand)] [INFO] [stdout] 23 | pub transaction_subcommand: ActionSubcommand [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | TransferNEARTokens(TransferNEARTokens), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ActionSubcommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | TransferNEARTokens(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount` and `next_action` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransferNEARTokens { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 22 | #[structopt(long)] [INFO] [stdout] 23 | amount: NearBalance, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | #[structopt(subcommand)] [INFO] [stdout] 25 | next_action: Box [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferNEARTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | struct NearBalance (u128); [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NearBalance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ParseIntError` should have a snake case name [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let number: u128 = s.parse().unwrap_or_else(|ParseIntError| -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_int_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `subcommand` are never read [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | subcommand: CliCommand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/mod.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | ConstructTransactionCommand(OnOffLineMode), [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CliCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | ConstructTransactionCommand(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct OnOffLineMode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 30 | #[structopt(subcommand)] [INFO] [stdout] 31 | mode: Mode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnOffLineMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Online(OnlineArgs), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | Online(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Offline(OfflineArgs), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Offline(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `online` and `sender` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct OfflineArgs { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | #[structopt(long)] [INFO] [stdout] 43 | online: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | sender: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OfflineArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `online`, `sender`, `receiver`, and `selected_server` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct OnlineArgs { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 51 | #[structopt(long)] [INFO] [stdout] 52 | online: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | // network: String, [INFO] [stdout] 54 | sender: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | receiver: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | #[structopt(subcommand)] [INFO] [stdout] 57 | selected_server: SelectServer [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineArgs` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Testnet(Server), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 | Testnet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Mainnet(Server), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | Mainnet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Betanet(Server), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | Betanet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | Custom(Server), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `transaction_subcommand` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | #[structopt(subcommand)] [INFO] [stdout] 23 | pub transaction_subcommand: ActionSubcommand [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | TransferNEARTokens(TransferNEARTokens), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ActionSubcommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | TransferNEARTokens(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount` and `next_action` are never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransferNEARTokens { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 22 | #[structopt(long)] [INFO] [stdout] 23 | amount: NearBalance, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | #[structopt(subcommand)] [INFO] [stdout] 25 | next_action: Box [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferNEARTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | struct NearBalance (u128); [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NearBalance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ParseIntError` should have a snake case name [INFO] [stdout] --> src/cli_command/on_off_line_mode/server/transfer_near_tokens_type/mod.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let number: u128 = s.parse().unwrap_or_else(|ParseIntError| -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_int_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.10s [INFO] running `Command { std: "docker" "inspect" "bd48e37cd36231e92d1072d8eea881f6d5bef92213b8629043a81ddb85c14c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd48e37cd36231e92d1072d8eea881f6d5bef92213b8629043a81ddb85c14c97", kill_on_drop: false }` [INFO] [stdout] bd48e37cd36231e92d1072d8eea881f6d5bef92213b8629043a81ddb85c14c97