[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] checking Witch-One/nt_qq_bot against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWitch-One%2Fnt_qq_bot" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Witch-One/nt_qq_bot on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a771b0ebe561017d8458b463cdee8a49d1cbbc05bd3778841639c2cfe587a5a [INFO] running `Command { std: "docker" "start" "-a" "6a771b0ebe561017d8458b463cdee8a49d1cbbc05bd3778841639c2cfe587a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a771b0ebe561017d8458b463cdee8a49d1cbbc05bd3778841639c2cfe587a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a771b0ebe561017d8458b463cdee8a49d1cbbc05bd3778841639c2cfe587a5a", kill_on_drop: false }` [INFO] [stdout] 6a771b0ebe561017d8458b463cdee8a49d1cbbc05bd3778841639c2cfe587a5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa84f025cccfb0e2e56003e489af65e6801c40b190797e50f0fe0fbdbcdee81 [INFO] running `Command { std: "docker" "start" "-a" "3aa84f025cccfb0e2e56003e489af65e6801c40b190797e50f0fe0fbdbcdee81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking data-encoding v2.7.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking winnow v0.7.1 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Checking croner v2.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking tempfile v3.16.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking servo_arc v0.4.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking ego-tree v0.9.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking which v7.0.2 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [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 kovi-macros v0.4.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [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] Checking tokio v1.43.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking cssparser v0.34.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking string_cache v0.8.8 [INFO] [stderr] Checking toml_edit v0.22.23 [INFO] [stderr] Checking rusqlite v0.26.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking cdp-html-shot v0.1.23 [INFO] [stderr] Checking html5ever v0.29.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking scraper v0.21.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking kovi v0.11.7 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking base v0.1.0 (/opt/rustwide/workdir/plugins/base) [INFO] [stderr] Checking history-book v0.1.0 (/opt/rustwide/workdir/plugins/history-book) [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)]` 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: `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)]` 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] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking deepseek v0.1.0 (/opt/rustwide/workdir/plugins/deepseek) [INFO] [stderr] Checking 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)]` 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] [stderr] Checking shindan-maker v0.1.23 [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)]` 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)]` 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: 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)]` 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 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)]` 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 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_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] [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kovi-plugin-shindan-maker v0.1.7 [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&kovi::tokio::sync::Mutex>,): std::marker::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kovi-0.11.7/src/bot/plugin_builder.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | Fut: Future + Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`deepseek`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:129:110 [INFO] [stdout] | [INFO] [stdout] 129 | async fn get_combined_messages(&self, additional_messages: Vec) -> Vec { [INFO] [stdout] | ______________________________________________________________________________________________________________^ [INFO] [stdout] 130 | | let prompt_list = self.prompt_list.lock().await.clone(); [INFO] [stdout] 131 | | let history_messages = self.history_messages.lock().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 145 | | .collect() [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> plugins/deepseek/src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&kovi::tokio::sync::Mutex>,): std::marker::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kovi-0.11.7/src/bot/plugin_builder.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | Fut: Future + Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`deepseek`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:129:110 [INFO] [stdout] | [INFO] [stdout] 129 | async fn get_combined_messages(&self, additional_messages: Vec) -> Vec { [INFO] [stdout] | ______________________________________________________________________________________________________________^ [INFO] [stdout] 130 | | let prompt_list = self.prompt_list.lock().await.clone(); [INFO] [stdout] 131 | | let history_messages = self.history_messages.lock().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 145 | | .collect() [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:311:108 [INFO] [stdout] | [INFO] [stdout] 311 | async fn handle_tool_calls(&self, tool_calls: &[ToolCalls], original_messages: Vec) -> String { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 312 | | for tool_call in tool_calls { [INFO] [stdout] 313 | | if tool_call.function.name == "search_knowledge_base" { [INFO] [stdout] 314 | | if let Ok(args) = serde_json::from_str::(&tool_call.function.arguments) { [INFO] [stdout] ... | [INFO] [stdout] 330 | | "工具调用处理失败".to_string() [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> plugins/deepseek/src/lib.rs:219:80 [INFO] [stdout] | [INFO] [stdout] 219 | async fn chat(&self, messages: Vec, enable_tools: bool) -> String { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 220 | | let combined_messages = if enable_tools { [INFO] [stdout] 221 | | self.history_manager.get_combined_messages(messages.clone()).await [INFO] [stdout] 222 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> plugins/deepseek/src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deepseek` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `deepseek` (lib test) due to 1 previous error; 3 warnings emitted [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] running `Command { std: "docker" "inspect" "3aa84f025cccfb0e2e56003e489af65e6801c40b190797e50f0fe0fbdbcdee81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa84f025cccfb0e2e56003e489af65e6801c40b190797e50f0fe0fbdbcdee81", kill_on_drop: false }` [INFO] [stdout] 3aa84f025cccfb0e2e56003e489af65e6801c40b190797e50f0fe0fbdbcdee81