[INFO] fetching crate wsio-server 0.9.4... [INFO] testing wsio-server-0.9.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate wsio-server 0.9.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wsio-server 0.9.4 [INFO] finished tweaking crates.io crate wsio-server 0.9.4 [INFO] tweaked toml for crates.io crate wsio-server 0.9.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wsio-server 0.9.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wsio-server 0.9.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc11bd050cae1bf4f3898abe8a2ebb2bcdcb5098f7f14da04841470eae8f7320 [INFO] running `Command { std: "docker" "start" "-a" "dc11bd050cae1bf4f3898abe8a2ebb2bcdcb5098f7f14da04841470eae8f7320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc11bd050cae1bf4f3898abe8a2ebb2bcdcb5098f7f14da04841470eae8f7320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc11bd050cae1bf4f3898abe8a2ebb2bcdcb5098f7f14da04841470eae8f7320", kill_on_drop: false }` [INFO] [stdout] dc11bd050cae1bf4f3898abe8a2ebb2bcdcb5098f7f14da04841470eae8f7320 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a866869dceed47d15f14380fb977dfbec922d406b9ac864eaef44672d733bd6a [INFO] running `Command { std: "docker" "start" "-a" "a866869dceed47d15f14380fb977dfbec922d406b9ac864eaef44672d733bd6a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling wsio-core v0.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling wsio-server v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `init_timeout_task` is never read [INFO] [stdout] --> src/connection/mod.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct WsIoServerConnection { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | init_timeout_task: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle_event_packet`, `handle_init_packet`, `cleanup`, `handle_incoming_packet`, and `init` are never used [INFO] [stdout] --> src/connection/mod.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 111 | impl WsIoServerConnection { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 112 | #[inline] [INFO] [stdout] 113 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn handle_event_packet(self: &Arc, event: &str, packet_data: Option>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | async fn handle_init_packet(self: &Arc, packet_data: Option<&[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) async fn cleanup(self: &Arc) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub(crate) async fn handle_incoming_packet(self: &Arc, encoded_packet: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub(crate) async fn init(self: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NEXT_CONNECTION_ID` is never used [INFO] [stdout] --> src/connection/mod.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | static NEXT_CONNECTION_ID: LazyLock = LazyLock::new(|| AtomicU64::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_upgraded_request`, `handle_on_upgrade_request`, `insert_connection`, and `remove_connection` are never used [INFO] [stdout] --> src/namespace/mod.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 81 | impl WsIoServerNamespace { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | async fn handle_upgraded_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub(crate) async fn handle_on_upgrade_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub(crate) fn insert_connection(&self, connection: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub(crate) fn remove_connection(&self, id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_header_value` is never used [INFO] [stdout] --> src/request.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_header_value(request: &Request, name: HeaderName, expected_value: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_request` is never used [INFO] [stdout] --> src/request.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) async fn dispatch_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `respond` is never used [INFO] [stdout] --> src/request.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn respond(status: StatusCode) -> Result, E> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_connection_id` and `remove_connection_id` are never used [INFO] [stdout] --> src/runtime.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl WsIoServerRuntime { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn insert_connection_id(&self, connection_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn remove_connection_id(&self, id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.69s [INFO] running `Command { std: "docker" "inspect" "a866869dceed47d15f14380fb977dfbec922d406b9ac864eaef44672d733bd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a866869dceed47d15f14380fb977dfbec922d406b9ac864eaef44672d733bd6a", kill_on_drop: false }` [INFO] [stdout] a866869dceed47d15f14380fb977dfbec922d406b9ac864eaef44672d733bd6a [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4042a72821b92f34fb88db3c0a37c04fc2a692a947e672d715abb886a8d38c33 [INFO] running `Command { std: "docker" "start" "-a" "4042a72821b92f34fb88db3c0a37c04fc2a692a947e672d715abb886a8d38c33", kill_on_drop: false }` [INFO] [stdout] warning: field `init_timeout_task` is never read [INFO] [stdout] --> src/connection/mod.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct WsIoServerConnection { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | init_timeout_task: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle_event_packet`, `handle_init_packet`, `cleanup`, `handle_incoming_packet`, and `init` are never used [INFO] [stdout] --> src/connection/mod.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 111 | impl WsIoServerConnection { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 112 | #[inline] [INFO] [stdout] 113 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn handle_event_packet(self: &Arc, event: &str, packet_data: Option>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | async fn handle_init_packet(self: &Arc, packet_data: Option<&[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) async fn cleanup(self: &Arc) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub(crate) async fn handle_incoming_packet(self: &Arc, encoded_packet: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub(crate) async fn init(self: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NEXT_CONNECTION_ID` is never used [INFO] [stdout] --> src/connection/mod.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | static NEXT_CONNECTION_ID: LazyLock = LazyLock::new(|| AtomicU64::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_upgraded_request`, `handle_on_upgrade_request`, `insert_connection`, and `remove_connection` are never used [INFO] [stdout] --> src/namespace/mod.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 81 | impl WsIoServerNamespace { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | async fn handle_upgraded_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub(crate) async fn handle_on_upgrade_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub(crate) fn insert_connection(&self, connection: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub(crate) fn remove_connection(&self, id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_header_value` is never used [INFO] [stdout] --> src/request.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_header_value(request: &Request, name: HeaderName, expected_value: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_request` is never used [INFO] [stdout] --> src/request.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) async fn dispatch_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `respond` is never used [INFO] [stdout] --> src/request.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn respond(status: StatusCode) -> Result, E> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_connection_id` and `remove_connection_id` are never used [INFO] [stdout] --> src/runtime.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl WsIoServerRuntime { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn insert_connection_id(&self, connection_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn remove_connection_id(&self, id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wsio-server v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `init_timeout_task` is never read [INFO] [stdout] --> src/connection/mod.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct WsIoServerConnection { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | init_timeout_task: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle_event_packet`, `handle_init_packet`, `cleanup`, `handle_incoming_packet`, and `init` are never used [INFO] [stdout] --> src/connection/mod.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 111 | impl WsIoServerConnection { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 112 | #[inline] [INFO] [stdout] 113 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn handle_event_packet(self: &Arc, event: &str, packet_data: Option>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | async fn handle_init_packet(self: &Arc, packet_data: Option<&[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) async fn cleanup(self: &Arc) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub(crate) async fn handle_incoming_packet(self: &Arc, encoded_packet: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub(crate) async fn init(self: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NEXT_CONNECTION_ID` is never used [INFO] [stdout] --> src/connection/mod.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | static NEXT_CONNECTION_ID: LazyLock = LazyLock::new(|| AtomicU64::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_upgraded_request`, `handle_on_upgrade_request`, `insert_connection`, and `remove_connection` are never used [INFO] [stdout] --> src/namespace/mod.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 81 | impl WsIoServerNamespace { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | async fn handle_upgraded_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub(crate) async fn handle_on_upgrade_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub(crate) fn insert_connection(&self, connection: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub(crate) fn remove_connection(&self, id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_header_value` is never used [INFO] [stdout] --> src/request.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_header_value(request: &Request, name: HeaderName, expected_value: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_request` is never used [INFO] [stdout] --> src/request.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) async fn dispatch_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `respond` is never used [INFO] [stdout] --> src/request.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn respond(status: StatusCode) -> Result, E> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_connection_id` and `remove_connection_id` are never used [INFO] [stdout] --> src/runtime.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl WsIoServerRuntime { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn insert_connection_id(&self, connection_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn remove_connection_id(&self, id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "4042a72821b92f34fb88db3c0a37c04fc2a692a947e672d715abb886a8d38c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4042a72821b92f34fb88db3c0a37c04fc2a692a947e672d715abb886a8d38c33", kill_on_drop: false }` [INFO] [stdout] 4042a72821b92f34fb88db3c0a37c04fc2a692a947e672d715abb886a8d38c33 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 34da4a980a30d5850fafe77a7cf0ae45f64965af0d47cd04808366a8b2cc8454 [INFO] running `Command { std: "docker" "start" "-a" "34da4a980a30d5850fafe77a7cf0ae45f64965af0d47cd04808366a8b2cc8454", kill_on_drop: false }` [INFO] [stderr] warning: field `init_timeout_task` is never read [INFO] [stderr] --> src/connection/mod.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 88 | pub struct WsIoServerConnection { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 95 | init_timeout_task: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `handle_event_packet`, `handle_init_packet`, `cleanup`, `handle_incoming_packet`, and `init` are never used [INFO] [stderr] --> src/connection/mod.rs:113:19 [INFO] [stderr] | [INFO] [stderr] 111 | impl WsIoServerConnection { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 112 | #[inline] [INFO] [stderr] 113 | pub(crate) fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 142 | fn handle_event_packet(self: &Arc, event: &str, packet_data: Option>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | async fn handle_init_packet(self: &Arc, packet_data: Option<&[u8]>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | pub(crate) async fn cleanup(self: &Arc) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 282 | pub(crate) async fn handle_incoming_packet(self: &Arc, encoded_packet: &[u8]) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 298 | pub(crate) async fn init(self: &Arc) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `NEXT_CONNECTION_ID` is never used [INFO] [stderr] --> src/connection/mod.rs:454:8 [INFO] [stderr] | [INFO] [stderr] 454 | static NEXT_CONNECTION_ID: LazyLock = LazyLock::new(|| AtomicU64::new(0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `handle_upgraded_request`, `handle_on_upgrade_request`, `insert_connection`, and `remove_connection` are never used [INFO] [stderr] --> src/namespace/mod.rs:94:14 [INFO] [stderr] | [INFO] [stderr] 81 | impl WsIoServerNamespace { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 94 | async fn handle_upgraded_request( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 197 | pub(crate) async fn handle_on_upgrade_request( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | pub(crate) fn insert_connection(&self, connection: Arc) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 218 | pub(crate) fn remove_connection(&self, id: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_header_value` is never used [INFO] [stderr] --> src/request.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn check_header_value(request: &Request, name: HeaderName, expected_value: &[u8]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dispatch_request` is never used [INFO] [stderr] --> src/request.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | pub(super) async fn dispatch_request( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `respond` is never used [INFO] [stderr] --> src/request.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn respond(status: StatusCode) -> Result, E> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `insert_connection_id` and `remove_connection_id` are never used [INFO] [stderr] --> src/runtime.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 47 | impl WsIoServerRuntime { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 90 | pub(crate) fn insert_connection_id(&self, connection_id: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub(crate) fn remove_connection_id(&self, id: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wsio-server` (lib) generated 8 warnings [INFO] [stderr] warning: `wsio-server` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wsio_server-cf249b9a766200ad) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wsio_server [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34da4a980a30d5850fafe77a7cf0ae45f64965af0d47cd04808366a8b2cc8454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34da4a980a30d5850fafe77a7cf0ae45f64965af0d47cd04808366a8b2cc8454", kill_on_drop: false }` [INFO] [stdout] 34da4a980a30d5850fafe77a7cf0ae45f64965af0d47cd04808366a8b2cc8454