[INFO] cloning repository https://github.com/Witch-One/nt_qq_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Witch-One/nt_qq_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWitch-One%2Fnt_qq_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWitch-One%2Fnt_qq_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff0ae6dbfee33e0ad9920c688785ab341426c2c9 [INFO] building Witch-One/nt_qq_bot against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWitch-One%2Fnt_qq_bot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Witch-One/nt_qq_bot [INFO] finished tweaking git repo https://github.com/Witch-One/nt_qq_bot [INFO] tweaked toml for git repo https://github.com/Witch-One/nt_qq_bot written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Witch-One/nt_qq_bot on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Witch-One/nt_qq_bot 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kovi v0.11.7 [INFO] [stderr] Downloaded ctrlc v3.4.5 [INFO] [stderr] Downloaded which v7.0.2 [INFO] [stderr] Downloaded ego-tree v0.9.0 [INFO] [stderr] Downloaded markup5ever v0.14.1 [INFO] [stderr] Downloaded match_token v0.1.0 [INFO] [stderr] Downloaded selectors v0.26.0 [INFO] [stderr] Downloaded cdp-html-shot v0.1.23 [INFO] [stderr] Downloaded html5ever v0.29.1 [INFO] [stderr] Downloaded zerocopy v0.8.17 [INFO] [stderr] Downloaded scraper v0.21.0 [INFO] [stderr] Downloaded kovi-plugin-shindan-maker v0.1.7 [INFO] [stderr] Downloaded kovi-macros v0.4.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.17 [INFO] [stderr] Downloaded cssparser v0.34.0 [INFO] [stderr] Downloaded servo_arc v0.4.0 [INFO] [stderr] Downloaded shindan-maker v0.1.23 [INFO] [stderr] Downloaded croner v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9e1f8a2cfb13e9a640326706fdbcd82fd693f317ebfdd5f05c5781a7aa30a25 [INFO] running `Command { std: "docker" "start" "-a" "b9e1f8a2cfb13e9a640326706fdbcd82fd693f317ebfdd5f05c5781a7aa30a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9e1f8a2cfb13e9a640326706fdbcd82fd693f317ebfdd5f05c5781a7aa30a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e1f8a2cfb13e9a640326706fdbcd82fd693f317ebfdd5f05c5781a7aa30a25", kill_on_drop: false }` [INFO] [stdout] b9e1f8a2cfb13e9a640326706fdbcd82fd693f317ebfdd5f05c5781a7aa30a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6adf85d345556d467189494f24208fd834541f96afd6bc1e967972b929ba7ee2 [INFO] running `Command { std: "docker" "start" "-a" "6adf85d345556d467189494f24208fd834541f96afd6bc1e967972b929ba7ee2", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling croner v2.1.0 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ego-tree v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling which v7.0.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling kovi-macros v0.4.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rusqlite v0.26.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling cdp-html-shot v0.1.23 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling scraper v0.21.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling kovi v0.11.7 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling history-book v0.1.0 (/opt/rustwide/workdir/plugins/history-book) [INFO] [stderr] Compiling base v0.1.0 (/opt/rustwide/workdir/plugins/base) [INFO] [stdout] warning: unused import: `base64::encode` [INFO] [stdout] --> plugins/base/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64::encode; [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 import: `std::fs` [INFO] [stdout] --> plugins/base/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling shindan-maker v0.1.23 [INFO] [stderr] Compiling kovi-plugin-shindan-maker v0.1.7 [INFO] [stderr] Compiling deepseek v0.1.0 (/opt/rustwide/workdir/plugins/deepseek) [INFO] [stderr] Compiling taro v0.1.0 (/opt/rustwide/workdir/plugins/taro) [INFO] [stdout] warning: unused import: `kovi::tokio` [INFO] [stdout] --> plugins/taro/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kovi::tokio; [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 import: `kovi::tokio::sync::Mutex` [INFO] [stdout] --> plugins/taro/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kovi::tokio::sync::Mutex; // 使用 tokio 的 Mutex [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> plugins/taro/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> plugins/taro/src/lib.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> plugins/taro/src/lib.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kovi::Message as KoviMessage` [INFO] [stdout] --> plugins/deepseek/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kovi::Message as KoviMessage; [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 import: `kovi::tokio` [INFO] [stdout] --> plugins/deepseek/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kovi::tokio; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> plugins/taro/src/lib.rs:224:42 [INFO] [stdout] | [INFO] [stdout] 224 | let is_upright = rng.gen_bool(0.5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugins/taro/src/lib.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_messages` [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:65 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_messages` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> plugins/taro/src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let random_index = rng.gen_range(0..tarot_cards.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> plugins/taro/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling my-kovi-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "6adf85d345556d467189494f24208fd834541f96afd6bc1e967972b929ba7ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adf85d345556d467189494f24208fd834541f96afd6bc1e967972b929ba7ee2", kill_on_drop: false }` [INFO] [stdout] 6adf85d345556d467189494f24208fd834541f96afd6bc1e967972b929ba7ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 666bfdf9efe3d7c6c5b9802e230c5256f22fc8cb47136514ef5ac5699cd4c5d0 [INFO] running `Command { std: "docker" "start" "-a" "666bfdf9efe3d7c6c5b9802e230c5256f22fc8cb47136514ef5ac5699cd4c5d0", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `base64::encode` [INFO] [stdout] --> plugins/base/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64::encode; [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 import: `std::fs` [INFO] [stdout] --> plugins/base/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kovi::Message as KoviMessage` [INFO] [stdout] --> plugins/deepseek/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kovi::Message as KoviMessage; [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 import: `kovi::tokio` [INFO] [stdout] --> plugins/deepseek/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kovi::tokio; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_messages` [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:65 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_messages` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kovi::tokio` [INFO] [stdout] --> plugins/taro/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kovi::tokio; [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 import: `kovi::tokio::sync::Mutex` [INFO] [stdout] --> plugins/taro/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kovi::tokio::sync::Mutex; // 使用 tokio 的 Mutex [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> plugins/taro/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> plugins/taro/src/lib.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> plugins/taro/src/lib.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> plugins/taro/src/lib.rs:224:42 [INFO] [stdout] | [INFO] [stdout] 224 | let is_upright = rng.gen_bool(0.5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugins/taro/src/lib.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> plugins/taro/src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let random_index = rng.gen_range(0..tarot_cards.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling my-kovi-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> plugins/taro/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "666bfdf9efe3d7c6c5b9802e230c5256f22fc8cb47136514ef5ac5699cd4c5d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666bfdf9efe3d7c6c5b9802e230c5256f22fc8cb47136514ef5ac5699cd4c5d0", kill_on_drop: false }` [INFO] [stdout] 666bfdf9efe3d7c6c5b9802e230c5256f22fc8cb47136514ef5ac5699cd4c5d0