[INFO] cloning repository https://github.com/average-gary/potato [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/average-gary/potato" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faverage-gary%2Fpotato", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faverage-gary%2Fpotato'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bd861c248e40be950697331c26203116738deb0 [INFO] checking average-gary/potato against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faverage-gary%2Fpotato" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/average-gary/potato [INFO] finished tweaking git repo https://github.com/average-gary/potato [INFO] tweaked toml for git repo https://github.com/average-gary/potato written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/average-gary/potato on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/average-gary/potato 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b8ff5178b95f4a5e5b24b8fdb41d027d22b91ff67e4d89652932751efbda316 [INFO] running `Command { std: "docker" "start" "-a" "8b8ff5178b95f4a5e5b24b8fdb41d027d22b91ff67e4d89652932751efbda316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b8ff5178b95f4a5e5b24b8fdb41d027d22b91ff67e4d89652932751efbda316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8ff5178b95f4a5e5b24b8fdb41d027d22b91ff67e4d89652932751efbda316", kill_on_drop: false }` [INFO] [stdout] 8b8ff5178b95f4a5e5b24b8fdb41d027d22b91ff67e4d89652932751efbda316 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c50bdb160163b9192d77dbf0f4d0606d4bba7060833c201a01ff67e2709d168a [INFO] running `Command { std: "docker" "start" "-a" "c50bdb160163b9192d77dbf0f4d0606d4bba7060833c201a01ff67e2709d168a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling binary_codec_sv2 v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking const_sv2 v3.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Compiling derive_codec_sv2 v1.1.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking winnow v0.7.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking bitcoin_hashes v0.3.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking buffer_sv2 v1.1.1 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking error_handling v1.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking pest v2.7.14 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking binary_sv2 v1.2.1 [INFO] [stderr] Checking bitcoin v0.29.2 [INFO] [stderr] Checking framing_sv2 v3.0.0 [INFO] [stderr] Checking template_distribution_sv2 v2.0.0 [INFO] [stderr] Checking job_declaration_sv2 v2.0.0 [INFO] [stderr] Checking common_messages_sv2 v3.0.0 [INFO] [stderr] Checking mining_sv2 v2.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking noise_sv2 v1.2.1 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking codec_sv2 v1.3.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking stratum-common v1.0.0 [INFO] [stderr] Checking roles_logic_sv2 v1.2.3 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking async-compat v0.2.4 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking key-utils v1.1.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking sv1_api v1.0.1 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking network_helpers_sv2 v2.0.1 [INFO] [stderr] Checking potato v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `MG_reject_auth` [INFO] [stdout] --> src/pool_mint/mining_pool/message_handler.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "MG_reject_auth")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `MG_reject_auth` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "test_only_allow_unencrypted")] test_only_listen_address_plain: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 384 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:634:15 [INFO] [stdout] | [INFO] [stdout] 634 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DownstreamConfig`, `UpstreamConfig`, and `UpstreamDifficultyConfig` [INFO] [stdout] --> src/proxy_wallet/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use proxy_config::{DownstreamConfig, ProxyConfig, UpstreamConfig, UpstreamDifficultyConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `MG_reject_auth` [INFO] [stdout] --> src/pool_mint/mining_pool/message_handler.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "MG_reject_auth")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `MG_reject_auth` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "test_only_allow_unencrypted")] test_only_listen_address_plain: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 384 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:634:15 [INFO] [stdout] | [INFO] [stdout] 634 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DownstreamConfig`, `UpstreamConfig`, and `UpstreamDifficultyConfig` [INFO] [stdout] --> src/proxy_wallet/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use proxy_config::{DownstreamConfig, ProxyConfig, UpstreamConfig, UpstreamDifficultyConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateProviderConfig` is never constructed [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct TemplateProviderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl TemplateProviderConfig { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 112 | pub fn new(address: String, authority_public_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorityConfig` is never constructed [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct AuthorityConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl AuthorityConfig { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 126 | pub fn new(public_key: Secp256k1PublicKey, secret_key: Secp256k1SecretKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionConfig` is never constructed [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ConnectionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl ConnectionConfig { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 141 | pub fn new(listen_address: String, cert_validity_sec: u64, signature: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl PoolConfiguration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 151 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `extranonce` and `extranonce2_len` are never read [INFO] [stdout] --> src/proxy_wallet/downstream_sv1/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SubmitShareWithChannelId { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub extranonce: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub extranonce2_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmitShareWithChannelId` 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 `target` is never read [INFO] [stdout] --> src/proxy_wallet/proxy/bridge.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 526 | pub struct OpenSv1Downstream { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 530 | pub target: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpstreamConfig` is never constructed [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct UpstreamConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl UpstreamConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownstreamConfig` is never constructed [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct DownstreamConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl DownstreamConfig { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn new(address: String, port: u16, difficulty_config: DownstreamDifficultyConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ProxyConfig { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl DownstreamDifficultyConfig { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 91 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp_of_last_update` and `should_aggregate` are never read [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct UpstreamDifficultyConfig { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub timestamp_of_last_update: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | #[serde(default = "bool::default")] [INFO] [stdout] 119 | pub should_aggregate: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpstreamDifficultyConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UpstreamDifficultyConfig { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 123 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sv2MiningConnection` is never constructed [INFO] [stdout] --> src/proxy_wallet/upstream_sv2/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Sv2MiningConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/status.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | DownstreamShutdownPool(PoolError), [INFO] [stdout] | ---------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 55 - DownstreamShutdownPool(PoolError), [INFO] [stdout] 55 + DownstreamShutdownPool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TemplateProviderShutdown` and `DownstreamInstanceDropped` are never constructed [INFO] [stdout] --> src/status.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum State<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | TemplateProviderShutdown(PoolError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | DownstreamInstanceDropped(u32), [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/error.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | SubmitSharesExtended( [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 17 | async_channel::SendError>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 17 - async_channel::SendError>, [INFO] [stdout] 17 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | SetNewPrevHash(async_channel::SendError>), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 19 - SetNewPrevHash(async_channel::SendError>), [INFO] [stdout] 19 + SetNewPrevHash(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | NewExtendedMiningJob(async_channel::SendError>), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 20 - NewExtendedMiningJob(async_channel::SendError>), [INFO] [stdout] 20 + NewExtendedMiningJob(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | Notify(tokio::sync::broadcast::error::SendError>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 21 - Notify(tokio::sync::broadcast::error::SendError>), [INFO] [stdout] 21 + Notify(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | V1Message(async_channel::SendError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - V1Message(async_channel::SendError), [INFO] [stdout] 22 + V1Message(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | General(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 23 - General(String), [INFO] [stdout] 23 + General(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Extranonce(async_channel::SendError<(ExtendedExtranonce, u32)>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 24 - Extranonce(async_channel::SendError<(ExtendedExtranonce, u32)>), [INFO] [stdout] 24 + Extranonce(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | SetCustomMiningJob( [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 26 | async_channel::SendError>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 26 - async_channel::SendError>, [INFO] [stdout] 26 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | NewTemplate( [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 29 | / async_channel::SendError<( [INFO] [stdout] 30 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 31 | | Vec, [INFO] [stdout] 32 | | )>, [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 29 - async_channel::SendError<( [INFO] [stdout] 30 - roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 31 - Vec, [INFO] [stdout] 32 - )>, [INFO] [stdout] 29 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadCliArgs` is never constructed [INFO] [stdout] --> src/error.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Error<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | BadCliArgs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pool_mint/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pool.start().await; [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = pool.start().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proxy_wallet/downstream_sv1/downstream.rs:618:15 [INFO] [stdout] | [INFO] [stdout] 618 | fn notify(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | fn notify(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateProviderConfig` is never constructed [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct TemplateProviderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl TemplateProviderConfig { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 112 | pub fn new(address: String, authority_public_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorityConfig` is never constructed [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct AuthorityConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl AuthorityConfig { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 126 | pub fn new(public_key: Secp256k1PublicKey, secret_key: Secp256k1SecretKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionConfig` is never constructed [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ConnectionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl ConnectionConfig { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 141 | pub fn new(listen_address: String, cert_validity_sec: u64, signature: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pool_mint/mining_pool/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl PoolConfiguration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 151 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `extranonce` and `extranonce2_len` are never read [INFO] [stdout] --> src/proxy_wallet/downstream_sv1/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SubmitShareWithChannelId { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub extranonce: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub extranonce2_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmitShareWithChannelId` 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 `target` is never read [INFO] [stdout] --> src/proxy_wallet/proxy/bridge.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 526 | pub struct OpenSv1Downstream { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 530 | pub target: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpstreamConfig` is never constructed [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct UpstreamConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl UpstreamConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownstreamConfig` is never constructed [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct DownstreamConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl DownstreamConfig { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn new(address: String, port: u16, difficulty_config: DownstreamDifficultyConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ProxyConfig { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl DownstreamDifficultyConfig { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 91 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp_of_last_update` and `should_aggregate` are never read [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct UpstreamDifficultyConfig { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub timestamp_of_last_update: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | #[serde(default = "bool::default")] [INFO] [stdout] 119 | pub should_aggregate: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpstreamDifficultyConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/proxy_wallet/proxy_config.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UpstreamDifficultyConfig { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 123 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sv2MiningConnection` is never constructed [INFO] [stdout] --> src/proxy_wallet/upstream_sv2/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Sv2MiningConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/status.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | DownstreamShutdownPool(PoolError), [INFO] [stdout] | ---------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 55 - DownstreamShutdownPool(PoolError), [INFO] [stdout] 55 + DownstreamShutdownPool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TemplateProviderShutdown` and `DownstreamInstanceDropped` are never constructed [INFO] [stdout] --> src/status.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum State<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | TemplateProviderShutdown(PoolError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | DownstreamInstanceDropped(u32), [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/error.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | SubmitSharesExtended( [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 17 | async_channel::SendError>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 17 - async_channel::SendError>, [INFO] [stdout] 17 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | SetNewPrevHash(async_channel::SendError>), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 19 - SetNewPrevHash(async_channel::SendError>), [INFO] [stdout] 19 + SetNewPrevHash(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | NewExtendedMiningJob(async_channel::SendError>), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 20 - NewExtendedMiningJob(async_channel::SendError>), [INFO] [stdout] 20 + NewExtendedMiningJob(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | Notify(tokio::sync::broadcast::error::SendError>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 21 - Notify(tokio::sync::broadcast::error::SendError>), [INFO] [stdout] 21 + Notify(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | V1Message(async_channel::SendError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - V1Message(async_channel::SendError), [INFO] [stdout] 22 + V1Message(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | General(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 23 - General(String), [INFO] [stdout] 23 + General(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Extranonce(async_channel::SendError<(ExtendedExtranonce, u32)>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 24 - Extranonce(async_channel::SendError<(ExtendedExtranonce, u32)>), [INFO] [stdout] 24 + Extranonce(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | SetCustomMiningJob( [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 26 | async_channel::SendError>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 26 - async_channel::SendError>, [INFO] [stdout] 26 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | NewTemplate( [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 29 | / async_channel::SendError<( [INFO] [stdout] 30 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 31 | | Vec, [INFO] [stdout] 32 | | )>, [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelSendError` 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] 29 - async_channel::SendError<( [INFO] [stdout] 30 - roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 31 - Vec, [INFO] [stdout] 32 - )>, [INFO] [stdout] 29 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadCliArgs` is never constructed [INFO] [stdout] --> src/error.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Error<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | BadCliArgs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pool_mint/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pool.start().await; [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = pool.start().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proxy_wallet/downstream_sv1/downstream.rs:618:15 [INFO] [stdout] | [INFO] [stdout] 618 | fn notify(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | fn notify(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.18s [INFO] running `Command { std: "docker" "inspect" "c50bdb160163b9192d77dbf0f4d0606d4bba7060833c201a01ff67e2709d168a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50bdb160163b9192d77dbf0f4d0606d4bba7060833c201a01ff67e2709d168a", kill_on_drop: false }` [INFO] [stdout] c50bdb160163b9192d77dbf0f4d0606d4bba7060833c201a01ff67e2709d168a