[INFO] fetching crate titan-client 1.3.3... [INFO] testing titan-client-1.3.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate titan-client 1.3.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate titan-client 1.3.3 [INFO] finished tweaking crates.io crate titan-client 1.3.3 [INFO] tweaked toml for crates.io crate titan-client 1.3.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate titan-client 1.3.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate titan-client 1.3.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be9a2a87cac851bd79b3ffab016a91ec8d0344f3a348c6e326d58df43464e380 [INFO] running `Command { std: "docker" "start" "-a" "be9a2a87cac851bd79b3ffab016a91ec8d0344f3a348c6e326d58df43464e380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be9a2a87cac851bd79b3ffab016a91ec8d0344f3a348c6e326d58df43464e380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9a2a87cac851bd79b3ffab016a91ec8d0344f3a348c6e326d58df43464e380", kill_on_drop: false }` [INFO] [stdout] be9a2a87cac851bd79b3ffab016a91ec8d0344f3a348c6e326d58df43464e380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e685f0ce93727dfe53aa98a85528f70ab975cb9610564ec4718f3b13078815a8 [INFO] running `Command { std: "docker" "start" "-a" "e685f0ce93727dfe53aa98a85528f70ab975cb9610564ec4718f3b13078815a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling overload v0.1.1 [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 openssl-sys v0.9.104 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling titan-types-core v1.3.3 [INFO] [stderr] Compiling titan-types-api v1.3.3 [INFO] [stderr] Compiling titan-client v1.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut awaiting_pong = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong_timeout` [INFO] [stdout] --> src/tcp/tcp_client.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let pong_timeout = reconnect_settings.pong_timeout; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pong_timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_pong_time` [INFO] [stdout] --> src/tcp/tcp_client.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pong_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `awaiting_pong` [INFO] [stdout] --> src/tcp/tcp_client.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut awaiting_pong = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_awaiting_pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(handle) = worker_lock.take() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "e685f0ce93727dfe53aa98a85528f70ab975cb9610564ec4718f3b13078815a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e685f0ce93727dfe53aa98a85528f70ab975cb9610564ec4718f3b13078815a8", kill_on_drop: false }` [INFO] [stdout] e685f0ce93727dfe53aa98a85528f70ab975cb9610564ec4718f3b13078815a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb082b1daa46d6884a8bccda492b7851bd7ba297bf844ff9fb008714319ce782 [INFO] running `Command { std: "docker" "start" "-a" "fb082b1daa46d6884a8bccda492b7851bd7ba297bf844ff9fb008714319ce782", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut awaiting_pong = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong_timeout` [INFO] [stdout] --> src/tcp/tcp_client.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let pong_timeout = reconnect_settings.pong_timeout; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pong_timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_pong_time` [INFO] [stdout] --> src/tcp/tcp_client.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pong_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `awaiting_pong` [INFO] [stdout] --> src/tcp/tcp_client.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut awaiting_pong = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_awaiting_pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(handle) = worker_lock.take() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling titan-client v1.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/tcp/tcp_client.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | use std::net::{SocketAddr, TcpListener}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tcp/tcp_client.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/tcp/tcp_client.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SignalKind` and `signal` [INFO] [stdout] --> src/tcp/tcp_client.rs:539:31 [INFO] [stdout] | [INFO] [stdout] 539 | use tokio::signal::unix::{signal, SignalKind}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:570:28 [INFO] [stdout] | [INFO] [stdout] 570 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut awaiting_pong = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong_timeout` [INFO] [stdout] --> src/tcp/tcp_client.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let pong_timeout = reconnect_settings.pong_timeout; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pong_timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_pong_time` [INFO] [stdout] --> src/tcp/tcp_client.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pong_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `awaiting_pong` [INFO] [stdout] --> src/tcp/tcp_client.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut awaiting_pong = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_awaiting_pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/tcp/tcp_client.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | let rx = client [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/tcp/tcp_client.rs:968:13 [INFO] [stdout] | [INFO] [stdout] 968 | let rx = client [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/tcp/tcp_client.rs:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | let rx = client [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(handle) = worker_lock.take() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | let rx = client [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.21s [INFO] running `Command { std: "docker" "inspect" "fb082b1daa46d6884a8bccda492b7851bd7ba297bf844ff9fb008714319ce782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb082b1daa46d6884a8bccda492b7851bd7ba297bf844ff9fb008714319ce782", kill_on_drop: false }` [INFO] [stdout] fb082b1daa46d6884a8bccda492b7851bd7ba297bf844ff9fb008714319ce782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ae3f9a14048714abd8e3e02dab3f2fdb1dc3f21c5782017dfc9ba3ccc3c6d77 [INFO] running `Command { std: "docker" "start" "-a" "9ae3f9a14048714abd8e3e02dab3f2fdb1dc3f21c5782017dfc9ba3ccc3c6d77", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stdout] [INFO] [stderr] --> src/tcp/tcp_client.rs:223:17 [INFO] [stdout] running 19 tests [INFO] [stderr] | [INFO] [stdout] test tcp::reconnection::tests::test_max_attempts ... ok [INFO] [stderr] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stdout] test tcp::reconnection::tests::test_exponential_backoff ... ok [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stdout] test tcp::reconnection::tests::test_max_interval ... ok [INFO] [stderr] | | [INFO] [stdout] test tcp::reconnection::tests::test_unlimited_attempts ... ok [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/tcp/tcp_client.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | let mut awaiting_pong = false; [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pong_timeout` [INFO] [stderr] --> src/tcp/tcp_client.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | let pong_timeout = reconnect_settings.pong_timeout; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pong_timeout` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `last_pong_time` [INFO] [stderr] --> src/tcp/tcp_client.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pong_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `awaiting_pong` [INFO] [stderr] --> src/tcp/tcp_client.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | let mut awaiting_pong = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_awaiting_pong` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handle` [INFO] [stderr] --> src/tcp/tcp_client_blocking.rs:251:25 [INFO] [stderr] | [INFO] [stderr] 251 | if let Some(handle) = worker_lock.take() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpListener` [INFO] [stderr] --> src/tcp/tcp_client.rs:532:32 [INFO] [stderr] | [INFO] [stderr] 532 | use std::net::{SocketAddr, TcpListener}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/tcp/tcp_client.rs:533:9 [INFO] [stderr] | [INFO] [stderr] 533 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::select` [INFO] [stderr] --> src/tcp/tcp_client.rs:538:9 [INFO] [stderr] | [INFO] [stderr] 538 | use tokio::select; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SignalKind` and `signal` [INFO] [stderr] --> src/tcp/tcp_client.rs:539:31 [INFO] [stderr] | [INFO] [stderr] 539 | use tokio::signal::unix::{signal, SignalKind}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/tcp/tcp_client_blocking.rs:570:28 [INFO] [stderr] | [INFO] [stderr] 570 | use std::io::{BufRead, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> src/tcp/tcp_client.rs:817:13 [INFO] [stderr] | [INFO] [stderr] 817 | let rx = client [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> src/tcp/tcp_client.rs:968:13 [INFO] [stderr] | [INFO] [stderr] 968 | let rx = client [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> src/tcp/tcp_client.rs:1020:13 [INFO] [stderr] | [INFO] [stderr] 1020 | let rx = client [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> src/tcp/tcp_client_blocking.rs:657:13 [INFO] [stderr] | [INFO] [stderr] 657 | let rx = client [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stderr] [INFO] [stderr] warning: `titan-client` (lib) generated 6 warnings (run `cargo fix --lib -p titan-client` to apply 6 suggestions) [INFO] [stderr] warning: `titan-client` (lib test) generated 15 warnings (6 duplicates) (run `cargo fix --lib -p titan-client --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/titan_client-090dc5b9a85d63c0) [INFO] [stdout] test tcp::tcp_client_blocking::tests::test_resubscribe_stops_previous_thread ... ok [INFO] [stdout] test tcp::tcp_client_blocking::tests::test_resource_cleanup ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_async_shutdown_during_reconnect ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_async_receive_events ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_async_connection_status_transitions ... ok [INFO] [stdout] test tests::test_http_status_tip_e2e ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_multiple_subscribes ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_async_buffer_size_limit ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_shutdown_and_join ... ok [INFO] [stdout] test tcp::tcp_client_blocking::tests::test_connection_error_handling ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_async_connection_error_handling ... ok [INFO] [stdout] test tcp::tcp_client_blocking::tests::test_receive_events ... ok [INFO] [stdout] test tcp::tcp_client_blocking::tests::test_connection_status_transitions ... ok [INFO] [stdout] test tcp::tcp_client_blocking::tests::test_ping_pong_mechanism ... ok [INFO] [stdout] test tests::test_tcp_subscription_e2e ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.05s [INFO] [stdout] [INFO] [stderr] Doc-tests titan_client [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/tcp/tcp_client_blocking.rs - tcp::tcp_client_blocking::TcpClient (line 86) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tcp/tcp_client_blocking.rs - tcp::tcp_client_blocking::TcpClient (line 86) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `client` in this scope [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | use client::tcp_client_blocking::{TcpClient, TcpClientConfig}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `client`, use `cargo add client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/tcp/tcp_client_blocking.rs - tcp::tcp_client_blocking::TcpClient (line 86) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9ae3f9a14048714abd8e3e02dab3f2fdb1dc3f21c5782017dfc9ba3ccc3c6d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae3f9a14048714abd8e3e02dab3f2fdb1dc3f21c5782017dfc9ba3ccc3c6d77", kill_on_drop: false }` [INFO] [stdout] 9ae3f9a14048714abd8e3e02dab3f2fdb1dc3f21c5782017dfc9ba3ccc3c6d77