[INFO] fetching crate translator_sv2 0.1.1... [INFO] testing translator_sv2-0.1.1 against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [INFO] extracting crate translator_sv2 0.1.1 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate translator_sv2 0.1.1 on toolchain 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded key-utils v1.0.0 [INFO] [stderr] Downloaded const_sv2 v1.0.0 [INFO] [stderr] Downloaded sv1_api v1.0.0 [INFO] [stderr] Downloaded const_sv2 v0.1.3 [INFO] [stderr] Downloaded common_messages_sv2 v1.0.0 [INFO] [stderr] Downloaded async-recursion v0.3.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.3.2 [INFO] [stderr] Downloaded async-compat v0.2.3 [INFO] [stderr] Downloaded noise_sv2 v1.1.0 [INFO] [stderr] Downloaded buffer_sv2 v1.0.0 [INFO] [stderr] Downloaded polling v3.7.0 [INFO] [stderr] Downloaded job_declaration_sv2 v1.0.0 [INFO] [stderr] Downloaded roles_logic_sv2 v1.0.0 [INFO] [stderr] Downloaded async-io v2.3.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.11.0 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded secp256k1 v0.24.3 [INFO] [stderr] Downloaded bytes v1.6.0 [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded blocking v1.6.0 [INFO] [stderr] Downloaded mining_sv2 v1.0.0 [INFO] [stderr] Downloaded template_distribution_sv2 v1.0.0 [INFO] [stderr] Downloaded binary_codec_sv2 v1.0.0 [INFO] [stderr] Downloaded error_handling v1.0.0 [INFO] [stderr] Downloaded codec_sv2 v1.0.1 [INFO] [stderr] Downloaded network_helpers_sv2 v2.0.0 [INFO] [stderr] Downloaded framing_sv2 v1.0.0 [INFO] [stderr] Downloaded derive_codec_sv2 v1.0.0 [INFO] [stderr] Downloaded tokio v1.37.0 [INFO] [stderr] Downloaded serde_derive v1.0.200 [INFO] [stderr] Downloaded value-bag v1.9.0 [INFO] [stderr] Downloaded stratum-common v1.0.0 [INFO] [stderr] Downloaded bitcoin v0.29.2 [INFO] [stderr] Downloaded secp256k1-sys v0.6.1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 231f1679d002498a281e80983a079f1d5003e168da4923171860f73c74be7402 [INFO] running `Command { std: "docker" "start" "-a" "231f1679d002498a281e80983a079f1d5003e168da4923171860f73c74be7402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "231f1679d002498a281e80983a079f1d5003e168da4923171860f73c74be7402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231f1679d002498a281e80983a079f1d5003e168da4923171860f73c74be7402", kill_on_drop: false }` [INFO] [stdout] 231f1679d002498a281e80983a079f1d5003e168da4923171860f73c74be7402 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 250050d60c30c70f7e2cbc0b6990c44cb872d6d4c1e16778a47000628b660437 [INFO] running `Command { std: "docker" "start" "-a" "250050d60c30c70f7e2cbc0b6990c44cb872d6d4c1e16778a47000628b660437", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling parking v2.2.0 [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 slab v0.4.9 [INFO] [stderr] Compiling binary_codec_sv2 v1.0.0 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling derive_codec_sv2 v1.0.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [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 rand_core v0.6.4 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 aes v0.8.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling blocking v1.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling buffer_sv2 v1.0.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling bech32 v0.9.1 [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 sharded-slab v0.1.7 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling bitcoin_hashes v0.3.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling error_handling v1.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling const_sv2 v1.0.0 [INFO] [stderr] Compiling const_sv2 v0.1.3 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling noise_sv2 v1.1.0 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [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 tracing v0.1.40 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling binary_sv2 v1.0.0 [INFO] [stderr] Compiling framing_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 common_messages_sv2 v1.0.0 [INFO] [stderr] Compiling codec_sv2 v1.0.1 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling async-io v2.3.2 [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 tokio-util v0.7.11 [INFO] [stderr] Compiling async-compat v0.2.3 [INFO] [stderr] Compiling network_helpers_sv2 v2.0.0 [INFO] [stderr] Compiling key-utils v1.0.0 [INFO] [stderr] Compiling toml v0.5.11 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/downstream_sv1/downstream.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result> { [INFO] [stdout] | ++++ [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)]` (part of `#[warn(unused)]`) 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 - async_channel::SendError>, [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(async_channel::SendError>), [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(async_channel::SendError>), [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(tokio::sync::broadcast::error::SendError>), [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(async_channel::SendError), [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(String), [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(async_channel::SendError<(ExtendedExtranonce, u32)>), [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 - async_channel::SendError>, [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 - async_channel::SendError<( [INFO] [stdout] 28 - roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 29 - Vec, [INFO] [stdout] 30 - )>, [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] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/downstream_sv1/downstream.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.29s [INFO] running `Command { std: "docker" "inspect" "250050d60c30c70f7e2cbc0b6990c44cb872d6d4c1e16778a47000628b660437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250050d60c30c70f7e2cbc0b6990c44cb872d6d4c1e16778a47000628b660437", kill_on_drop: false }` [INFO] [stdout] 250050d60c30c70f7e2cbc0b6990c44cb872d6d4c1e16778a47000628b660437 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 305be5f1575517c088f65ab066de713d975e2d3b6a85b67ffee17903db20f5d9 [INFO] running `Command { std: "docker" "start" "-a" "305be5f1575517c088f65ab066de713d975e2d3b6a85b67ffee17903db20f5d9", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [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 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 aes-gcm v0.10.3 [INFO] [stderr] Compiling secp256k1 v0.28.2 [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 job_declaration_sv2 v1.0.0 [INFO] [stderr] Compiling mining_sv2 v1.0.0 [INFO] [stderr] Compiling common_messages_sv2 v1.0.0 [INFO] [stderr] Compiling template_distribution_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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/downstream_sv1/downstream.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result> { [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/downstream_sv1/downstream.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result> { [INFO] [stdout] | ++++ [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)]` (part of `#[warn(unused)]`) 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 - async_channel::SendError>, [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(async_channel::SendError>), [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(async_channel::SendError>), [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(tokio::sync::broadcast::error::SendError>), [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(async_channel::SendError), [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(String), [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(async_channel::SendError<(ExtendedExtranonce, u32)>), [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 - async_channel::SendError>, [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 - async_channel::SendError<( [INFO] [stdout] 28 - roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stdout] 29 - Vec, [INFO] [stdout] 30 - )>, [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] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/downstream_sv1/downstream.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 567 | fn notify(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.56s [INFO] running `Command { std: "docker" "inspect" "305be5f1575517c088f65ab066de713d975e2d3b6a85b67ffee17903db20f5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "305be5f1575517c088f65ab066de713d975e2d3b6a85b67ffee17903db20f5d9", kill_on_drop: false }` [INFO] [stdout] 305be5f1575517c088f65ab066de713d975e2d3b6a85b67ffee17903db20f5d9 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0882ccf07f66189c63247af53bcef548d065a39cb243cb4c2d78c1d66c10a178 [INFO] running `Command { std: "docker" "start" "-a" "0882ccf07f66189c63247af53bcef548d065a39cb243cb4c2d78c1d66c10a178", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib/downstream_sv1/downstream.rs:567:15 [INFO] [stderr] | [INFO] [stderr] 567 | fn notify(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 567 | fn notify(&mut self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `translator_sv2` (lib) generated 2 warnings (run `cargo fix --lib -p translator_sv2` to apply 1 suggestion) [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)]` (part of `#[warn(unused)]`) 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 - async_channel::SendError>, [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(async_channel::SendError>), [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(async_channel::SendError>), [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(tokio::sync::broadcast::error::SendError>), [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(async_channel::SendError), [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(String), [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(async_channel::SendError<(ExtendedExtranonce, u32)>), [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 - async_channel::SendError>, [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 - async_channel::SendError<( [INFO] [stderr] 28 - roles_logic_sv2::template_distribution_sv2::SetNewPrevHash<'a>, [INFO] [stderr] 29 - Vec, [INFO] [stderr] 30 - )>, [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] warning: `translator_sv2` (bin "translator_sv2" test) generated 16 warnings (2 duplicates) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `translator_sv2` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib/mod.rs (/opt/rustwide/target/debug/deps/translator_sv2-559c63ad2c17050c) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test proxy::bridge::test::test_version_bits_insert ... ok [INFO] [stdout] test downstream_sv1::downstream::tests::gets_difficulty_from_target ... 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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/translator_sv2-9a3197b19a6b7530) [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.16s [INFO] [stdout] [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 ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--bin translator_sv2` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- lib::downstream_sv1::diff_management::test::test_diff_management stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'lib::downstream_sv1::diff_management::test::test_diff_management' (30) panicked at src/lib/downstream_sv1/diff_management.rs:349:9: [INFO] [stdout] Calculated shares per minute are outside the 99% confidence interval. Error: 287.30457, Error margin: 189.73665961010275, 1287.3046 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6408019c5d72 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6408019c5d72 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6408019c5d72 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6408019c5d72 - ::fmt::h6d82c1afff976903 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6408019d7f5f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6408019d7f5f - core::fmt::write::hb1e7ca88b6a3936e [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x640801992df3 - std::io::default_write_fmt::haffd49d96f1984a8 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x640801992df3 - std::io::Write::write_fmt::h027871c57cf57c01 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64080199ee22 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6408019a3d5f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6408019a3bf1 - std::panicking::default_hook::hed93c70cba5fdcf0 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6408018037be - as core::ops::function::Fn>::call::hd0ee8b569efc6a07 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x6408018037be - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6408019a441f - as core::ops::function::Fn>::call::h3a55ca34534c0d00 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x6408019a441f - std::panicking::panic_with_hook::h3862d766c2cec19b [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6408019a41ca - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64080199ef69 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64080198768d - __rustc[6ed5915ee467787]::rust_begin_unwind [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6408019e04e0 - core::panicking::panic_fmt::h3454303eb8e6f7cd [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6408017ba0b9 - translator_sv2::lib::downstream_sv1::diff_management::test::test_diff_management::h562f41155f327700 [INFO] [stdout] at /opt/rustwide/workdir/src/lib/downstream_sv1/diff_management.rs:349:9 [INFO] [stdout] 20: 0x6408017ba1f7 - translator_sv2::lib::downstream_sv1::diff_management::test::test_diff_management::{{closure}}::he86d675542c72f3a [INFO] [stdout] at /opt/rustwide/workdir/src/lib/downstream_sv1/diff_management.rs:321:30 [INFO] [stdout] 21: 0x6408017ad936 - core::ops::function::FnOnce::call_once::hb601a3205295539f [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x64080180359b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x64080180359b - test::__rust_begin_short_backtrace::ha40f4db8207e1111 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x64080181761d - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x64080181761d - as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x64080181761d - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 27: 0x64080181761d - std::panicking::catch_unwind::h51ea89627559b6f4 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 28: 0x64080181761d - std::panic::catch_unwind::hb8b8c2367cae3d66 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x64080181761d - test::run_test_in_process::ha5b55801407ea100 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x64080181761d - test::run_test::{{closure}}::h0b9d4072b527abf5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x6408017f0b34 - test::run_test::{{closure}}::hb1056b5731205822 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x6408017f0b34 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x6408017f446a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 34: 0x6408017f446a - as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x6408017f446a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x6408017f446a - std::panicking::catch_unwind::hea9118f355699c4b [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x6408017f446a - std::panic::catch_unwind::hf4b3c2a06d3f42f5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x6408017f446a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 39: 0x6408017f446a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x64080199a35f - as core::ops::function::FnOnce>::call_once::h7ec433abd3f148b4 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 41: 0x64080199a35f - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 42: 0x747ce4c26aa4 - [INFO] [stdout] 43: 0x747ce4cb3a64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] lib::downstream_sv1::diff_management::test::test_diff_management [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0882ccf07f66189c63247af53bcef548d065a39cb243cb4c2d78c1d66c10a178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0882ccf07f66189c63247af53bcef548d065a39cb243cb4c2d78c1d66c10a178", kill_on_drop: false }` [INFO] [stdout] 0882ccf07f66189c63247af53bcef548d065a39cb243cb4c2d78c1d66c10a178