[INFO] cloning repository https://github.com/Congroof/qqbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Congroof/qqbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCongroof%2Fqqbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCongroof%2Fqqbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f06de4016452bb19c0932211ad53dfbdd12e1546
[INFO] testing Congroof/qqbot against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCongroof%2Fqqbot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Congroof/qqbot
[INFO] finished tweaking git repo https://github.com/Congroof/qqbot
[INFO] tweaked toml for git repo https://github.com/Congroof/qqbot written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Congroof/qqbot on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Congroof/qqbot 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a183e8904d8d94095539ce66fff6adbaad53c34c1475d64eabfedc385e4e59b
[INFO] running `Command { std: "docker" "start" "-a" "0a183e8904d8d94095539ce66fff6adbaad53c34c1475d64eabfedc385e4e59b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a183e8904d8d94095539ce66fff6adbaad53c34c1475d64eabfedc385e4e59b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a183e8904d8d94095539ce66fff6adbaad53c34c1475d64eabfedc385e4e59b", kill_on_drop: false }`
[INFO] [stdout] 0a183e8904d8d94095539ce66fff6adbaad53c34c1475d64eabfedc385e4e59b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9c93844f64990c4622ed56497fd22fade76650ed0f319ba2fa01d1159a0d2f1
[INFO] running `Command { std: "docker" "start" "-a" "b9c93844f64990c4622ed56497fd22fade76650ed0f319ba2fa01d1159a0d2f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling indexmap v2.13.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling compression-core v0.4.32
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio v1.51.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.10
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling compression-codecs v0.4.38
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling rsa v0.9.10
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling tungstenite v0.26.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling async-compression v0.4.42
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-tungstenite v0.26.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling onebot v0.1.0 (/opt/rustwide/workdir/crates/onebot)
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling ai-chat-sdk v0.1.0 (/opt/rustwide/workdir/crates/ai-chat-sdk)
[INFO] [stderr]    Compiling edge-tts-rust v0.1.3
[INFO] [stderr]    Compiling napcat-bot v0.1.0 (/opt/rustwide/workdir/crates/napcat-bot)
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> crates/napcat-bot/src/handler/ocr.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_nickname`
[INFO] [stdout]   --> crates/napcat-bot/src/scheduler.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let self_nickname = if login.nickname.is_empty() {
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_nickname`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `owner_id`
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:127:21
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if let Some(owner_id) = owner_id {
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Private` is never constructed
[INFO] [stdout]   --> crates/napcat-bot/src/handler/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum ContextKey {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 39 |     Private(i64),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_private` is never used
[INFO] [stdout]    --> crates/napcat-bot/src/handler/ai_chat.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub async fn handle_private(ctx: &mut HandlerContext, evt: &PrivateMessageEvent) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> crates/napcat-bot/src/handler/vocab.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Dictionary {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `display`, `role`, and `liked` are never read
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | struct MemberLikeResult {
[INFO] [stdout]     |        ---------------- fields in this struct
[INFO] [stdout] 204 |     user_id: i64,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 205 |     display: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 206 |     role: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 207 |     liked: i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_owner` is never used
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:215:10
[INFO] [stdout]     |
[INFO] [stdout] 215 | async fn notify_owner(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_node` is never used
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:283:4
[INFO] [stdout]     |
[INFO] [stdout] 283 | fn make_node(user_id: i64, nickname: &str, text: String) -> MessageSegment {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s
[INFO] running `Command { std: "docker" "inspect" "b9c93844f64990c4622ed56497fd22fade76650ed0f319ba2fa01d1159a0d2f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9c93844f64990c4622ed56497fd22fade76650ed0f319ba2fa01d1159a0d2f1", kill_on_drop: false }`
[INFO] [stdout] b9c93844f64990c4622ed56497fd22fade76650ed0f319ba2fa01d1159a0d2f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8918d7b39d7debc15903eda4ac7cab5e9610e6a855d7a11e63c154d85c480c49
[INFO] running `Command { std: "docker" "start" "-a" "8918d7b39d7debc15903eda4ac7cab5e9610e6a855d7a11e63c154d85c480c49", kill_on_drop: false }`
[INFO] [stderr]    Compiling onebot v0.1.0 (/opt/rustwide/workdir/crates/onebot)
[INFO] [stderr]    Compiling ai-chat-sdk v0.1.0 (/opt/rustwide/workdir/crates/ai-chat-sdk)
[INFO] [stderr]    Compiling napcat-bot v0.1.0 (/opt/rustwide/workdir/crates/napcat-bot)
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> crates/napcat-bot/src/handler/ocr.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_nickname`
[INFO] [stdout]   --> crates/napcat-bot/src/scheduler.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let self_nickname = if login.nickname.is_empty() {
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_nickname`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `owner_id`
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:127:21
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if let Some(owner_id) = owner_id {
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Private` is never constructed
[INFO] [stdout]   --> crates/napcat-bot/src/handler/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum ContextKey {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 39 |     Private(i64),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_private` is never used
[INFO] [stdout]    --> crates/napcat-bot/src/handler/ai_chat.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub async fn handle_private(ctx: &mut HandlerContext, evt: &PrivateMessageEvent) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> crates/napcat-bot/src/handler/vocab.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Dictionary {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `display`, `role`, and `liked` are never read
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | struct MemberLikeResult {
[INFO] [stdout]     |        ---------------- fields in this struct
[INFO] [stdout] 204 |     user_id: i64,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 205 |     display: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 206 |     role: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 207 |     liked: i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_owner` is never used
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:215:10
[INFO] [stdout]     |
[INFO] [stdout] 215 | async fn notify_owner(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_node` is never used
[INFO] [stdout]    --> crates/napcat-bot/src/scheduler.rs:283:4
[INFO] [stdout]     |
[INFO] [stdout] 283 | fn make_node(user_id: i64, nickname: &str, text: String) -> MessageSegment {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.39s
[INFO] running `Command { std: "docker" "inspect" "8918d7b39d7debc15903eda4ac7cab5e9610e6a855d7a11e63c154d85c480c49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8918d7b39d7debc15903eda4ac7cab5e9610e6a855d7a11e63c154d85c480c49", kill_on_drop: false }`
[INFO] [stdout] 8918d7b39d7debc15903eda4ac7cab5e9610e6a855d7a11e63c154d85c480c49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9b78ab107bfadd13be65bdf987f7a89f7d13e4fb1590aa1f8cfeffb7d81babe2
[INFO] running `Command { std: "docker" "start" "-a" "9b78ab107bfadd13be65bdf987f7a89f7d13e4fb1590aa1f8cfeffb7d81babe2", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Instant`
[INFO] [stderr]  --> crates/napcat-bot/src/handler/ocr.rs:1:27
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::time::{Duration, Instant};
[INFO] [stderr]   |                           ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `self_nickname`
[INFO] [stderr]   --> crates/napcat-bot/src/scheduler.rs:56:9
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let self_nickname = if login.nickname.is_empty() {
[INFO] [stderr]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_nickname`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `owner_id`
[INFO] [stderr]    --> crates/napcat-bot/src/scheduler.rs:127:21
[INFO] [stderr]     |
[INFO] [stderr] 127 |         if let Some(owner_id) = owner_id {
[INFO] [stderr]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner_id`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Private` is never constructed
[INFO] [stderr]   --> crates/napcat-bot/src/handler/mod.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub enum ContextKey {
[INFO] [stderr]    |          ---------- variant in this enum
[INFO] [stderr] 39 |     Private(i64),
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ContextKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `handle_private` is never used
[INFO] [stderr]    --> crates/napcat-bot/src/handler/ai_chat.rs:134:14
[INFO] [stderr]     |
[INFO] [stderr] 134 | pub async fn handle_private(ctx: &mut HandlerContext, evt: &PrivateMessageEvent) {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_empty` is never used
[INFO] [stderr]   --> crates/napcat-bot/src/handler/vocab.rs:78:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | impl Dictionary {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub fn is_empty(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `user_id`, `display`, `role`, and `liked` are never read
[INFO] [stderr]    --> crates/napcat-bot/src/scheduler.rs:204:5
[INFO] [stderr]     |
[INFO] [stderr] 203 | struct MemberLikeResult {
[INFO] [stderr]     |        ---------------- fields in this struct
[INFO] [stderr] 204 |     user_id: i64,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 205 |     display: String,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 206 |     role: String,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 207 |     liked: i32,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `notify_owner` is never used
[INFO] [stderr]    --> crates/napcat-bot/src/scheduler.rs:215:10
[INFO] [stderr]     |
[INFO] [stderr] 215 | async fn notify_owner(
[INFO] [stderr]     |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `make_node` is never used
[INFO] [stderr]    --> crates/napcat-bot/src/scheduler.rs:283:4
[INFO] [stderr]     |
[INFO] [stderr] 283 | fn make_node(user_id: i64, nickname: &str, text: String) -> MessageSegment {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `napcat-bot` (bin "napcat-bot" test) generated 9 warnings (run `cargo fix --bin "napcat-bot" -p napcat-bot --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ai_chat_sdk-f93381d99090c33b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/napcat_bot-25b507aa83006b61)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/onebot-b770d6aa6070bcba)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ai_chat_sdk
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test crates/ai-chat-sdk/src/types/chat.rs - types::chat::Message::user_multimodal (line 161) ... ignored
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.32s; merged doctests compilation took 0.32s
[INFO] [stderr]    Doc-tests onebot
[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" "9b78ab107bfadd13be65bdf987f7a89f7d13e4fb1590aa1f8cfeffb7d81babe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b78ab107bfadd13be65bdf987f7a89f7d13e4fb1590aa1f8cfeffb7d81babe2", kill_on_drop: false }`
[INFO] [stdout] 9b78ab107bfadd13be65bdf987f7a89f7d13e4fb1590aa1f8cfeffb7d81babe2
