[INFO] fetching crate jd_client 0.1.1... [INFO] checking jd_client-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate jd_client 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate jd_client 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jd_client 0.1.1 [INFO] finished tweaking crates.io crate jd_client 0.1.1 [INFO] tweaked toml for crates.io crate jd_client 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate jd_client 0.1.1 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_sv2 v1.0.0 [INFO] [stderr] Downloaded stratum-common v1.0.0 [INFO] [stderr] Downloaded template_distribution_sv2 v1.0.0 [INFO] [stderr] Downloaded buffer_sv2 v1.0.0 [INFO] [stderr] Downloaded roles_logic_sv2 v1.0.0 [INFO] [stderr] Downloaded key-utils v1.0.0 [INFO] [stderr] Downloaded error_handling v1.0.0 [INFO] [stderr] Downloaded mining_sv2 v1.0.0 [INFO] [stderr] Downloaded const_sv2 v0.1.3 [INFO] [stderr] Downloaded noise_sv2 v1.1.0 [INFO] [stderr] Downloaded job_declaration_sv2 v1.0.0 [INFO] [stderr] Downloaded derive_codec_sv2 v1.0.0 [INFO] [stderr] Downloaded codec_sv2 v1.0.1 [INFO] [stderr] Downloaded network_helpers_sv2 v2.0.0 [INFO] [stderr] Downloaded common_messages_sv2 v1.0.0 [INFO] [stderr] Downloaded framing_sv2 v1.0.0 [INFO] [stderr] Downloaded binary_codec_sv2 v1.0.0 [INFO] [stderr] Downloaded binary_sv2 v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f4e64df8aa206f3ee8b487d7adf8096d39330451925bef4403eeb49a8b74d9b [INFO] running `Command { std: "docker" "start" "-a" "2f4e64df8aa206f3ee8b487d7adf8096d39330451925bef4403eeb49a8b74d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f4e64df8aa206f3ee8b487d7adf8096d39330451925bef4403eeb49a8b74d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4e64df8aa206f3ee8b487d7adf8096d39330451925bef4403eeb49a8b74d9b", kill_on_drop: false }` [INFO] [stdout] 2f4e64df8aa206f3ee8b487d7adf8096d39330451925bef4403eeb49a8b74d9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f63e3dbb70d51d4519f45ebe7caf919225e03a02f77a8ad9d90748e90d325b [INFO] running `Command { std: "docker" "start" "-a" "c5f63e3dbb70d51d4519f45ebe7caf919225e03a02f77a8ad9d90748e90d325b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling binary_codec_sv2 v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking error_handling v1.0.0 [INFO] [stderr] Compiling derive_codec_sv2 v1.0.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling syn v2.0.61 [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 getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bs58 v0.4.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 polyval v0.6.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking buffer_sv2 v1.0.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking bitcoin v0.29.2 [INFO] [stderr] Checking const_sv2 v1.0.0 [INFO] [stderr] Checking const_sv2 v0.1.3 [INFO] [stderr] Checking noise_sv2 v1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking binary_sv2 v1.0.0 [INFO] [stderr] Checking framing_sv2 v1.0.0 [INFO] [stderr] Checking template_distribution_sv2 v1.0.0 [INFO] [stderr] Checking mining_sv2 v1.0.0 [INFO] [stderr] Checking job_declaration_sv2 v1.0.0 [INFO] [stderr] Checking common_messages_sv2 v1.0.0 [INFO] [stderr] Checking codec_sv2 v1.0.1 [INFO] [stderr] Checking stratum-common v1.0.0 [INFO] [stderr] Checking roles_logic_sv2 v1.0.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking network_helpers_sv2 v2.0.0 [INFO] [stderr] Checking key-utils v1.0.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking jd_client v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: unreachable pattern [INFO] [stdout] --> src/lib/status.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Error::Infallible(_) => send_status(sender, e, error_handling::ErrorBranch::Break).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/status.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Error::Infallible(_) => send_status(sender, e, error_handling::ErrorBranch::Break).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: unreachable pattern [INFO] [stdout] --> src/lib/status.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Error::Infallible(_) => send_status(sender, e, error_handling::ErrorBranch::Break).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/status.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Error::Infallible(_) => send_status(sender, e, error_handling::ErrorBranch::Break).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_job_id` is never read [INFO] [stdout] --> src/lib/downstream.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct DownstreamMiningNode { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub prev_job_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownstreamMiningNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | SubmitSharesExtended( [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 11 | 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] 11 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 13 | SetNewPrevHash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 14 | NewExtendedMiningJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 15 | General(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | Extranonce(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | SetCustomMiningJob( [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 18 | 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] 18 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | NewTemplate( [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 21 | / async_channel::SendError<( [INFO] [stdout] 22 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 23 | | Vec, [INFO] [stdout] 24 | | )>, [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] 21 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retry` is never read [INFO] [stdout] --> src/lib/proxy_config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProxyConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub retry: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyConfig` 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: struct `Sv2MiningConnection` is never constructed [INFO] [stdout] --> src/lib/upstream_sv2/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sv2MiningConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sv2MiningConnection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_extranonce_size` and `upstream_extranonce1_size` are never read [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Upstream { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub min_extranonce_size: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | pub upstream_extranonce1_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Upstream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_job_id` is never read [INFO] [stdout] --> src/lib/downstream.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct DownstreamMiningNode { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub prev_job_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownstreamMiningNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | SubmitSharesExtended( [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 11 | 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] 11 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 13 | SetNewPrevHash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 14 | NewExtendedMiningJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 15 | General(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | Extranonce(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | SetCustomMiningJob( [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 18 | 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] 18 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | NewTemplate( [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 21 | / async_channel::SendError<( [INFO] [stdout] 22 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 23 | | Vec, [INFO] [stdout] 24 | | )>, [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] 21 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retry` is never read [INFO] [stdout] --> src/lib/proxy_config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProxyConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub retry: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyConfig` 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: struct `Sv2MiningConnection` is never constructed [INFO] [stdout] --> src/lib/upstream_sv2/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sv2MiningConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sv2MiningConnection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_extranonce_size` and `upstream_extranonce1_size` are never read [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Upstream { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub min_extranonce_size: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | pub upstream_extranonce1_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Upstream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.89s [INFO] running `Command { std: "docker" "inspect" "c5f63e3dbb70d51d4519f45ebe7caf919225e03a02f77a8ad9d90748e90d325b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f63e3dbb70d51d4519f45ebe7caf919225e03a02f77a8ad9d90748e90d325b", kill_on_drop: false }` [INFO] [stdout] c5f63e3dbb70d51d4519f45ebe7caf919225e03a02f77a8ad9d90748e90d325b