[INFO] cloning repository https://github.com/light4/douyudm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/light4/douyudm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flight4%2Fdouyudm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flight4%2Fdouyudm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef9e80724dca8c6216ad483fb0a79630d7f86c3b [INFO] testing light4/douyudm against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flight4%2Fdouyudm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/light4/douyudm on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/light4/douyudm [INFO] finished tweaking git repo https://github.com/light4/douyudm [INFO] tweaked toml for git repo https://github.com/light4/douyudm written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/light4/douyudm 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/kazk/tokio-tungstenite` [INFO] [stderr] Updating git repository `https://github.com/kazk/tungstenite-rs` [INFO] [stderr] Updating git repository `https://github.com/kazk/headers` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.1.12 [INFO] [stderr] Downloaded is-terminal v0.4.5 [INFO] [stderr] Downloaded clap_lex v0.3.3 [INFO] [stderr] Downloaded base64 v0.20.0 [INFO] [stderr] Downloaded clap v4.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76a006770f9a9fffe829935420d6f0ffd93394958cc179bd2de3e575dff3f363 [INFO] running `Command { std: "docker" "start" "-a" "76a006770f9a9fffe829935420d6f0ffd93394958cc179bd2de3e575dff3f363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76a006770f9a9fffe829935420d6f0ffd93394958cc179bd2de3e575dff3f363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a006770f9a9fffe829935420d6f0ffd93394958cc179bd2de3e575dff3f363", kill_on_drop: false }` [INFO] [stdout] 76a006770f9a9fffe829935420d6f0ffd93394958cc179bd2de3e575dff3f363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed60b79ae48ec04b42652018843ca7371957be268898eb721d2fa0b77240db3b [INFO] running `Command { std: "docker" "start" "-a" "ed60b79ae48ec04b42652018843ca7371957be268898eb721d2fa0b77240db3b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.53 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling openssl v0.10.48 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustix v0.36.11 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling serde v1.0.158 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling syn v2.0.10 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling openssl-sys v0.9.83 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 (https://github.com/kazk/headers?branch=sec-websocket-extensions#b9cfe471) [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling os_str_bytes v6.5.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustc-demangle v0.1.22 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling clap_lex v0.3.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling headers v0.3.7 (https://github.com/kazk/headers?branch=sec-websocket-extensions#b9cfe471) [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling is-terminal v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.1.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling clap v4.1.13 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling tungstenite v0.18.0 (https://github.com/kazk/tungstenite-rs?branch=feature%2Fpermessage-deflate#17377384) [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.18.0 (https://github.com/kazk/tokio-tungstenite?branch=feature%2Fpermessage-deflate#3174cd57) [INFO] [stderr] Compiling douyudm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `future` and `pin_mut` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use futures_util::{future, pin_mut, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocketStream` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | WebSocketStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/client.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_length` [INFO] [stdout] --> src/packet.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let msg_length = u32::from_le_bytes(length_data) as usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_websocket`, `send`, `login`, `join_group`, `heartbeat`, and `handle_message` are never used [INFO] [stdout] --> src/client.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn init_websocket(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn login(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn join_group(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn heartbeat(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_LIVE_ON` is never used [INFO] [stdout] --> src/config.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MSG_LIVE_ON: &str = "主播正在直播"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_LIVE_OFF` is never used [INFO] [stdout] --> src/config.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MSG_LIVE_OFF: &str = "主播没有直播"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_ROOM_RSS` is never used [INFO] [stdout] --> src/config.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MSG_ROOM_RSS: &str = "房间开播提醒"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_BC_BUY_DESERVE` is never used [INFO] [stdout] --> src/config.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MSG_BC_BUY_DESERVE: &str = "赠送酬勤通知"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_SSD` is never used [INFO] [stdout] --> src/config.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MSG_SSD: &str = "超级弹幕"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_ROOM_SPBC` is never used [INFO] [stdout] --> src/config.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MSG_ROOM_SPBC: &str = "房间内礼物广播"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.54s [INFO] running `Command { std: "docker" "inspect" "ed60b79ae48ec04b42652018843ca7371957be268898eb721d2fa0b77240db3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed60b79ae48ec04b42652018843ca7371957be268898eb721d2fa0b77240db3b", kill_on_drop: false }` [INFO] [stdout] ed60b79ae48ec04b42652018843ca7371957be268898eb721d2fa0b77240db3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a64003b1e93e59cab8261dad444c671ca392b1e3630358d9f5e918829fd3eb30 [INFO] running `Command { std: "docker" "start" "-a" "a64003b1e93e59cab8261dad444c671ca392b1e3630358d9f5e918829fd3eb30", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `future` and `pin_mut` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use futures_util::{future, pin_mut, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocketStream` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | WebSocketStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/client.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_length` [INFO] [stdout] --> src/packet.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let msg_length = u32::from_le_bytes(length_data) as usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_websocket`, `send`, `login`, `join_group`, `heartbeat`, and `handle_message` are never used [INFO] [stdout] --> src/client.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn init_websocket(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn login(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn join_group(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn heartbeat(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_LIVE_ON` is never used [INFO] [stdout] --> src/config.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MSG_LIVE_ON: &str = "主播正在直播"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_LIVE_OFF` is never used [INFO] [stdout] --> src/config.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MSG_LIVE_OFF: &str = "主播没有直播"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_ROOM_RSS` is never used [INFO] [stdout] --> src/config.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MSG_ROOM_RSS: &str = "房间开播提醒"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_BC_BUY_DESERVE` is never used [INFO] [stdout] --> src/config.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MSG_BC_BUY_DESERVE: &str = "赠送酬勤通知"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_SSD` is never used [INFO] [stdout] --> src/config.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MSG_SSD: &str = "超级弹幕"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_ROOM_SPBC` is never used [INFO] [stdout] --> src/config.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MSG_ROOM_SPBC: &str = "房间内礼物广播"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling douyudm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `future` and `pin_mut` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use futures_util::{future, pin_mut, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocketStream` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | WebSocketStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/client.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_length` [INFO] [stdout] --> src/packet.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let msg_length = u32::from_le_bytes(length_data) as usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_websocket`, `send`, `login`, `join_group`, `heartbeat`, and `handle_message` are never used [INFO] [stdout] --> src/client.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn init_websocket(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn login(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn join_group(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn heartbeat(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_LIVE_ON` is never used [INFO] [stdout] --> src/config.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MSG_LIVE_ON: &str = "主播正在直播"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_LIVE_OFF` is never used [INFO] [stdout] --> src/config.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MSG_LIVE_OFF: &str = "主播没有直播"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_ROOM_RSS` is never used [INFO] [stdout] --> src/config.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MSG_ROOM_RSS: &str = "房间开播提醒"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_BC_BUY_DESERVE` is never used [INFO] [stdout] --> src/config.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MSG_BC_BUY_DESERVE: &str = "赠送酬勤通知"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_SSD` is never used [INFO] [stdout] --> src/config.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MSG_SSD: &str = "超级弹幕"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_ROOM_SPBC` is never used [INFO] [stdout] --> src/config.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MSG_ROOM_SPBC: &str = "房间内礼物广播"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "a64003b1e93e59cab8261dad444c671ca392b1e3630358d9f5e918829fd3eb30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64003b1e93e59cab8261dad444c671ca392b1e3630358d9f5e918829fd3eb30", kill_on_drop: false }` [INFO] [stdout] a64003b1e93e59cab8261dad444c671ca392b1e3630358d9f5e918829fd3eb30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0337ad74302cd7dc89cd982344ed3c5f897d8da88ca6615da603ec70bc74e95 [INFO] running `Command { std: "docker" "start" "-a" "b0337ad74302cd7dc89cd982344ed3c5f897d8da88ca6615da603ec70bc74e95", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `future` and `pin_mut` [INFO] [stderr] --> src/lib.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | use futures_util::{future, pin_mut, SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stderr] --> src/lib.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WebSocketStream` [INFO] [stderr] --> src/lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | WebSocketStream, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/client.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/client.rs:44:34 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg_length` [INFO] [stderr] --> src/packet.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let msg_length = u32::from_le_bytes(length_data) as usize; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_length` [INFO] [stderr] [INFO] [stderr] warning: methods `init_websocket`, `send`, `login`, `join_group`, `heartbeat`, and `handle_message` are never used [INFO] [stderr] --> src/client.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Client { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn init_websocket(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn send(&self, msg: Value) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn login(&self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn join_group(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn heartbeat(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn handle_message(&self, data: Value) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MSG_LIVE_ON` is never used [INFO] [stderr] --> src/config.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const MSG_LIVE_ON: &str = "主播正在直播"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MSG_LIVE_OFF` is never used [INFO] [stderr] --> src/config.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const MSG_LIVE_OFF: &str = "主播没有直播"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MSG_ROOM_RSS` is never used [INFO] [stderr] --> src/config.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const MSG_ROOM_RSS: &str = "房间开播提醒"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MSG_BC_BUY_DESERVE` is never used [INFO] [stderr] --> src/config.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const MSG_BC_BUY_DESERVE: &str = "赠送酬勤通知"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MSG_SSD` is never used [INFO] [stderr] --> src/config.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const MSG_SSD: &str = "超级弹幕"; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MSG_ROOM_SPBC` is never used [INFO] [stderr] --> src/config.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const MSG_ROOM_SPBC: &str = "房间内礼物广播"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `douyudm` (lib) generated 13 warnings (run `cargo fix --lib -p douyudm` to apply 3 suggestions) [INFO] [stderr] warning: `douyudm` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/douyudm-db05a819e9c793c1) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test msg::tests::test_escape ... ok [INFO] [stdout] test msg::tests::test_deserialize ... ok [INFO] [stdout] test msg::tests::test_unescape ... ok [INFO] [stdout] test packet::tests::test_decode ... ok [INFO] [stdout] test msg::tests::test_serialize ... ok [INFO] [stdout] test packet::tests::test_encode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/douyudm-b7611e49a516168a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests douyudm [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0337ad74302cd7dc89cd982344ed3c5f897d8da88ca6615da603ec70bc74e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0337ad74302cd7dc89cd982344ed3c5f897d8da88ca6615da603ec70bc74e95", kill_on_drop: false }` [INFO] [stdout] b0337ad74302cd7dc89cd982344ed3c5f897d8da88ca6615da603ec70bc74e95