[INFO] fetching crate translator_sv2 0.1.1... [INFO] testing translator_sv2-0.1.1 against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] extracting crate translator_sv2 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate translator_sv2 0.1.1 on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate translator_sv2 0.1.1 [INFO] finished tweaking crates.io crate translator_sv2 0.1.1 [INFO] tweaked toml for crates.io crate translator_sv2 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate translator_sv2 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" "+f23b22458132fb20faeb8a915b1c252478696f25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb39c8a6d2903d8dc9673515bb348632f24811b2c3eb880d931901fbc1d3ef5f [INFO] running `Command { std: "docker" "start" "-a" "cb39c8a6d2903d8dc9673515bb348632f24811b2c3eb880d931901fbc1d3ef5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb39c8a6d2903d8dc9673515bb348632f24811b2c3eb880d931901fbc1d3ef5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb39c8a6d2903d8dc9673515bb348632f24811b2c3eb880d931901fbc1d3ef5f", kill_on_drop: false }` [INFO] [stdout] cb39c8a6d2903d8dc9673515bb348632f24811b2c3eb880d931901fbc1d3ef5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5061d2f3f9d5953ffbcd30655b69fb0f8ccba40e7871b46fe545eda8b7524013 [INFO] running `Command { std: "docker" "start" "-a" "5061d2f3f9d5953ffbcd30655b69fb0f8ccba40e7871b46fe545eda8b7524013", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling binary_codec_sv2 v1.0.0 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling derive_codec_sv2 v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [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 universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling blocking v1.6.0 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling buffer_sv2 v1.0.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling bitcoin_hashes v0.3.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling error_handling v1.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling const_sv2 v1.0.0 [INFO] [stderr] Compiling const_sv2 v0.1.3 [INFO] [stderr] Compiling noise_sv2 v1.1.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling binary_sv2 v1.0.0 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling framing_sv2 v1.0.0 [INFO] [stderr] Compiling common_messages_sv2 v1.0.0 [INFO] [stderr] Compiling mining_sv2 v1.0.0 [INFO] [stderr] Compiling template_distribution_sv2 v1.0.0 [INFO] [stderr] Compiling job_declaration_sv2 v1.0.0 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling codec_sv2 v1.0.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling stratum-common v1.0.0 [INFO] [stderr] Compiling roles_logic_sv2 v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling network_helpers_sv2 v2.0.0 [INFO] [stderr] Compiling async-compat v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling key-utils v1.0.0 [INFO] [stderr] Compiling sv1_api v1.0.0 [INFO] [stderr] Compiling translator_sv2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `with_serde` [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:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `with_serde` [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: fields `extranonce` and `extranonce2_len` are never read [INFO] [stdout] --> src/lib/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] = 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:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | SubmitSharesExtended( [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 15 | 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] 15 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 | SetNewPrevHash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 18 | NewExtendedMiningJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 19 | Notify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 20 | V1Message(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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] 21 | General(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 22 | Extranonce(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | SetCustomMiningJob( [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 24 | 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] 24 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | NewTemplate( [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 27 | / async_channel::SendError<( [INFO] [stdout] 28 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 29 | | Vec, [INFO] [stdout] 30 | | )>, [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] 27 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/lib/proxy/bridge.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 499 | pub struct OpenSv1Downstream { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 503 | pub target: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp_of_last_update` and `should_aggregate` are never read [INFO] [stdout] --> src/lib/proxy_config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct UpstreamDifficultyConfig { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub timestamp_of_last_update: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(default = "bool::default")] [INFO] [stdout] 42 | 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: struct `Sv2MiningConnection` is never constructed [INFO] [stdout] --> src/lib/upstream_sv2/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.13s [INFO] running `Command { std: "docker" "inspect" "5061d2f3f9d5953ffbcd30655b69fb0f8ccba40e7871b46fe545eda8b7524013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5061d2f3f9d5953ffbcd30655b69fb0f8ccba40e7871b46fe545eda8b7524013", kill_on_drop: false }` [INFO] [stdout] 5061d2f3f9d5953ffbcd30655b69fb0f8ccba40e7871b46fe545eda8b7524013 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ca69eae19436f949027690c3f84a6f22b9ee1b554c5a7f2e36f34f41edf2e4 [INFO] running `Command { std: "docker" "start" "-a" "c8ca69eae19436f949027690c3f84a6f22b9ee1b554c5a7f2e36f34f41edf2e4", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [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 digest v0.10.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling buffer_sv2 v1.0.0 [INFO] [stderr] Compiling binary_codec_sv2 v1.0.0 [INFO] [stderr] Compiling const_sv2 v1.0.0 [INFO] [stderr] Compiling const_sv2 v0.1.3 [INFO] [stderr] Compiling key-utils v1.0.0 [INFO] [stderr] Compiling noise_sv2 v1.1.0 [INFO] [stderr] Compiling binary_sv2 v1.0.0 [INFO] [stderr] Compiling framing_sv2 v1.0.0 [INFO] [stderr] Compiling common_messages_sv2 v1.0.0 [INFO] [stderr] Compiling mining_sv2 v1.0.0 [INFO] [stderr] Compiling template_distribution_sv2 v1.0.0 [INFO] [stderr] Compiling job_declaration_sv2 v1.0.0 [INFO] [stderr] Compiling sv1_api v1.0.0 [INFO] [stderr] Compiling codec_sv2 v1.0.1 [INFO] [stderr] Compiling network_helpers_sv2 v2.0.0 [INFO] [stderr] Compiling roles_logic_sv2 v1.0.0 [INFO] [stderr] Compiling translator_sv2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `with_serde` [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:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `with_serde` [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: fields `tx_sv1_submit`, `rx_sv2_submit_shares_ext`, `tx_sv2_set_new_prev_hash`, `tx_sv2_new_ext_mining_job`, and `rx_sv1_notify` are never read [INFO] [stdout] --> src/lib/proxy/bridge.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct BridgeInterface { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 518 | pub tx_sv1_submit: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 519 | pub rx_sv2_submit_shares_ext: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 520 | pub tx_sv2_set_new_prev_hash: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 521 | pub tx_sv2_new_ext_mining_job: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 522 | pub rx_sv1_notify: broadcast::Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib/upstream_sv2/upstream.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `with_serde` [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: fields `extranonce` and `extranonce2_len` are never read [INFO] [stdout] --> src/lib/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] = 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:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | SubmitSharesExtended( [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 15 | 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] 15 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 | SetNewPrevHash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 18 | NewExtendedMiningJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 19 | Notify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 20 | V1Message(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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] 21 | General(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 22 | Extranonce(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | SetCustomMiningJob( [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 24 | 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] 24 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | NewTemplate( [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 27 | / async_channel::SendError<( [INFO] [stdout] 28 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 29 | | Vec, [INFO] [stdout] 30 | | )>, [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] 27 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/lib/proxy/bridge.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 499 | pub struct OpenSv1Downstream { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 503 | pub target: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx_sv1_submit`, `rx_sv2_submit_shares_ext`, `tx_sv2_set_new_prev_hash`, `tx_sv2_new_ext_mining_job`, and `rx_sv1_notify` are never read [INFO] [stdout] --> src/lib/proxy/bridge.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct BridgeInterface { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 518 | pub tx_sv1_submit: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 519 | pub rx_sv2_submit_shares_ext: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 520 | pub tx_sv2_set_new_prev_hash: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 521 | pub tx_sv2_new_ext_mining_job: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 522 | pub rx_sv1_notify: broadcast::Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp_of_last_update` and `should_aggregate` are never read [INFO] [stdout] --> src/lib/proxy_config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct UpstreamDifficultyConfig { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub timestamp_of_last_update: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(default = "bool::default")] [INFO] [stdout] 42 | 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: struct `Sv2MiningConnection` is never constructed [INFO] [stdout] --> src/lib/upstream_sv2/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "c8ca69eae19436f949027690c3f84a6f22b9ee1b554c5a7f2e36f34f41edf2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ca69eae19436f949027690c3f84a6f22b9ee1b554c5a7f2e36f34f41edf2e4", kill_on_drop: false }` [INFO] [stdout] c8ca69eae19436f949027690c3f84a6f22b9ee1b554c5a7f2e36f34f41edf2e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 28770f79090f888ec96197a4c72ab0447fb28aa98727a7762c3f80f9a474dceb [INFO] running `Command { std: "docker" "start" "-a" "28770f79090f888ec96197a4c72ab0447fb28aa98727a7762c3f80f9a474dceb", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib/upstream_sv2/upstream.rs:115:16 [INFO] [stderr] | [INFO] [stderr] 115 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `with_serde` [INFO] [stderr] = help: consider adding `cargo-clippy` 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: fields `tx_sv1_submit`, `rx_sv2_submit_shares_ext`, `tx_sv2_set_new_prev_hash`, `tx_sv2_new_ext_mining_job`, and `rx_sv1_notify` are never read [INFO] [stderr] --> src/lib/proxy/bridge.rs:518:17 [INFO] [stderr] | [INFO] [stderr] 517 | pub struct BridgeInterface { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 518 | pub tx_sv1_submit: Sender, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 519 | pub rx_sv2_submit_shares_ext: Receiver>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 520 | pub tx_sv2_set_new_prev_hash: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 521 | pub tx_sv2_new_ext_mining_job: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 522 | pub rx_sv1_notify: broadcast::Receiver>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `translator_sv2` (lib) generated 1 warning [INFO] [stderr] warning: `translator_sv2` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] warning: fields `extranonce` and `extranonce2_len` are never read [INFO] [stderr] --> src/lib/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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 14 | SubmitSharesExtended( [INFO] [stderr] | -------------------- field in this variant [INFO] [stderr] 15 | 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] 15 | (), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | 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] 17 | SetNewPrevHash(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | 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] 18 | NewExtendedMiningJob(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | 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] 19 | Notify(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:20:15 [INFO] [stderr] | [INFO] [stderr] 20 | 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] 20 | V1Message(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | 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] 21 | General(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | 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] 22 | Extranonce(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 23 | SetCustomMiningJob( [INFO] [stderr] | ------------------ field in this variant [INFO] [stderr] 24 | 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] 24 | (), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | NewTemplate( [INFO] [stderr] | ----------- field in this variant [INFO] [stderr] 27 | / async_channel::SendError<( [INFO] [stderr] 28 | | roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stderr] 29 | | Vec, [INFO] [stderr] 30 | | )>, [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] 27 | (), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `target` is never read [INFO] [stderr] --> src/lib/proxy/bridge.rs:503:9 [INFO] [stderr] | [INFO] [stderr] 499 | pub struct OpenSv1Downstream { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 503 | pub target: Arc>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `tx_sv1_submit`, `rx_sv2_submit_shares_ext`, `tx_sv2_set_new_prev_hash`, `tx_sv2_new_ext_mining_job`, and `rx_sv1_notify` are never read [INFO] [stderr] --> src/lib/proxy/bridge.rs:518:17 [INFO] [stderr] | [INFO] [stderr] 517 | pub struct BridgeInterface { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 518 | pub tx_sv1_submit: Sender, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 519 | pub rx_sv2_submit_shares_ext: Receiver>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 520 | pub tx_sv2_set_new_prev_hash: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 521 | pub tx_sv2_new_ext_mining_job: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 522 | pub rx_sv1_notify: broadcast::Receiver>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `timestamp_of_last_update` and `should_aggregate` are never read [INFO] [stderr] --> src/lib/proxy_config.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct UpstreamDifficultyConfig { [INFO] [stderr] | ------------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 40 | pub timestamp_of_last_update: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 41 | #[serde(default = "bool::default")] [INFO] [stderr] 42 | 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: struct `Sv2MiningConnection` is never constructed [INFO] [stderr] --> src/lib/upstream_sv2/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Sv2MiningConnection { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Sv2MiningConnection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `translator_sv2` (bin "translator_sv2" test) generated 15 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib/mod.rs (/opt/rustwide/target/debug/deps/translator_sv2-71ced87676f2d8ea) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test downstream_sv1::downstream::tests::gets_difficulty_from_target ... ok [INFO] [stdout] test proxy::bridge::test::test_version_bits_insert ... ok [INFO] [stdout] test downstream_sv1::diff_management::test::test_converge_to_spm_from_low ... ok [INFO] [stdout] test downstream_sv1::diff_management::test::test_diff_management ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.08s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/translator_sv2-1064e140b81bc312) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test lib::downstream_sv1::downstream::tests::gets_difficulty_from_target ... ok [INFO] [stdout] test lib::proxy::bridge::test::test_version_bits_insert ... ok [INFO] [stdout] test lib::downstream_sv1::diff_management::test::test_converge_to_spm_from_low ... ok [INFO] [stdout] test lib::downstream_sv1::diff_management::test::test_diff_management ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.03s [INFO] [stdout] [INFO] [stderr] Doc-tests translator_sv2 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "28770f79090f888ec96197a4c72ab0447fb28aa98727a7762c3f80f9a474dceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28770f79090f888ec96197a4c72ab0447fb28aa98727a7762c3f80f9a474dceb", kill_on_drop: false }` [INFO] [stdout] 28770f79090f888ec96197a4c72ab0447fb28aa98727a7762c3f80f9a474dceb