[INFO] cloning repository https://github.com/FroVolod/cli [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" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFroVolod%2Fcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFroVolod%2Fcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 241974914e008849ed279b79a5dc8e6a3ff91fb2 [INFO] checking FroVolod/cli against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFroVolod%2Fcli" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FroVolod/cli [INFO] finished tweaking git repo https://github.com/FroVolod/cli [INFO] tweaked toml for git repo https://github.com/FroVolod/cli written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FroVolod/cli on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FroVolod/cli 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fa041b455ded8cf4fc21a4c468886dca560420ce31952ac09855e2eabab7dfe [INFO] running `Command { std: "docker" "start" "-a" "0fa041b455ded8cf4fc21a4c468886dca560420ce31952ac09855e2eabab7dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fa041b455ded8cf4fc21a4c468886dca560420ce31952ac09855e2eabab7dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa041b455ded8cf4fc21a4c468886dca560420ce31952ac09855e2eabab7dfe", kill_on_drop: false }` [INFO] [stdout] 0fa041b455ded8cf4fc21a4c468886dca560420ce31952ac09855e2eabab7dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15c920c12c07a9c3bdd7c3483244423af5a6b5954a304606330214734731db06 [INFO] running `Command { std: "docker" "start" "-a" "15c920c12c07a9c3bdd7c3483244423af5a6b5954a304606330214734731db06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking my-near-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | State(state_command::State), [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 12 - State(state_command::State), [INFO] [stdout] 12 + State(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account_id` is never read [INFO] [stdout] --> src/state_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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/working_with_keys_command/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Keys(keys_command::Keys), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 10 - Keys(keys_command::Keys), [INFO] [stdout] 10 + Keys(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/working_with_keys_command/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | AddKey(add_key_command::AddKey), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 11 - AddKey(add_key_command::AddKey), [INFO] [stdout] 11 + AddKey(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/working_with_keys_command/mod.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | DeleteKey(delete_key_command::DeleteKey), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 12 - DeleteKey(delete_key_command::DeleteKey), [INFO] [stdout] 12 + DeleteKey(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/working_with_keys_command/mod.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | GenerateKey(generate_key_command::GenerateKey), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 13 - GenerateKey(generate_key_command::GenerateKey), [INFO] [stdout] 13 + GenerateKey(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/keys_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Keys { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keys` 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 `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/add_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AddKey { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddKey` 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 `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/delete_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DeleteKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteKey` 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 `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/generate_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GenerateKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerateKey` 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/construct_transaction_command/mod.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | CreateAccount(create_account_command::CreateAccount), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 10 - CreateAccount(create_account_command::CreateAccount), [INFO] [stdout] 10 + CreateAccount(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/construct_transaction_command/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Send(send_command::Send), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 11 - Send(send_command::Send), [INFO] [stdout] 11 + Send(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/construct_transaction_command/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Stake(stake_command::Stake), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 12 - Stake(stake_command::Stake), [INFO] [stdout] 12 + Stake(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/construct_transaction_command/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | DeleteAccount(delete_account_command::DeleteAccount), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 13 - DeleteAccount(delete_account_command::DeleteAccount), [INFO] [stdout] 13 + DeleteAccount(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account_id` is never read [INFO] [stdout] --> src/construct_transaction_command/create_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateAccount { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAccount` 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 `account_id` is never read [INFO] [stdout] --> src/construct_transaction_command/delete_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DeleteAccount { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteAccount` 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 `account_id`, `receiver_id`, and `amount` are never read [INFO] [stdout] --> src/construct_transaction_command/send_command/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Send { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | #[structopt(long)] // Можно удалить строку. Тогда субкоманда будет работать без "флага". [INFO] [stdout] 6 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | #[structopt(long)] [INFO] [stdout] 8 | receiver_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | #[structopt(long)] [INFO] [stdout] 10 | amount: u128, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Send` 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 `account_id` and `amount` are never read [INFO] [stdout] --> src/construct_transaction_command/stake_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Stake { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | amount: u128, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stake` 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/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | State(state_command::State), [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 12 - State(state_command::State), [INFO] [stdout] 12 + State(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account_id` is never read [INFO] [stdout] --> src/state_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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/working_with_keys_command/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Keys(keys_command::Keys), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 10 - Keys(keys_command::Keys), [INFO] [stdout] 10 + Keys(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/working_with_keys_command/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | AddKey(add_key_command::AddKey), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 11 - AddKey(add_key_command::AddKey), [INFO] [stdout] 11 + AddKey(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/working_with_keys_command/mod.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | DeleteKey(delete_key_command::DeleteKey), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 12 - DeleteKey(delete_key_command::DeleteKey), [INFO] [stdout] 12 + DeleteKey(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/working_with_keys_command/mod.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | GenerateKey(generate_key_command::GenerateKey), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeysCommand` 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] 13 - GenerateKey(generate_key_command::GenerateKey), [INFO] [stdout] 13 + GenerateKey(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/keys_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Keys { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keys` 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 `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/add_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AddKey { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddKey` 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 `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/delete_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DeleteKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteKey` 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 `account_id` is never read [INFO] [stdout] --> src/working_with_keys_command/generate_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GenerateKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerateKey` 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/construct_transaction_command/mod.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | CreateAccount(create_account_command::CreateAccount), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 10 - CreateAccount(create_account_command::CreateAccount), [INFO] [stdout] 10 + CreateAccount(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/construct_transaction_command/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Send(send_command::Send), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 11 - Send(send_command::Send), [INFO] [stdout] 11 + Send(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/construct_transaction_command/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Stake(stake_command::Stake), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 12 - Stake(stake_command::Stake), [INFO] [stdout] 12 + Stake(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/construct_transaction_command/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | DeleteAccount(delete_account_command::DeleteAccount), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TransactionCommand` 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] 13 - DeleteAccount(delete_account_command::DeleteAccount), [INFO] [stdout] 13 + DeleteAccount(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account_id` is never read [INFO] [stdout] --> src/construct_transaction_command/create_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateAccount { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAccount` 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 `account_id` is never read [INFO] [stdout] --> src/construct_transaction_command/delete_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DeleteAccount { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteAccount` 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 `account_id`, `receiver_id`, and `amount` are never read [INFO] [stdout] --> src/construct_transaction_command/send_command/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Send { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | #[structopt(long)] // Можно удалить строку. Тогда субкоманда будет работать без "флага". [INFO] [stdout] 6 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | #[structopt(long)] [INFO] [stdout] 8 | receiver_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | #[structopt(long)] [INFO] [stdout] 10 | amount: u128, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Send` 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 `account_id` and `amount` are never read [INFO] [stdout] --> src/construct_transaction_command/stake_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Stake { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | amount: u128, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.56s [INFO] running `Command { std: "docker" "inspect" "15c920c12c07a9c3bdd7c3483244423af5a6b5954a304606330214734731db06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c920c12c07a9c3bdd7c3483244423af5a6b5954a304606330214734731db06", kill_on_drop: false }` [INFO] [stdout] 15c920c12c07a9c3bdd7c3483244423af5a6b5954a304606330214734731db06