[INFO] fetching crate titan-client 0.1.48... [INFO] testing titan-client-0.1.48 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate titan-client 0.1.48 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate titan-client 0.1.48 [INFO] finished tweaking crates.io crate titan-client 0.1.48 [INFO] tweaked toml for crates.io crate titan-client 0.1.48 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate titan-client 0.1.48 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate titan-client 0.1.48 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c91bb908e6b64ab5e94a3e9ce9a1ebc661439095e25c39964552c1a2c9a7dbd [INFO] running `Command { std: "docker" "start" "-a" "1c91bb908e6b64ab5e94a3e9ce9a1ebc661439095e25c39964552c1a2c9a7dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c91bb908e6b64ab5e94a3e9ce9a1ebc661439095e25c39964552c1a2c9a7dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c91bb908e6b64ab5e94a3e9ce9a1ebc661439095e25c39964552c1a2c9a7dbd", kill_on_drop: false }` [INFO] [stdout] 1c91bb908e6b64ab5e94a3e9ce9a1ebc661439095e25c39964552c1a2c9a7dbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b425cc2bc707f569f05d1e5a85d8e6ed274ac5c9bb71e20fdc040eaf421b8212 [INFO] running `Command { std: "docker" "start" "-a" "b425cc2bc707f569f05d1e5a85d8e6ed274ac5c9bb71e20fdc040eaf421b8212", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling minreq v2.13.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [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 encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [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 derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling borsh-derive v1.5.3 [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 zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [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 darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 rand v0.8.5 [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 bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [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 bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Compiling ordinals v0.0.14 [INFO] [stderr] Compiling bitcoincore-rpc v0.19.0 [INFO] [stderr] Compiling titan-types v0.1.31 [INFO] [stderr] Compiling titan-client v0.1.48 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pong_timeout` [INFO] [stdout] --> src/tcp/tcp_client.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | 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:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | 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:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | 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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut awaiting_pong = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | 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 36s [INFO] running `Command { std: "docker" "inspect" "b425cc2bc707f569f05d1e5a85d8e6ed274ac5c9bb71e20fdc040eaf421b8212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b425cc2bc707f569f05d1e5a85d8e6ed274ac5c9bb71e20fdc040eaf421b8212", kill_on_drop: false }` [INFO] [stdout] b425cc2bc707f569f05d1e5a85d8e6ed274ac5c9bb71e20fdc040eaf421b8212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f2542af8d37e82d8df122c588873375bfa389ef99a34822f60ac8110732b572 [INFO] running `Command { std: "docker" "start" "-a" "7f2542af8d37e82d8df122c588873375bfa389ef99a34822f60ac8110732b572", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `pong_timeout` [INFO] [stdout] --> src/tcp/tcp_client.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | 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] [stderr] Compiling titan-client v0.1.48 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `last_pong_time` [INFO] [stdout] --> src/tcp/tcp_client.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | 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:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | 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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut awaiting_pong = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | 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 import: `TcpListener` [INFO] [stdout] --> src/tcp/tcp_client.rs:533:32 [INFO] [stdout] | [INFO] [stdout] 533 | 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:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/tcp/tcp_client.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SignalKind` and `signal` [INFO] [stdout] --> src/tcp/tcp_client.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | 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:561:28 [INFO] [stdout] | [INFO] [stdout] 561 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/lib.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | use titan_types::{Event, TcpSubscriptionRequest}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sleep` and `sync::watch` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | sync::watch, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | time::{sleep, Duration, Instant}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncClient as HttpClient` [INFO] [stdout] --> src/lib.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::http::{AsyncClient as HttpClient, TitanApiAsync as TitanApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong_timeout` [INFO] [stdout] --> src/tcp/tcp_client.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | 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:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | 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:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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: variable does not need to be mutable [INFO] [stdout] --> src/tcp/tcp_client.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | 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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut awaiting_pong = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/tcp/tcp_client.rs:818:13 [INFO] [stdout] | [INFO] [stdout] 818 | 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:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | 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:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | 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:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | 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:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | 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.03s [INFO] running `Command { std: "docker" "inspect" "7f2542af8d37e82d8df122c588873375bfa389ef99a34822f60ac8110732b572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2542af8d37e82d8df122c588873375bfa389ef99a34822f60ac8110732b572", kill_on_drop: false }` [INFO] [stdout] 7f2542af8d37e82d8df122c588873375bfa389ef99a34822f60ac8110732b572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 856acf848a8b71d7ad4e591d4781b2d3ca82d48e05af4414a280410a198e744a [INFO] running `Command { std: "docker" "start" "-a" "856acf848a8b71d7ad4e591d4781b2d3ca82d48e05af4414a280410a198e744a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `pong_timeout` [INFO] [stderr] --> src/tcp/tcp_client.rs:221:17 [INFO] [stderr] | [INFO] [stderr] 221 | 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:222:21 [INFO] [stderr] | [INFO] [stderr] 222 | 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:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | let mut awaiting_pong = false; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_awaiting_pong` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/tcp/tcp_client.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | let mut last_pong_time = std::time::Instant::now(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [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:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | let mut awaiting_pong = false; [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handle` [INFO] [stderr] --> src/tcp/tcp_client_blocking.rs:240:25 [INFO] [stderr] | [INFO] [stderr] 240 | 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:533:32 [INFO] [stderr] | [INFO] [stderr] 533 | 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:534:9 [INFO] [stderr] | [INFO] [stderr] 534 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::select` [INFO] [stderr] --> src/tcp/tcp_client.rs:539:9 [INFO] [stderr] | [INFO] [stderr] 539 | use tokio::select; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SignalKind` and `signal` [INFO] [stderr] --> src/tcp/tcp_client.rs:540:31 [INFO] [stderr] | [INFO] [stderr] 540 | use tokio::signal::unix::{signal, SignalKind}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/tcp/tcp_client_blocking.rs:561:28 [INFO] [stderr] | [INFO] [stderr] 561 | use std::io::{BufRead, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Event` [INFO] [stderr] --> src/lib.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | use titan_types::{Event, TcpSubscriptionRequest}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `sleep` and `sync::watch` [INFO] [stderr] --> src/lib.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | sync::watch, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 28 | time::{sleep, Duration, Instant}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncClient as HttpClient` [INFO] [stderr] --> src/lib.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | use crate::http::{AsyncClient as HttpClient, TitanApiAsync as TitanApi}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> src/tcp/tcp_client.rs:818:13 [INFO] [stderr] | [INFO] [stderr] 818 | 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:969:13 [INFO] [stderr] | [INFO] [stderr] 969 | 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:1021:13 [INFO] [stderr] | [INFO] [stderr] 1021 | 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:648:13 [INFO] [stderr] | [INFO] [stderr] 648 | 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 2 suggestions) [INFO] [stderr] warning: `titan-client` (lib test) generated 18 warnings (6 duplicates) (run `cargo fix --lib -p titan-client --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/titan_client-74ca0aacc9657480) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test tcp::reconnection::tests::test_exponential_backoff ... ok [INFO] [stdout] test tcp::reconnection::tests::test_max_attempts ... ok [INFO] [stdout] test tcp::reconnection::tests::test_max_interval ... ok [INFO] [stdout] test tcp::reconnection::tests::test_unlimited_attempts ... 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_connection_status_transitions ... ok [INFO] [stdout] test tcp::tcp_client::tests::test_async_receive_events ... 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. 18 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 85) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tcp/tcp_client_blocking.rs - tcp::tcp_client_blocking::TcpClient (line 85) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `client` [INFO] [stdout] --> src/tcp/tcp_client_blocking.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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 85) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "856acf848a8b71d7ad4e591d4781b2d3ca82d48e05af4414a280410a198e744a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "856acf848a8b71d7ad4e591d4781b2d3ca82d48e05af4414a280410a198e744a", kill_on_drop: false }` [INFO] [stdout] 856acf848a8b71d7ad4e591d4781b2d3ca82d48e05af4414a280410a198e744a