[INFO] cloning repository https://github.com/gaosx6991/swift-im-communication [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaosx6991/swift-im-communication" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaosx6991%2Fswift-im-communication", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaosx6991%2Fswift-im-communication'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49d815b132f86e8e95c9765a339ca30d8246fd2f [INFO] checking gaosx6991/swift-im-communication against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaosx6991%2Fswift-im-communication" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaosx6991/swift-im-communication on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] finished tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] tweaked toml for git repo https://github.com/gaosx6991/swift-im-communication written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gaosx6991/swift-im-communication 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking gaosx6991/swift-im-communication against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaosx6991%2Fswift-im-communication" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaosx6991/swift-im-communication on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] finished tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] tweaked toml for git repo https://github.com/gaosx6991/swift-im-communication written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gaosx6991/swift-im-communication 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking gaosx6991/swift-im-communication against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaosx6991%2Fswift-im-communication" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaosx6991/swift-im-communication on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] finished tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] tweaked toml for git repo https://github.com/gaosx6991/swift-im-communication written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gaosx6991/swift-im-communication 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking gaosx6991/swift-im-communication against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaosx6991%2Fswift-im-communication" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaosx6991/swift-im-communication on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] finished tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] tweaked toml for git repo https://github.com/gaosx6991/swift-im-communication written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gaosx6991/swift-im-communication 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking gaosx6991/swift-im-communication against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaosx6991%2Fswift-im-communication" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaosx6991/swift-im-communication on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] finished tweaking git repo https://github.com/gaosx6991/swift-im-communication [INFO] tweaked toml for git repo https://github.com/gaosx6991/swift-im-communication written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gaosx6991/swift-im-communication 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typenum v1.17.0 [INFO] [stderr] Downloaded thiserror v2.0.11 [INFO] [stderr] Downloaded crypto-common v0.1.6 [INFO] [stderr] Downloaded digest v0.10.7 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded sha1 v0.10.6 [INFO] [stderr] Downloaded thiserror-impl v2.0.11 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.1 [INFO] [stderr] Downloaded data-encoding v2.6.0 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded tungstenite v0.26.1 [INFO] [stderr] Downloaded futures-macro v0.3.31 [INFO] [stderr] Downloaded generic-array v0.14.7 [INFO] [stderr] Downloaded cpufeatures v0.2.16 [INFO] [stderr] Downloaded hashbrown v0.14.5 [INFO] [stderr] Downloaded block-buffer v0.10.4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5adffa820a0c64256af1dfca72ecf675fc1cfc16afadc4b99aebef63c591e8c4 [INFO] running `Command { std: "docker" "start" "-a" "5adffa820a0c64256af1dfca72ecf675fc1cfc16afadc4b99aebef63c591e8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5adffa820a0c64256af1dfca72ecf675fc1cfc16afadc4b99aebef63c591e8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5adffa820a0c64256af1dfca72ecf675fc1cfc16afadc4b99aebef63c591e8c4", kill_on_drop: false }` [INFO] [stdout] 5adffa820a0c64256af1dfca72ecf675fc1cfc16afadc4b99aebef63c591e8c4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ed937990820778634588e369999ced93efb764ad44de343c59fca0b9e892665 [INFO] running `Command { std: "docker" "start" "-a" "2ed937990820778634588e369999ced93efb764ad44de343c59fca0b9e892665", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tungstenite v0.26.1 [INFO] [stderr] Checking tokio-tungstenite v0.26.1 [INFO] [stderr] Checking communication v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `channel::TcpChannel` [INFO] [stdout] --> src/tcp/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use channel::TcpChannel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::TcpClient` [INFO] [stdout] --> src/tcp/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use client::TcpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connection::TcpConn` [INFO] [stdout] --> src/tcp/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use connection::TcpConn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::TcpFrame` [INFO] [stdout] --> src/tcp/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use frame::TcpFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server::TcpServer` [INFO] [stdout] --> src/tcp/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use server::TcpServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::WebsocketClient` [INFO] [stdout] --> src/websocket/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use client::WebsocketClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::WebsocketFrame` [INFO] [stdout] --> src/websocket/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use frame::WebsocketFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server::WebsocketServer` [INFO] [stdout] --> src/websocket/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use server::WebsocketServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel::TcpChannel` [INFO] [stdout] --> src/tcp/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use channel::TcpChannel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connection::TcpConn` [INFO] [stdout] --> src/tcp/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use connection::TcpConn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::TcpFrame` [INFO] [stdout] --> src/tcp/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use frame::TcpFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/tcp/tests.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::WebsocketFrame` [INFO] [stdout] --> src/websocket/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use frame::WebsocketFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_stream` [INFO] [stdout] --> src/tcp/tests.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let client_stream = TcpStream::connect(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicChannelMap` is never constructed [INFO] [stdout] --> src/channel_map.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BasicChannelMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/channel_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BasicChannelMap { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicFrame` is never constructed [INFO] [stdout] --> src/frame.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BasicFrame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frame.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BasicFrame { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(opcode: OpCode, payload: Bytes) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpChannel` is never constructed [INFO] [stdout] --> src/tcp/channel.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TcpChannel { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpChannel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tcp/channel.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TcpChannel { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(id: String, meta: Meta, conn: TcpConn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpClient` is never constructed [INFO] [stdout] --> src/tcp/client.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TcpClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_options`, `heartbeat_loop`, and `ping` are never used [INFO] [stdout] --> src/tcp/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl TcpClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn with_options(options: ClientOptions) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | async fn heartbeat_loop(&self, conn: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn ping(&self, conn: &Arc>) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpConn` is never constructed [INFO] [stdout] --> src/tcp/connection.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TcpConn { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpConn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_read_timeout`, and `set_write_timeout` are never used [INFO] [stdout] --> src/tcp/connection.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TcpConn { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn set_read_timeout(&self, duration: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn set_write_timeout(&self, duration: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER_SIZE` is never used [INFO] [stdout] --> src/tcp/frame.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const HEADER_SIZE: usize = 5; // 1字节OpCode + 4字节长度 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpFrame` is never constructed [INFO] [stdout] --> src/tcp/frame.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TcpFrame { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, and `encode` are never used [INFO] [stdout] --> src/tcp/frame.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TcpFrame { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(opcode: OpCode, payload: Bytes) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn parse(buf: &mut BytesMut) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn encode(&self) -> Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read_wait`, `write_wait`, and `login_wait` are never read [INFO] [stdout] --> src/tcp/server.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ServerOptions { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | pub read_wait: Duration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub write_wait: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub login_wait: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpServer` is never constructed [INFO] [stdout] --> src/tcp/server.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TcpServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_options` are never used [INFO] [stdout] --> src/tcp/server.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl TcpServer { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 39 | pub fn new(addr: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn with_options(addr: String, options: ServerOptions) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebsocketChannel` is never constructed [INFO] [stdout] --> src/websocket/channel.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct WebsocketChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/websocket/channel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl WebsocketChannel { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(id: String, meta: Meta, conn: WebsocketConn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebsocketClient` is never constructed [INFO] [stdout] --> src/websocket/client.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct WebsocketClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_options`, `heartbeat_loop`, and `ping` are never used [INFO] [stdout] --> src/websocket/client.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl WebsocketClient { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn with_options(options: ClientOptions) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn heartbeat_loop(&self, conn: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | async fn ping(&self, conn: &Arc>) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebsocketConn` is never constructed [INFO] [stdout] --> src/websocket/connection.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WebsocketConn { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/websocket/connection.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl WebsocketConn { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(stream: WebSocketStream>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebsocketFrame` is never constructed [INFO] [stdout] --> src/websocket/frame.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WebsocketFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/websocket/frame.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl WebsocketFrame { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(opcode: OpCode, payload: Bytes) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read_wait`, `write_wait`, and `login_wait` are never read [INFO] [stdout] --> src/websocket/server.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ServerOptions { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 16 | pub read_wait: Duration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub write_wait: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub login_wait: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebsocketServer` is never constructed [INFO] [stdout] --> src/websocket/server.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WebsocketServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_options` are never used [INFO] [stdout] --> src/websocket/server.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl WebsocketServer { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 41 | pub fn new(address: SocketAddr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_options(address: SocketAddr, options: ServerOptions) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicFrame` is never constructed [INFO] [stdout] --> src/frame.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BasicFrame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frame.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BasicFrame { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(opcode: OpCode, payload: Bytes) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.28s [INFO] running `Command { std: "docker" "inspect" "2ed937990820778634588e369999ced93efb764ad44de343c59fca0b9e892665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed937990820778634588e369999ced93efb764ad44de343c59fca0b9e892665", kill_on_drop: false }` [INFO] [stdout] 2ed937990820778634588e369999ced93efb764ad44de343c59fca0b9e892665