[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] testing average-gary/potato/7bd861c248e40be950697331c26203116738deb0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faverage-gary%2Fpotato" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/average-gary/potato on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded sv1_api v1.0.1 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded value-bag v1.10.0 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded toml v0.8.20 [INFO] [stderr] Downloaded async-recursion v0.3.2 [INFO] [stderr] Downloaded async-compat v0.2.4 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded async-global-executor v2.4.1 [INFO] [stderr] Downloaded pest_derive v2.7.14 [INFO] [stderr] Downloaded async-io v2.3.3 [INFO] [stderr] Downloaded event-listener-strategy v0.5.3 [INFO] [stderr] Downloaded bitcoin v0.29.2 [INFO] [stderr] Downloaded secp256k1 v0.24.3 [INFO] [stderr] Downloaded hashlink v0.8.4 [INFO] [stderr] Downloaded buffer_sv2 v1.1.1 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded winnow v0.7.2 [INFO] [stderr] Downloaded key-utils v1.1.0 [INFO] [stderr] Downloaded indexmap v2.7.1 [INFO] [stderr] Downloaded pretty_env_logger v0.5.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded thiserror v1.0.65 [INFO] [stderr] Downloaded pest_generator v2.7.14 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded pest v2.7.14 [INFO] [stderr] Downloaded toml_edit v0.22.24 [INFO] [stderr] Downloaded secp256k1-sys v0.6.1 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded error_handling v1.0.0 [INFO] [stderr] Downloaded polling v3.7.2 [INFO] [stderr] Downloaded codec_sv2 v1.3.1 [INFO] [stderr] Downloaded async-std v1.13.0 [INFO] [stderr] Downloaded network_helpers_sv2 v2.0.1 [INFO] [stderr] Downloaded noise_sv2 v1.2.1 [INFO] [stderr] Downloaded is-terminal v0.4.15 [INFO] [stderr] Downloaded common_messages_sv2 v3.0.0 [INFO] [stderr] Downloaded roles_logic_sv2 v1.2.3 [INFO] [stderr] Downloaded bitcoin_hashes v0.13.0 [INFO] [stderr] Downloaded binary_codec_sv2 v1.2.0 [INFO] [stderr] Downloaded derive_codec_sv2 v1.1.1 [INFO] [stderr] Downloaded binary_sv2 v1.2.1 [INFO] [stderr] Downloaded bitcoin_hashes v0.3.2 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded anstream v0.6.13 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.65 [INFO] [stderr] Downloaded pest_meta v2.7.14 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded async-channel v1.9.0 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded const_sv2 v3.0.0 [INFO] [stderr] Downloaded template_distribution_sv2 v2.0.0 [INFO] [stderr] Downloaded bitcoin-internals v0.2.0 [INFO] [stderr] Downloaded framing_sv2 v3.0.0 [INFO] [stderr] Downloaded job_declaration_sv2 v2.0.0 [INFO] [stderr] Downloaded stratum-common v1.0.0 [INFO] [stderr] Downloaded hex-conservative v0.1.2 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded cc v1.2.14 [INFO] [stderr] Downloaded mining_sv2 v2.0.0 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 371cbd7555aa8280f7aa94c46bc75c1ac4d42c49485d6b24d151fa8abad5a24a [INFO] running `Command { std: "docker" "start" "-a" "371cbd7555aa8280f7aa94c46bc75c1ac4d42c49485d6b24d151fa8abad5a24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "371cbd7555aa8280f7aa94c46bc75c1ac4d42c49485d6b24d151fa8abad5a24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371cbd7555aa8280f7aa94c46bc75c1ac4d42c49485d6b24d151fa8abad5a24a", kill_on_drop: false }` [INFO] [stdout] 371cbd7555aa8280f7aa94c46bc75c1ac4d42c49485d6b24d151fa8abad5a24a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b66db7cb4a2bf784e3cc733039245a54b188544afe716a601609deca6d1c7f52 [INFO] running `Command { std: "docker" "start" "-a" "b66db7cb4a2bf784e3cc733039245a54b188544afe716a601609deca6d1c7f52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling binary_codec_sv2 v1.2.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const_sv2 v3.0.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling derive_codec_sv2 v1.1.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling buffer_sv2 v1.1.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling bitcoin_hashes v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling error_handling v1.0.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling bitcoin v0.29.2 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling stratum-common v1.0.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling noise_sv2 v1.2.1 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling async-compat v0.2.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling binary_sv2 v1.2.1 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling framing_sv2 v3.0.0 [INFO] [stderr] Compiling job_declaration_sv2 v2.0.0 [INFO] [stderr] Compiling mining_sv2 v2.0.0 [INFO] [stderr] Compiling template_distribution_sv2 v2.0.0 [INFO] [stderr] Compiling common_messages_sv2 v3.0.0 [INFO] [stderr] Compiling codec_sv2 v1.3.1 [INFO] [stderr] Compiling roles_logic_sv2 v1.2.3 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling key-utils v1.1.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling sv1_api v1.0.1 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling network_helpers_sv2 v2.0.1 [INFO] [stderr] Compiling 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: 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 6m 08s [INFO] running `Command { std: "docker" "inspect" "b66db7cb4a2bf784e3cc733039245a54b188544afe716a601609deca6d1c7f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b66db7cb4a2bf784e3cc733039245a54b188544afe716a601609deca6d1c7f52", kill_on_drop: false }` [INFO] [stdout] b66db7cb4a2bf784e3cc733039245a54b188544afe716a601609deca6d1c7f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9d9150fef51383533d3d287f842b7cef55fa7a240403560b42e51a78bd8e79c [INFO] running `Command { std: "docker" "start" "-a" "e9d9150fef51383533d3d287f842b7cef55fa7a240403560b42e51a78bd8e79c", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling roles_logic_sv2 v1.2.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling noise_sv2 v1.2.1 [INFO] [stderr] Compiling buffer_sv2 v1.1.1 [INFO] [stderr] Compiling codec_sv2 v1.3.1 [INFO] [stderr] Compiling network_helpers_sv2 v2.0.1 [INFO] [stderr] Compiling 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: 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 618 | fn notify(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.13s [INFO] running `Command { std: "docker" "inspect" "e9d9150fef51383533d3d287f842b7cef55fa7a240403560b42e51a78bd8e79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d9150fef51383533d3d287f842b7cef55fa7a240403560b42e51a78bd8e79c", kill_on_drop: false }` [INFO] [stdout] e9d9150fef51383533d3d287f842b7cef55fa7a240403560b42e51a78bd8e79c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fb5a02d74d7cf5b2e0cf700db0e13161921ceeef982b0ba1f8c7f640a74e664 [INFO] running `Command { std: "docker" "start" "-a" "9fb5a02d74d7cf5b2e0cf700db0e13161921ceeef982b0ba1f8c7f640a74e664", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/main.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use log::{debug, info, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:102:11 [INFO] [stderr] | [INFO] [stderr] 102 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `MG_reject_auth` [INFO] [stderr] --> src/pool_mint/mining_pool/message_handler.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(feature = "MG_reject_auth")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `MG_reject_auth` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:156:15 [INFO] [stderr] | [INFO] [stderr] 156 | #[cfg(feature = "test_only_allow_unencrypted")] test_only_listen_address_plain: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:167:19 [INFO] [stderr] | [INFO] [stderr] 167 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:384:11 [INFO] [stderr] | [INFO] [stderr] 384 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test_only_allow_unencrypted` [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:634:15 [INFO] [stderr] | [INFO] [stderr] 634 | #[cfg(feature = "test_only_allow_unencrypted")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test_only_allow_unencrypted` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DownstreamConfig`, `UpstreamConfig`, and `UpstreamDifficultyConfig` [INFO] [stderr] --> src/proxy_wallet/mod.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | use proxy_config::{DownstreamConfig, ProxyConfig, UpstreamConfig, UpstreamDifficultyConfig}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TemplateProviderConfig` is never constructed [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 106 | pub struct TemplateProviderConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 111 | impl TemplateProviderConfig { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 112 | pub fn new(address: String, authority_public_key: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AuthorityConfig` is never constructed [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:120:12 [INFO] [stderr] | [INFO] [stderr] 120 | pub struct AuthorityConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 125 | impl AuthorityConfig { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 126 | pub fn new(public_key: Secp256k1PublicKey, secret_key: Secp256k1SecretKey) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConnectionConfig` is never constructed [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 134 | pub struct ConnectionConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:141:12 [INFO] [stderr] | [INFO] [stderr] 140 | impl ConnectionConfig { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 141 | pub fn new(listen_address: String, cert_validity_sec: u64, signature: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pool_mint/mining_pool/mod.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 150 | impl PoolConfiguration { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] 151 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `extranonce` and `extranonce2_len` are never read [INFO] [stderr] --> src/proxy_wallet/downstream_sv1/mod.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct SubmitShareWithChannelId { [INFO] [stderr] | ------------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 27 | pub extranonce: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 28 | pub extranonce2_len: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubmitShareWithChannelId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `target` is never read [INFO] [stderr] --> src/proxy_wallet/proxy/bridge.rs:530:9 [INFO] [stderr] | [INFO] [stderr] 526 | pub struct OpenSv1Downstream { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 530 | pub target: Arc>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UpstreamConfig` is never constructed [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct UpstreamConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl UpstreamConfig { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 26 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DownstreamConfig` is never constructed [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct DownstreamConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl DownstreamConfig { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 48 | pub fn new(address: String, port: u16, difficulty_config: DownstreamDifficultyConfig) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl ProxyConfig { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 58 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 90 | impl DownstreamDifficultyConfig { [INFO] [stderr] | ------------------------------- associated function in this implementation [INFO] [stderr] 91 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `timestamp_of_last_update` and `should_aggregate` are never read [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 113 | pub struct UpstreamDifficultyConfig { [INFO] [stderr] | ------------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 117 | pub timestamp_of_last_update: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 118 | #[serde(default = "bool::default")] [INFO] [stderr] 119 | pub should_aggregate: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpstreamDifficultyConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/proxy_wallet/proxy_config.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 122 | impl UpstreamDifficultyConfig { [INFO] [stderr] | ----------------------------- associated function in this implementation [INFO] [stderr] 123 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Sv2MiningConnection` is never constructed [INFO] [stderr] --> src/proxy_wallet/upstream_sv2/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Sv2MiningConnection { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/status.rs:55:28 [INFO] [stderr] | [INFO] [stderr] 55 | DownstreamShutdownPool(PoolError), [INFO] [stderr] | ---------------------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 55 - DownstreamShutdownPool(PoolError), [INFO] [stderr] 55 + DownstreamShutdownPool(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variants `TemplateProviderShutdown` and `DownstreamInstanceDropped` are never constructed [INFO] [stderr] --> src/status.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 50 | pub enum State<'a> { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 56 | TemplateProviderShutdown(PoolError), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 57 | DownstreamInstanceDropped(u32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 16 | SubmitSharesExtended( [INFO] [stderr] | -------------------- field in this variant [INFO] [stderr] 17 | async_channel::SendError>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - async_channel::SendError>, [INFO] [stderr] 17 + (), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | SetNewPrevHash(async_channel::SendError>), [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - SetNewPrevHash(async_channel::SendError>), [INFO] [stderr] 19 + SetNewPrevHash(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 20 | NewExtendedMiningJob(async_channel::SendError>), [INFO] [stderr] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 20 - NewExtendedMiningJob(async_channel::SendError>), [INFO] [stderr] 20 + NewExtendedMiningJob(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | Notify(tokio::sync::broadcast::error::SendError>), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 21 - Notify(tokio::sync::broadcast::error::SendError>), [INFO] [stderr] 21 + Notify(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | V1Message(async_channel::SendError), [INFO] [stderr] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 22 - V1Message(async_channel::SendError), [INFO] [stderr] 22 + V1Message(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | General(String), [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 23 - General(String), [INFO] [stderr] 23 + General(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | Extranonce(async_channel::SendError<(ExtendedExtranonce, u32)>), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 - Extranonce(async_channel::SendError<(ExtendedExtranonce, u32)>), [INFO] [stderr] 24 + Extranonce(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 25 | SetCustomMiningJob( [INFO] [stderr] | ------------------ field in this variant [INFO] [stderr] 26 | async_channel::SendError>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 26 - async_channel::SendError>, [INFO] [stderr] 26 + (), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 28 | NewTemplate( [INFO] [stderr] | ----------- field in this variant [INFO] [stderr] 29 | / async_channel::SendError<( [INFO] [stderr] 30 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stderr] 31 | | Vec, [INFO] [stderr] 32 | | )>, [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `ChannelSendError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 29 - async_channel::SendError<( [INFO] [stderr] 30 - roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stderr] 31 - Vec, [INFO] [stderr] 32 - )>, [INFO] [stderr] 29 + (), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variant `BadCliArgs` is never constructed [INFO] [stderr] --> src/error.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub enum Error<'a> { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 40 | BadCliArgs, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pool_mint/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | pool.start().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 19 | let _ = pool.start().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/proxy_wallet/downstream_sv1/downstream.rs:618:15 [INFO] [stderr] | [INFO] [stderr] 618 | fn notify(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 618 | fn notify(&mut self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `potato` (bin "potato" test) generated 40 warnings (run `cargo fix --bin "potato" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/potato-11724165a163543b) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test proxy_wallet::downstream_sv1::diff_management::test::test_diff_management ... ignored [INFO] [stdout] test pool_mint::mining_pool::test::test_coinbase_outputs_from_config ... ok [INFO] [stdout] test proxy_wallet::downstream_sv1::downstream::tests::gets_difficulty_from_target ... ok [INFO] [stdout] test proxy_wallet::proxy::bridge::test::test_version_bits_insert ... ok [INFO] [stdout] test proxy_wallet::downstream_sv1::diff_management::test::test_converge_to_spm_from_low ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 10.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9fb5a02d74d7cf5b2e0cf700db0e13161921ceeef982b0ba1f8c7f640a74e664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb5a02d74d7cf5b2e0cf700db0e13161921ceeef982b0ba1f8c7f640a74e664", kill_on_drop: false }` [INFO] [stdout] 9fb5a02d74d7cf5b2e0cf700db0e13161921ceeef982b0ba1f8c7f640a74e664