[INFO] fetching crate hyper-function-core 0.1.1...
[INFO] checking hyper-function-core-0.1.1 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] extracting crate hyper-function-core 0.1.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate hyper-function-core 0.1.1
[INFO] finished tweaking crates.io crate hyper-function-core 0.1.1
[INFO] tweaked toml for crates.io crate hyper-function-core 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hyper-function-core 0.1.1 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 177 packages to latest compatible versions
[INFO] [stderr]       Adding dashmap v5.5.3 (available: v6.1.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding hyper v0.14.32 (available: v1.8.0)
[INFO] [stderr]       Adding hyper-tungstenite v0.6.0 (available: v0.19.0)
[INFO] [stderr]       Adding rustls v0.20.9 (available: v0.23.35)
[INFO] [stderr]       Adding rusty_ulid v1.0.0 (available: v2.0.0)
[INFO] [stderr]       Adding tokio-tungstenite v0.16.1 (available: v0.28.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rusty_ulid v1.0.0
[INFO] [stderr]   Downloaded tokio-tungstenite v0.17.2
[INFO] [stderr]   Downloaded hyper-tungstenite v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa5aa82798689adc01f0c449103544d504cf8c155cc4746c48fd75c4f2a3aeb9
[INFO] running `Command { std: "docker" "start" "-a" "fa5aa82798689adc01f0c449103544d504cf8c155cc4746c48fd75c4f2a3aeb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa5aa82798689adc01f0c449103544d504cf8c155cc4746c48fd75c4f2a3aeb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa5aa82798689adc01f0c449103544d504cf8c155cc4746c48fd75c4f2a3aeb9", kill_on_drop: false }`
[INFO] [stdout] fa5aa82798689adc01f0c449103544d504cf8c155cc4746c48fd75c4f2a3aeb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 774eab0f0e4167362003f8c50a71fddba0c0b8d85eccc8795d22278bcf18fa37
[INFO] running `Command { std: "docker" "start" "-a" "774eab0f0e4167362003f8c50a71fddba0c0b8d85eccc8795d22278bcf18fa37", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking webpki v0.22.4
[INFO] [stderr]    Compiling doc-comment v0.3.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking rustls v0.20.9
[INFO] [stderr]     Checking rmp v0.8.14
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking tungstenite v0.17.3
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking rmp-serde v1.3.0
[INFO] [stderr]     Checking rusty_ulid v1.0.0
[INFO] [stderr]     Checking tungstenite v0.16.0
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tokio-tungstenite v0.17.2
[INFO] [stderr]     Checking tokio-tungstenite v0.16.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tungstenite v0.6.0
[INFO] [stderr]     Checking hyper-function-core v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `open`
[INFO] [stdout]   --> src/gateway/gateway.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     Packet::OPEN(open) => {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_open`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `close`
[INFO] [stdout]   --> src/gateway/gateway.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     Packet::CLOSE(close) => {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ping`
[INFO] [stdout]   --> src/gateway/gateway.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Packet::PING(ping) => {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pong`
[INFO] [stdout]   --> src/gateway/gateway.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     Packet::PONG(pong) => {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_pong`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retry`
[INFO] [stdout]   --> src/gateway/gateway.rs:44:35
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     Packet::RETRY(retry) => {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_retry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redirect`
[INFO] [stdout]   --> src/gateway/gateway.rs:47:38
[INFO] [stdout]    |
[INFO] [stdout] 47 |                     Packet::REDIRECT(redirect) => {
[INFO] [stdout]    |                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ack`
[INFO] [stdout]   --> src/gateway/gateway.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     Packet::ACK(ack) => {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `open`
[INFO] [stdout]    --> src/server/socket.rs:101:38
[INFO] [stdout]     |
[INFO] [stdout] 101 |                         Packet::OPEN(open) => {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_open`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `close`
[INFO] [stdout]    --> src/server/socket.rs:104:39
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         Packet::CLOSE(close) => {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ping`
[INFO] [stdout]    --> src/server/socket.rs:108:38
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         Packet::PING(ping) => {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pong`
[INFO] [stdout]    --> src/server/socket.rs:111:38
[INFO] [stdout]     |
[INFO] [stdout] 111 |                         Packet::PONG(pong) => {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_pong`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ack`
[INFO] [stdout]    --> src/server/socket.rs:120:37
[INFO] [stdout]     |
[INFO] [stdout] 120 |                         Packet::ACK(ack) => {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/server/socket.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     Action::SendPing(action) => {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/server/socket.rs:83:35
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     Action::Close(action) => {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sink`
[INFO] [stdout]    --> src/server/transport.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |         sink: &mut SplitSink<WebSocketStream<Upgraded>, Message>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_sink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dev` is never read
[INFO] [stdout]  --> src/gateway/gateway.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Gateway {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 9 |     pub dev: bool,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ping_interval`, `ping_timeout`, `compress_size`, and `compress_method` are never read
[INFO] [stdout]   --> src/gateway/transport.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct PacketOpen {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 27 |     pub ping_interval: u8,   // ping interval second
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub ping_timeout: u8,    // ping timeout second
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 29 |     pub compress_size: u8, // min compress size kb, message payload great than this should be compress
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub compress_method: u8, // compression method 0: no, 1: defalte
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketOpen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]   --> src/gateway/transport.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct PacketClose {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 35 |     pub reason: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketClose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `delay` is never read
[INFO] [stdout]   --> src/gateway/transport.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct PacketRetry {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 45 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketRetry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `delay` and `target` are never read
[INFO] [stdout]   --> src/gateway/transport.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct PacketRedirect {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 50 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 51 |     pub target: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketRedirect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `compress` are never read
[INFO] [stdout]   --> src/gateway/transport.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct PacketMessage {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 56 |     pub id: i32,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub compress: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `pkg_id` are never read
[INFO] [stdout]   --> src/gateway/transport.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct PacketAck {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 66 |     pub id: i32,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 67 |     pub pkg_id: i32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketAck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client_id`, `session_id`, `client_ts`, and `client_version` are never read
[INFO] [stdout]   --> src/server/socket.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Socket {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |     pub id: String,
[INFO] [stdout] 19 |     pub client_id: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 20 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub client_ts: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 22 |     pub client_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/server/transport.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |     RETRY(PacketRetry),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     RETRY(PacketRetry),
[INFO] [stdout] 15 +     RETRY(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/server/transport.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     RESET(PacketReset),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     RESET(PacketReset),
[INFO] [stdout] 16 +     RESET(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/server/transport.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     REDIRECT(PacketRedirect),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 17 -     REDIRECT(PacketRedirect),
[INFO] [stdout] 17 +     REDIRECT(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ping_interval` and `ping_timeout` are never read
[INFO] [stdout]   --> src/server/transport.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct PacketOpen {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 27 |     pub ping_interval: u8, // ping interval second
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub ping_timeout: u8,  // ping timeout second
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketOpen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]   --> src/server/transport.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PacketClose {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 33 |     pub reason: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketClose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `delay` is never read
[INFO] [stdout]   --> src/server/transport.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct PacketRetry {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 43 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketRetry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `delay` is never read
[INFO] [stdout]   --> src/server/transport.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct PacketReset {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 48 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketReset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `delay` and `target` are never read
[INFO] [stdout]   --> src/server/transport.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct PacketRedirect {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 53 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 54 |     pub target: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketRedirect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/server/transport.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct PacketMessage {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 59 |     pub id: i32,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `pkg_id` are never read
[INFO] [stdout]   --> src/server/transport.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct PacketAck {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 67 |     pub id: i32,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 68 |     pub pkg_id: i32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketAck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `send_packet` is never used
[INFO] [stdout]    --> src/server/transport.rs:102:18
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl Transport {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub async fn send_packet(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         READ_CHAN_RX.set(read_rx).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let upstream_id = unsafe { UPSTREAM_ID.clone() };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:159:28
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let read_rx = unsafe { READ_CHAN_RX.get_mut().unwrap() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let read_rx = unsafe { READ_CHAN_RX.get_mut().unwrap() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:182:28
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let read_rx = unsafe { READ_CHAN_RX.get_mut().unwrap() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |         socket_chan.send(Action::SendMessage(ActionSendMessage { payload }));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let _ = socket_chan.send(Action::SendMessage(ActionSendMessage { payload }));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/server/server.rs:78:35
[INFO] [stdout]    |
[INFO] [stdout] 78 |             if app_id.ne(unsafe { &APP_ID }) {
[INFO] [stdout]    |                                   ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |             if app_id.ne(unsafe { &raw const APP_ID }) {
[INFO] [stdout]    |                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         socket_write_chan_tx.send(Action::SendOpen(ActionSendOpen {
[INFO] [stdout] 59 | |             ping_interval: 25,
[INFO] [stdout] 60 | |             ping_timeout: 20,
[INFO] [stdout] 61 | |         }));
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = socket_write_chan_tx.send(Action::SendOpen(ActionSendOpen {
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 | /                         Transport::send_open_packet(
[INFO] [stdout] 71 | |                             &mut sink,
[INFO] [stdout] 72 | |                             action.ping_interval,
[INFO] [stdout] 73 | |                             action.ping_timeout,
[INFO] [stdout] 74 | |                         )
[INFO] [stdout] 75 | |                         .await;
[INFO] [stdout]    | |______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |                         let _ = Transport::send_open_packet(
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |                         Transport::send_ping_packet(&mut sink).await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 78 |                         let _ = Transport::send_ping_packet(&mut sink).await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         Transport::send_message_packet(&mut sink, action.payload).await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         let _ = Transport::send_message_packet(&mut sink, action.payload).await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:84:25
[INFO] [stdout]    |
[INFO] [stdout] 84 |                         Transport::send_close_packet(&mut sink, "").await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 84 |                         let _ = Transport::send_close_packet(&mut sink, "").await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |                         close_tx_clone.send(()).await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 85 |                         let _ = close_tx_clone.send(()).await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 | ...                   close_tx_clone.send(()).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 105 |                             let _ = close_tx_clone.send(()).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |             close_tx_clone.send(()).await;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let _ = close_tx_clone.send(()).await;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:143:21
[INFO] [stdout]     |
[INFO] [stdout] 143 |                     close_tx_clone.send(()).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 143 |                     let _ = close_tx_clone.send(()).await;
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 socket_write_chan_tx.send(Action::SendPing(ActionSendPing {}));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 let _ = socket_write_chan_tx.send(Action::SendPing(ActionSendPing {}));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `open`
[INFO] [stdout]   --> src/gateway/gateway.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     Packet::OPEN(open) => {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_open`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `close`
[INFO] [stdout]   --> src/gateway/gateway.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     Packet::CLOSE(close) => {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ping`
[INFO] [stdout]   --> src/gateway/gateway.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Packet::PING(ping) => {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pong`
[INFO] [stdout]   --> src/gateway/gateway.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     Packet::PONG(pong) => {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_pong`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retry`
[INFO] [stdout]   --> src/gateway/gateway.rs:44:35
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     Packet::RETRY(retry) => {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_retry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redirect`
[INFO] [stdout]   --> src/gateway/gateway.rs:47:38
[INFO] [stdout]    |
[INFO] [stdout] 47 |                     Packet::REDIRECT(redirect) => {
[INFO] [stdout]    |                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ack`
[INFO] [stdout]   --> src/gateway/gateway.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     Packet::ACK(ack) => {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet`
[INFO] [stdout]    --> src/gateway/transport.rs:383:26
[INFO] [stdout]     |
[INFO] [stdout] 383 |             Packet::PING(packet) => {}
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet`
[INFO] [stdout]    --> src/gateway/transport.rs:397:26
[INFO] [stdout]     |
[INFO] [stdout] 397 |             Packet::PONG(packet) => {}
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `open`
[INFO] [stdout]    --> src/server/socket.rs:101:38
[INFO] [stdout]     |
[INFO] [stdout] 101 |                         Packet::OPEN(open) => {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_open`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `close`
[INFO] [stdout]    --> src/server/socket.rs:104:39
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         Packet::CLOSE(close) => {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ping`
[INFO] [stdout]    --> src/server/socket.rs:108:38
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         Packet::PING(ping) => {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pong`
[INFO] [stdout]    --> src/server/socket.rs:111:38
[INFO] [stdout]     |
[INFO] [stdout] 111 |                         Packet::PONG(pong) => {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_pong`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ack`
[INFO] [stdout]    --> src/server/socket.rs:120:37
[INFO] [stdout]     |
[INFO] [stdout] 120 |                         Packet::ACK(ack) => {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/server/socket.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     Action::SendPing(action) => {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/server/socket.rs:83:35
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     Action::Close(action) => {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sink`
[INFO] [stdout]    --> src/server/transport.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |         sink: &mut SplitSink<WebSocketStream<Upgraded>, Message>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_sink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dev` is never read
[INFO] [stdout]  --> src/gateway/gateway.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Gateway {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 9 |     pub dev: bool,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `compress` is never read
[INFO] [stdout]   --> src/gateway/transport.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct PacketMessage {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub compress: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client_id`, `session_id`, `client_ts`, and `client_version` are never read
[INFO] [stdout]   --> src/server/socket.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Socket {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |     pub id: String,
[INFO] [stdout] 19 |     pub client_id: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 20 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub client_ts: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 22 |     pub client_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/server/transport.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |     RETRY(PacketRetry),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     RETRY(PacketRetry),
[INFO] [stdout] 15 +     RETRY(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/server/transport.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     RESET(PacketReset),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     RESET(PacketReset),
[INFO] [stdout] 16 +     RESET(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/server/transport.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     REDIRECT(PacketRedirect),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 17 -     REDIRECT(PacketRedirect),
[INFO] [stdout] 17 +     REDIRECT(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ping_interval` and `ping_timeout` are never read
[INFO] [stdout]   --> src/server/transport.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct PacketOpen {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 27 |     pub ping_interval: u8, // ping interval second
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub ping_timeout: u8,  // ping timeout second
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketOpen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]   --> src/server/transport.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PacketClose {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 33 |     pub reason: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketClose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `delay` is never read
[INFO] [stdout]   --> src/server/transport.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct PacketRetry {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 43 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketRetry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `delay` is never read
[INFO] [stdout]   --> src/server/transport.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct PacketReset {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 48 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketReset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `delay` and `target` are never read
[INFO] [stdout]   --> src/server/transport.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct PacketRedirect {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 53 |     pub delay: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 54 |     pub target: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketRedirect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/server/transport.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct PacketMessage {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 59 |     pub id: i32,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `pkg_id` are never read
[INFO] [stdout]   --> src/server/transport.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct PacketAck {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 67 |     pub id: i32,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 68 |     pub pkg_id: i32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PacketAck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `send_packet` is never used
[INFO] [stdout]    --> src/server/transport.rs:102:18
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl Transport {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub async fn send_packet(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         READ_CHAN_RX.set(read_rx).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let upstream_id = unsafe { UPSTREAM_ID.clone() };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:159:28
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let read_rx = unsafe { READ_CHAN_RX.get_mut().unwrap() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let read_rx = unsafe { READ_CHAN_RX.get_mut().unwrap() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:182:28
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let read_rx = unsafe { READ_CHAN_RX.get_mut().unwrap() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |         socket_chan.send(Action::SendMessage(ActionSendMessage { payload }));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let _ = socket_chan.send(Action::SendMessage(ActionSendMessage { payload }));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/server/server.rs:78:35
[INFO] [stdout]    |
[INFO] [stdout] 78 |             if app_id.ne(unsafe { &APP_ID }) {
[INFO] [stdout]    |                                   ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |             if app_id.ne(unsafe { &raw const APP_ID }) {
[INFO] [stdout]    |                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         socket_write_chan_tx.send(Action::SendOpen(ActionSendOpen {
[INFO] [stdout] 59 | |             ping_interval: 25,
[INFO] [stdout] 60 | |             ping_timeout: 20,
[INFO] [stdout] 61 | |         }));
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = socket_write_chan_tx.send(Action::SendOpen(ActionSendOpen {
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 | /                         Transport::send_open_packet(
[INFO] [stdout] 71 | |                             &mut sink,
[INFO] [stdout] 72 | |                             action.ping_interval,
[INFO] [stdout] 73 | |                             action.ping_timeout,
[INFO] [stdout] 74 | |                         )
[INFO] [stdout] 75 | |                         .await;
[INFO] [stdout]    | |______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |                         let _ = Transport::send_open_packet(
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |                         Transport::send_ping_packet(&mut sink).await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 78 |                         let _ = Transport::send_ping_packet(&mut sink).await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         Transport::send_message_packet(&mut sink, action.payload).await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         let _ = Transport::send_message_packet(&mut sink, action.payload).await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:84:25
[INFO] [stdout]    |
[INFO] [stdout] 84 |                         Transport::send_close_packet(&mut sink, "").await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 84 |                         let _ = Transport::send_close_packet(&mut sink, "").await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/socket.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |                         close_tx_clone.send(()).await;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 85 |                         let _ = close_tx_clone.send(()).await;
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 | ...                   close_tx_clone.send(()).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 105 |                             let _ = close_tx_clone.send(()).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |             close_tx_clone.send(()).await;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let _ = close_tx_clone.send(()).await;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:143:21
[INFO] [stdout]     |
[INFO] [stdout] 143 |                     close_tx_clone.send(()).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 143 |                     let _ = close_tx_clone.send(()).await;
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/socket.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 socket_write_chan_tx.send(Action::SendPing(ActionSendPing {}));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 let _ = socket_write_chan_tx.send(Action::SendPing(ActionSendPing {}));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.23s
[INFO] running `Command { std: "docker" "inspect" "774eab0f0e4167362003f8c50a71fddba0c0b8d85eccc8795d22278bcf18fa37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "774eab0f0e4167362003f8c50a71fddba0c0b8d85eccc8795d22278bcf18fa37", kill_on_drop: false }`
[INFO] [stdout] 774eab0f0e4167362003f8c50a71fddba0c0b8d85eccc8795d22278bcf18fa37
