[INFO] cloning repository https://github.com/sschepis/stratum-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sschepis/stratum-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsschepis%2Fstratum-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsschepis%2Fstratum-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ad060f7008a6e5446a3735826dccffa45ec022c [INFO] checking sschepis/stratum-client against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsschepis%2Fstratum-client" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 56% (820/1461) Updating files: 57% (833/1461) Updating files: 58% (848/1461) Updating files: 59% (862/1461) Updating files: 60% (877/1461) Updating files: 61% (892/1461) Updating files: 62% (906/1461) Updating files: 63% (921/1461) Updating files: 64% (936/1461) Updating files: 65% (950/1461) Updating files: 66% (965/1461) Updating files: 67% (979/1461) Updating files: 68% (994/1461) Updating files: 69% (1009/1461) Updating files: 70% (1023/1461) Updating files: 71% (1038/1461) Updating files: 72% (1052/1461) Updating files: 73% (1067/1461) Updating files: 74% (1082/1461) Updating files: 75% (1096/1461) Updating files: 76% (1111/1461) Updating files: 77% (1125/1461) Updating files: 78% (1140/1461) Updating files: 79% (1155/1461) Updating files: 80% (1169/1461) Updating files: 81% (1184/1461) Updating files: 82% (1199/1461) Updating files: 83% (1213/1461) Updating files: 83% (1221/1461) Updating files: 84% (1228/1461) Updating files: 85% (1242/1461) Updating files: 86% (1257/1461) Updating files: 87% (1272/1461) Updating files: 88% (1286/1461) Updating files: 89% (1301/1461) Updating files: 90% (1315/1461) Updating files: 91% (1330/1461) Updating files: 92% (1345/1461) Updating files: 93% (1359/1461) Updating files: 94% (1374/1461) Updating files: 95% (1388/1461) Updating files: 96% (1403/1461) Updating files: 97% (1418/1461) Updating files: 98% (1432/1461) Updating files: 99% (1447/1461) Updating files: 100% (1461/1461) Updating files: 100% (1461/1461), done. [INFO] started tweaking git repo https://github.com/sschepis/stratum-client [INFO] finished tweaking git repo https://github.com/sschepis/stratum-client [INFO] tweaked toml for git repo https://github.com/sschepis/stratum-client written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sschepis/stratum-client on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sschepis/stratum-client 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7dd5da530d3fb22021de108cafc345205539397f287f0069c6a8b108a851d3e [INFO] running `Command { std: "docker" "start" "-a" "f7dd5da530d3fb22021de108cafc345205539397f287f0069c6a8b108a851d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7dd5da530d3fb22021de108cafc345205539397f287f0069c6a8b108a851d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7dd5da530d3fb22021de108cafc345205539397f287f0069c6a8b108a851d3e", kill_on_drop: false }` [INFO] [stdout] f7dd5da530d3fb22021de108cafc345205539397f287f0069c6a8b108a851d3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f57f2fda22c26b59329dc102017182714977bc3d6daaafd01e4b62aea598e7d3 [INFO] running `Command { std: "docker" "start" "-a" "f57f2fda22c26b59329dc102017182714977bc3d6daaafd01e4b62aea598e7d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking rust-stratum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Instant` and `collections::HashMap` [INFO] [stdout] --> src/stratum/v1/jobs.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | sync::Arc, [INFO] [stdout] 11 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant` and `collections::HashMap` [INFO] [stdout] --> src/stratum/v1/jobs.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | sync::Arc, [INFO] [stdout] 11 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_alive` is never read [INFO] [stdout] --> src/stratum/v1/jobs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JobManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 18 | job_from_stratum_tx: tokio::sync::mpsc::UnboundedSender, [INFO] [stdout] 19 | is_alive: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobManager` has a derived impl for the trait `Clone`, 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: method `stats` is never used [INFO] [stdout] --> src/stratum/v1/connection.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 65 | impl StratumConnection { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn stats(&self) -> ConnectionStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_alive` is never read [INFO] [stdout] --> src/stratum/v1/jobs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JobManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 18 | job_from_stratum_tx: tokio::sync::mpsc::UnboundedSender, [INFO] [stdout] 19 | is_alive: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `subscribe`, `authorize`, and `submit` are never used [INFO] [stdout] --> src/stratum/v1/protocol.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl JsonRpcRequest { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 38 | /// Create a new request with the given method and parameters [INFO] [stdout] 39 | pub fn new(id: u64, method: impl Into, params: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn subscribe(id: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn authorize(id: u64, username: &str, password: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn submit(id: u64, job_id: &str, extranonce2: &str, ntime: &str, nonce: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ok`, `err`, `is_ok`, `is_err`, and `error_message` are never used [INFO] [stdout] --> src/stratum/v1/protocol.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl JsonRpcResponse { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 85 | /// Create a new successful response [INFO] [stdout] 86 | pub fn ok(id: u64, result: Value) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn err(id: u64, error: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn error_message(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `mpsc` [INFO] [stdout] --> examples/test_server.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | net::{TcpListener, TcpStream}, [INFO] [stdout] 7 | sync::{mpsc, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `difficulty` is never read [INFO] [stdout] --> examples/test_server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct MiningSession { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | difficulty: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> tests/integration_tests.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `difficulty` [INFO] [stdout] --> tests/integration_tests.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | async fn setup_test_server(difficulty: f64) -> (TcpListener, String, u16) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_tests.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let (mut socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_tests.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | let (mut socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_tests.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | let (mut socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_tests.rs:414:14 [INFO] [stdout] | [INFO] [stdout] 414 | let (mut socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.70s [INFO] running `Command { std: "docker" "inspect" "f57f2fda22c26b59329dc102017182714977bc3d6daaafd01e4b62aea598e7d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57f2fda22c26b59329dc102017182714977bc3d6daaafd01e4b62aea598e7d3", kill_on_drop: false }` [INFO] [stdout] f57f2fda22c26b59329dc102017182714977bc3d6daaafd01e4b62aea598e7d3