[INFO] fetching crate bitcoin-argsman 0.1.12-alpha.0... [INFO] checking bitcoin-argsman-0.1.12-alpha.0 against try#34cf026bde0f1d85725f44f69476992693389da0 for pr-108918 [INFO] extracting crate bitcoin-argsman 0.1.12-alpha.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bitcoin-argsman 0.1.12-alpha.0 on toolchain 34cf026bde0f1d85725f44f69476992693389da0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-argsman 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-argsman 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-argsman 0.1.12-alpha.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5d717e14423eb7622ec72b3b378e21d7b0bbb74030f7125bea151fd2fe8e2da [INFO] running `Command { std: "docker" "start" "-a" "b5d717e14423eb7622ec72b3b378e21d7b0bbb74030f7125bea151fd2fe8e2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5d717e14423eb7622ec72b3b378e21d7b0bbb74030f7125bea151fd2fe8e2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d717e14423eb7622ec72b3b378e21d7b0bbb74030f7125bea151fd2fe8e2da", kill_on_drop: false }` [INFO] [stdout] b5d717e14423eb7622ec72b3b378e21d7b0bbb74030f7125bea151fd2fe8e2da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 633f4ee59704a4fde7deb86982dda73c5e8ffd78083b98a72873e8b47d5959ed [INFO] running `Command { std: "docker" "start" "-a" "633f4ee59704a4fde7deb86982dda73c5e8ffd78083b98a72873e8b47d5959ed", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.154 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling serde_derive v1.0.154 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling clang-sys v1.6.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling priority-queue v1.3.1 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.7 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Checking time v0.3.20 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking serde-big-array v0.4.1 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Checking libevent v0.1.0 [INFO] [stderr] Checking bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-amt v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-univalue v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-log v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-string v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-settings v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-argsman v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/interpret.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | key.replace_range((0..option_index + 1), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - key.replace_range((0..option_index + 1), ""); [INFO] [stdout] 75 + key.replace_range(0..option_index + 1, ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/interpret.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | key.replace_range((0..2), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - key.replace_range((0..2), ""); [INFO] [stdout] 80 + key.replace_range(0..2, ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WALLET_DEBUG_TEST` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | WALLET_DEBUG_TEST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WalletDebugTest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEBUG_TEST` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | DEBUG_TEST, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DebugTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NODE_RELAY` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | NODE_RELAY, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeRelay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_CREATION` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | BLOCK_CREATION, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockCreation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COMMANDS` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | REGISTER_COMMANDS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCommands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/read_config.rs:351:48 [INFO] [stdout] | [INFO] [stdout] 351 | let mut use_conf_file: bool = true;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/interpret.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | key.replace_range((0..option_index + 1), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - key.replace_range((0..option_index + 1), ""); [INFO] [stdout] 75 + key.replace_range(0..option_index + 1, ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/interpret.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | key.replace_range((0..2), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - key.replace_range((0..2), ""); [INFO] [stdout] 80 + key.replace_range(0..2, ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WALLET_DEBUG_TEST` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | WALLET_DEBUG_TEST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WalletDebugTest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEBUG_TEST` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | DEBUG_TEST, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DebugTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NODE_RELAY` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | NODE_RELAY, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeRelay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_CREATION` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | BLOCK_CREATION, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockCreation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COMMANDS` should have an upper camel case name [INFO] [stdout] --> src/options_category.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | REGISTER_COMMANDS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCommands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/read_config.rs:351:48 [INFO] [stdout] | [INFO] [stdout] 351 | let mut use_conf_file: bool = true;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argsman` [INFO] [stdout] --> src/tx.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn setup_bitcoin_tx_args(argsman: &mut ArgsManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argsman` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/get_data.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | if let Ok(result) = std::fs::create_dir_all(buf.as_path()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/get_help_message.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | let mut name = String::default(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_str` [INFO] [stdout] --> src/log.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let section_str: String = match section.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_str` [INFO] [stdout] --> src/log.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let value_str: String = match (flags.unwrap() & ArgsManagerFlags::SENSITIVE.bits()) != 0 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/log.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | prefix: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setting` [INFO] [stdout] --> src/log.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | for setting in self.settings.rw_settings.iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/read_config.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pos: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/settings.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn init_settings(&mut self, error: &mut String) -> Result<(),String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/add.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut eq_index: usize = match name.find("=") { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/argsman.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | mut errors: Option<&mut Vec>) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/get_chain_name.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut get_net = |arg: &str| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read_config.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut file: Result = File::open(get_config_file(&conf_path)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read_config.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let mut add_includes = | [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read_config.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | let mut conf_file_stream: Result = File::open(get_config_file(conf_file_name)); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/settings.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | mut errors: Option<&mut Vec>) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argsman` [INFO] [stdout] --> src/tx.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn setup_bitcoin_tx_args(argsman: &mut ArgsManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argsman` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/get_data.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | if let Ok(result) = std::fs::create_dir_all(buf.as_path()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/get_help_message.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | let mut name = String::default(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_str` [INFO] [stdout] --> src/log.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let section_str: String = match section.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_str` [INFO] [stdout] --> src/log.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let value_str: String = match (flags.unwrap() & ArgsManagerFlags::SENSITIVE.bits()) != 0 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/log.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | prefix: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setting` [INFO] [stdout] --> src/log.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | for setting in self.settings.rw_settings.iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/read_config.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pos: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/settings.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn init_settings(&mut self, error: &mut String) -> Result<(),String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/add.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut eq_index: usize = match name.find("=") { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `global_chain_base_params` should have an upper case name [INFO] [stdout] --> src/basechainparams.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | static ref global_chain_base_params: Arc> = Arc::new(Mutex::new(BaseChainParams::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GLOBAL_CHAIN_BASE_PARAMS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/argsman.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | mut errors: Option<&mut Vec>) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/get_blocks_dir_path.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | std::fs::create_dir_all(buf.as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/get_data.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | std::fs::create_dir_all(subdir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pattern` should have an upper case name [INFO] [stdout] --> src/read_config.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | static ref pattern: String = " \t\r\n".to_string(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `PATTERN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/get_chain_name.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut get_net = |arg: &str| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read_config.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut file: Result = File::open(get_config_file(&conf_path)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read_config.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let mut add_includes = | [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read_config.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | let mut conf_file_stream: Result = File::open(get_config_file(conf_file_name)); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/settings.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | mut errors: Option<&mut Vec>) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `global_chain_base_params` should have an upper case name [INFO] [stdout] --> src/basechainparams.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | static ref global_chain_base_params: Arc> = Arc::new(Mutex::new(BaseChainParams::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GLOBAL_CHAIN_BASE_PARAMS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/get_blocks_dir_path.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | std::fs::create_dir_all(buf.as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/get_data.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | std::fs::create_dir_all(subdir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pattern` should have an upper case name [INFO] [stdout] --> src/read_config.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | static ref pattern: String = " \t\r\n".to_string(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `PATTERN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "633f4ee59704a4fde7deb86982dda73c5e8ffd78083b98a72873e8b47d5959ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "633f4ee59704a4fde7deb86982dda73c5e8ffd78083b98a72873e8b47d5959ed", kill_on_drop: false }` [INFO] [stdout] 633f4ee59704a4fde7deb86982dda73c5e8ffd78083b98a72873e8b47d5959ed