[INFO] cloning repository https://github.com/Mufanc/blivedm_rs-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mufanc/blivedm_rs-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMufanc%2Fblivedm_rs-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMufanc%2Fblivedm_rs-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df86ab3077337644907ba62da7b5c8b25b61e596 [INFO] building Mufanc/blivedm_rs-demo against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMufanc%2Fblivedm_rs-demo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mufanc/blivedm_rs-demo [INFO] finished tweaking git repo https://github.com/Mufanc/blivedm_rs-demo [INFO] tweaked toml for git repo https://github.com/Mufanc/blivedm_rs-demo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mufanc/blivedm_rs-demo on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mufanc/blivedm_rs-demo 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Mufanc/blivedm_rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded brotlic v0.8.2 [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded rusqlite v0.37.0 [INFO] [stderr] Downloaded brotlic-sys v0.2.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5d3e70f3d9265c17f33dba61e3d61b3bad79c51cf58c5684bc3d04e22ca0350 [INFO] running `Command { std: "docker" "start" "-a" "e5d3e70f3d9265c17f33dba61e3d61b3bad79c51cf58c5684bc3d04e22ca0350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5d3e70f3d9265c17f33dba61e3d61b3bad79c51cf58c5684bc3d04e22ca0350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d3e70f3d9265c17f33dba61e3d61b3bad79c51cf58c5684bc3d04e22ca0350", kill_on_drop: false }` [INFO] [stdout] e5d3e70f3d9265c17f33dba61e3d61b3bad79c51cf58c5684bc3d04e22ca0350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f8ce996e3113ede5dbc44b2ae5cbb2b57edce2057dd0968ffa90fb0b3abb663 [INFO] running `Command { std: "docker" "start" "-a" "3f8ce996e3113ede5dbc44b2ae5cbb2b57edce2057dd0968ffa90fb0b3abb663", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling brotlic-sys v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling blivedm_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling brotlic v0.8.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling client v0.1.0 (https://github.com/Mufanc/blivedm_rs?branch=statistics#3475d24a) [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{debug, error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LivePersist` is never constructed [INFO] [stdout] --> src/data/database.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LivePersist { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/database.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl LivePersist { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(file: &dyn AsRef) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid`, `uname`, `face`, `medal_level`, `medal_score`, and `wealth_level` are never read [INFO] [stdout] --> src/live/message.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct UserInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 131 | uid: u64, // UID [INFO] [stdout] | ^^^ [INFO] [stdout] 132 | uname: String, // 用户名 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | face: Option, // 头像 [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | medal_level: Option, // 粉丝团等级 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | medal_score: Option, // 粉丝团积分(亲密度?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 136 | wealth_level: Option, // 荣耀等级 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInfo` 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 `user` and `score` are never read [INFO] [stdout] --> src/live/message.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct OnlineRankListItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 186 | user: UserInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | score: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineRankListItem` 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 `timestamp` and `is_live` are never read [INFO] [stdout] --> src/live/message.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 192 | StreamChange { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 193 | // 开停播 [INFO] [stdout] 194 | timestamp: Timestamp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 195 | is_live: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `user`, `text`, and `extra` are never read [INFO] [stdout] --> src/live/message.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 197 | Danmaku { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 198 | // 弹幕消息 [INFO] [stdout] 199 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 201 | text: String, // 消息内容 [INFO] [stdout] | ^^^^ [INFO] [stdout] 202 | extra: HashMap, // 附加信息 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `user`, `price`, and `text` are never read [INFO] [stdout] --> src/live/message.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 204 | SuperChat { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 205 | // 醒目留言 [INFO] [stdout] 206 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 207 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 208 | price: i64, // 价格 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 209 | text: String, // 留言内容 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/live/message.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 211 | Gift { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 212 | // 礼物消息 [INFO] [stdout] 213 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 214 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | gift_name: String, // 礼物名称 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 216 | gift_count: i64, // 礼物数量 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 217 | coin_type: String, // 代币类型 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 218 | total_coin: i64, // 代币数量 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 219 | img_basic: Option, // 礼物图片 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 220 | img_webp: Option, // 礼物图片(webp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp` and `user` are never read [INFO] [stdout] --> src/live/message.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 222 | Like { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 223 | // 点赞 [INFO] [stdout] 224 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `id`, `status`, `opponent_room`, `host_votes`, and `opponent_votes` are never read [INFO] [stdout] --> src/live/message.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 227 | BattleInfo { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 228 | // PK 消息 [INFO] [stdout] 229 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 230 | id: String, // PK id [INFO] [stdout] | ^^ [INFO] [stdout] 231 | status: BattleStatus, // 状态 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 232 | opponent_room: String, // 对方房间 ID [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 233 | host_votes: i64, // 本房主播得票 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 234 | opponent_votes: i64, // 对方主播得票 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `user`, and `msg_type` are never read [INFO] [stdout] --> src/live/message.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 236 | UserInteract { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 237 | // 进房/关注/分享 [INFO] [stdout] 238 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 239 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 240 | msg_type: UserInteractType, // 事件类型 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp` and `online_list` are never read [INFO] [stdout] --> src/live/message.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 242 | OnlineRankListChange { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] 243 | // 直播间高能榜变化 [INFO] [stdout] 244 | timestamp: Timestamp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 245 | online_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp` and `count` are never read [INFO] [stdout] --> src/live/message.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | WatchedChange { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 248 | // 历史观众数量变化 [INFO] [stdout] 249 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 250 | count: i64, // 观看数 uv [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `timestamp` is never used [INFO] [stdout] --> src/live/message.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 255 | impl LiveMessage { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 256 | fn timestamp(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BaseOption { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GuardLeaderOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GuardLeaderOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GuardOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct GuardOption { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TitleOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct TitleOption { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WealthOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct WealthOption { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "3f8ce996e3113ede5dbc44b2ae5cbb2b57edce2057dd0968ffa90fb0b3abb663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8ce996e3113ede5dbc44b2ae5cbb2b57edce2057dd0968ffa90fb0b3abb663", kill_on_drop: false }` [INFO] [stdout] 3f8ce996e3113ede5dbc44b2ae5cbb2b57edce2057dd0968ffa90fb0b3abb663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe945e863ffda0db5adc0eee4dff1d582820401a933d8b1f37c37ddf00bf6915 [INFO] running `Command { std: "docker" "start" "-a" "fe945e863ffda0db5adc0eee4dff1d582820401a933d8b1f37c37ddf00bf6915", kill_on_drop: false }` [INFO] [stderr] Compiling blivedm_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{debug, error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LivePersist` is never constructed [INFO] [stdout] --> src/data/database.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LivePersist { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/database.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl LivePersist { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(file: &dyn AsRef) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid`, `uname`, `face`, `medal_level`, `medal_score`, and `wealth_level` are never read [INFO] [stdout] --> src/live/message.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct UserInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 131 | uid: u64, // UID [INFO] [stdout] | ^^^ [INFO] [stdout] 132 | uname: String, // 用户名 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | face: Option, // 头像 [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | medal_level: Option, // 粉丝团等级 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | medal_score: Option, // 粉丝团积分(亲密度?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 136 | wealth_level: Option, // 荣耀等级 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInfo` 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 `user` and `score` are never read [INFO] [stdout] --> src/live/message.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct OnlineRankListItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 186 | user: UserInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | score: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineRankListItem` 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 `timestamp` and `is_live` are never read [INFO] [stdout] --> src/live/message.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 192 | StreamChange { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 193 | // 开停播 [INFO] [stdout] 194 | timestamp: Timestamp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 195 | is_live: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `user`, `text`, and `extra` are never read [INFO] [stdout] --> src/live/message.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 197 | Danmaku { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 198 | // 弹幕消息 [INFO] [stdout] 199 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 201 | text: String, // 消息内容 [INFO] [stdout] | ^^^^ [INFO] [stdout] 202 | extra: HashMap, // 附加信息 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `user`, `price`, and `text` are never read [INFO] [stdout] --> src/live/message.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 204 | SuperChat { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 205 | // 醒目留言 [INFO] [stdout] 206 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 207 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 208 | price: i64, // 价格 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 209 | text: String, // 留言内容 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/live/message.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 211 | Gift { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 212 | // 礼物消息 [INFO] [stdout] 213 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 214 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | gift_name: String, // 礼物名称 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 216 | gift_count: i64, // 礼物数量 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 217 | coin_type: String, // 代币类型 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 218 | total_coin: i64, // 代币数量 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 219 | img_basic: Option, // 礼物图片 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 220 | img_webp: Option, // 礼物图片(webp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp` and `user` are never read [INFO] [stdout] --> src/live/message.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 222 | Like { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 223 | // 点赞 [INFO] [stdout] 224 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `id`, `status`, `opponent_room`, `host_votes`, and `opponent_votes` are never read [INFO] [stdout] --> src/live/message.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 227 | BattleInfo { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 228 | // PK 消息 [INFO] [stdout] 229 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 230 | id: String, // PK id [INFO] [stdout] | ^^ [INFO] [stdout] 231 | status: BattleStatus, // 状态 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 232 | opponent_room: String, // 对方房间 ID [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 233 | host_votes: i64, // 本房主播得票 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 234 | opponent_votes: i64, // 对方主播得票 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp`, `user`, and `msg_type` are never read [INFO] [stdout] --> src/live/message.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 236 | UserInteract { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 237 | // 进房/关注/分享 [INFO] [stdout] 238 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 239 | user: UserInfo, // 用户信息 [INFO] [stdout] | ^^^^ [INFO] [stdout] 240 | msg_type: UserInteractType, // 事件类型 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp` and `online_list` are never read [INFO] [stdout] --> src/live/message.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 242 | OnlineRankListChange { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] 243 | // 直播间高能榜变化 [INFO] [stdout] 244 | timestamp: Timestamp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 245 | online_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` 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 `timestamp` and `count` are never read [INFO] [stdout] --> src/live/message.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | WatchedChange { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 248 | // 历史观众数量变化 [INFO] [stdout] 249 | timestamp: Timestamp, // 时间戳 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 250 | count: i64, // 观看数 uv [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `timestamp` is never used [INFO] [stdout] --> src/live/message.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 255 | impl LiveMessage { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 256 | fn timestamp(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BaseOption { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GuardLeaderOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GuardLeaderOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GuardOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct GuardOption { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TitleOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct TitleOption { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WealthOption` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/blivedm_rs-03e3e907bd33079a/out/user_dagw.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct WealthOption { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "fe945e863ffda0db5adc0eee4dff1d582820401a933d8b1f37c37ddf00bf6915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe945e863ffda0db5adc0eee4dff1d582820401a933d8b1f37c37ddf00bf6915", kill_on_drop: false }` [INFO] [stdout] fe945e863ffda0db5adc0eee4dff1d582820401a933d8b1f37c37ddf00bf6915