[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 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%2FFroVolod%2Fcli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FroVolod/cli 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/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 307f1f8cc5223dbb63cd3ea8845ca143b957508be0f633aef22a9b09324b34d5 [INFO] running `Command { std: "docker" "start" "-a" "307f1f8cc5223dbb63cd3ea8845ca143b957508be0f633aef22a9b09324b34d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "307f1f8cc5223dbb63cd3ea8845ca143b957508be0f633aef22a9b09324b34d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "307f1f8cc5223dbb63cd3ea8845ca143b957508be0f633aef22a9b09324b34d5", kill_on_drop: false }` [INFO] [stdout] 307f1f8cc5223dbb63cd3ea8845ca143b957508be0f633aef22a9b09324b34d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f29039afe1af29b19b73e531a623d912a08b6c973f81e4c789e77e74e660cc36 [INFO] running `Command { std: "docker" "start" "-a" "f29039afe1af29b19b73e531a623d912a08b6c973f81e4c789e77e74e660cc36", 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] Checking paw-raw v1.0.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/login_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: 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/state_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/keys_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/add_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/delete_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/generate_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/create_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/delete_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/send_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / #[structopt(long)] // Можно удалить строку. Тогда субкоманда будет работать без "флага". [INFO] [stdout] 6 | | account_id: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/send_command/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[structopt(long)] [INFO] [stdout] 8 | | receiver_id: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/stake_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-near-cli` (bin "my-near-cli") due to 11 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/login_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: 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/state_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/keys_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/add_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/delete_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/working_with_keys_command/generate_key_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/create_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/delete_account_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/send_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / #[structopt(long)] // Можно удалить строку. Тогда субкоманда будет работать без "флага". [INFO] [stdout] 6 | | account_id: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/send_command/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[structopt(long)] [INFO] [stdout] 8 | | receiver_id: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/construct_transaction_command/stake_command/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | account_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-near-cli` (bin "my-near-cli" test) due to 11 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f29039afe1af29b19b73e531a623d912a08b6c973f81e4c789e77e74e660cc36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29039afe1af29b19b73e531a623d912a08b6c973f81e4c789e77e74e660cc36", kill_on_drop: false }` [INFO] [stdout] f29039afe1af29b19b73e531a623d912a08b6c973f81e4c789e77e74e660cc36