[INFO] cloning repository https://github.com/reallinshengxiang/QAQ-QQ-AI-QUEST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reallinshengxiang/QAQ-QQ-AI-QUEST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freallinshengxiang%2FQAQ-QQ-AI-QUEST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freallinshengxiang%2FQAQ-QQ-AI-QUEST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 998212d27cc2916c3b526698fb540ed8896ca095 [INFO] building reallinshengxiang/QAQ-QQ-AI-QUEST against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freallinshengxiang%2FQAQ-QQ-AI-QUEST" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reallinshengxiang/QAQ-QQ-AI-QUEST on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/reallinshengxiang/QAQ-QQ-AI-QUEST [INFO] finished tweaking git repo https://github.com/reallinshengxiang/QAQ-QQ-AI-QUEST [INFO] tweaked toml for git repo https://github.com/reallinshengxiang/QAQ-QQ-AI-QUEST written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/reallinshengxiang/QAQ-QQ-AI-QUEST 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-server v2.5.1 [INFO] [stderr] Downloaded actix-web v4.10.2 [INFO] [stderr] Downloaded actix-http v3.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a55f081aee8c11e44ca101037d5dc5d8973513f568369e4aa238a02c1f4953a0 [INFO] running `Command { std: "docker" "start" "-a" "a55f081aee8c11e44ca101037d5dc5d8973513f568369e4aa238a02c1f4953a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a55f081aee8c11e44ca101037d5dc5d8973513f568369e4aa238a02c1f4953a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55f081aee8c11e44ca101037d5dc5d8973513f568369e4aa238a02c1f4953a0", kill_on_drop: false }` [INFO] [stdout] a55f081aee8c11e44ca101037d5dc5d8973513f568369e4aa238a02c1f4953a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee7d7705a2a6ff9e92cf2d923ae05fe358e6b2835320d17c78bdb66c50e920eb [INFO] running `Command { std: "docker" "start" "-a" "ee7d7705a2a6ff9e92cf2d923ae05fe358e6b2835320d17c78bdb66c50e920eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling QAQ v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/db.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/services.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let res = self.client.post(url) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/db.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | LLOneBot::Private(message) => None, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipeline.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let mut deepseek = preprocess_message(&message).await; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_guide_conversation` is never used [INFO] [stdout] --> src/pipeline.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn should_guide_conversation(features: &ContextFeatures) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/pipeline.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 87 | struct HistoryMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 88 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryMessage` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextFeatures` is never constructed [INFO] [stdout] --> src/pipeline.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct ContextFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextFeatures` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_context` is never used [INFO] [stdout] --> src/pipeline.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn analyze_context(messages: &[HistoryMessage], current_message: &String) -> ContextFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_context_strategy` is never used [INFO] [stdout] --> src/pipeline.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn apply_context_strategy(deepseek: &mut DeepSeek, features: &ContextFeatures) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_keywords` is never used [INFO] [stdout] --> src/pipeline.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn extract_keywords(content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_guide_prompt` is never used [INFO] [stdout] --> src/pipeline.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn generate_guide_prompt(message: &LLOneBot, features: &ContextFeatures) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_system_prompts` is never used [INFO] [stdout] --> src/pipeline.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | async fn apply_system_prompts(deepseek: &mut DeepSeek, message: &LLOneBot) -> Result<(), HttpResponse> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_any` is never used [INFO] [stdout] --> src/pipeline.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn contains_any(s: &str, keywords: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_message_type` is never used [INFO] [stdout] --> src/pipeline.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn analyze_message_type(content: &str) -> MessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/pipeline.rs:375:6 [INFO] [stdout] | [INFO] [stdout] 375 | enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReasoningResult` is never used [INFO] [stdout] --> src/pipeline.rs:386:6 [INFO] [stdout] | [INFO] [stdout] 386 | enum ReasoningResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReasoningResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `QAQ` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `qaq` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/config.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | CONFIG.set(Config::load_from_file("./config.json")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = CONFIG.set(Config::load_from_file("./config.json")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `subType` should have a snake case name [INFO] [stdout] --> src/ll_one_bot/interface.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | Image{file:String,subType:u8,url:String,file_size:String}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sub_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "ee7d7705a2a6ff9e92cf2d923ae05fe358e6b2835320d17c78bdb66c50e920eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7d7705a2a6ff9e92cf2d923ae05fe358e6b2835320d17c78bdb66c50e920eb", kill_on_drop: false }` [INFO] [stdout] ee7d7705a2a6ff9e92cf2d923ae05fe358e6b2835320d17c78bdb66c50e920eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5eeb5bdeeb5b5973e6574a2774c06fb0a3400c23ffe475a6904a80f2c0264d5c [INFO] running `Command { std: "docker" "start" "-a" "5eeb5bdeeb5b5973e6574a2774c06fb0a3400c23ffe475a6904a80f2c0264d5c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/db.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/services.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let res = self.client.post(url) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/db.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | LLOneBot::Private(message) => None, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipeline.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let mut deepseek = preprocess_message(&message).await; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_guide_conversation` is never used [INFO] [stdout] --> src/pipeline.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn should_guide_conversation(features: &ContextFeatures) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/pipeline.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 87 | struct HistoryMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 88 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryMessage` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextFeatures` is never constructed [INFO] [stdout] --> src/pipeline.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct ContextFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextFeatures` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_context` is never used [INFO] [stdout] --> src/pipeline.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn analyze_context(messages: &[HistoryMessage], current_message: &String) -> ContextFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling QAQ v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `apply_context_strategy` is never used [INFO] [stdout] --> src/pipeline.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn apply_context_strategy(deepseek: &mut DeepSeek, features: &ContextFeatures) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_keywords` is never used [INFO] [stdout] --> src/pipeline.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn extract_keywords(content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_guide_prompt` is never used [INFO] [stdout] --> src/pipeline.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn generate_guide_prompt(message: &LLOneBot, features: &ContextFeatures) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_system_prompts` is never used [INFO] [stdout] --> src/pipeline.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | async fn apply_system_prompts(deepseek: &mut DeepSeek, message: &LLOneBot) -> Result<(), HttpResponse> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_any` is never used [INFO] [stdout] --> src/pipeline.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn contains_any(s: &str, keywords: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_message_type` is never used [INFO] [stdout] --> src/pipeline.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn analyze_message_type(content: &str) -> MessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/pipeline.rs:375:6 [INFO] [stdout] | [INFO] [stdout] 375 | enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReasoningResult` is never used [INFO] [stdout] --> src/pipeline.rs:386:6 [INFO] [stdout] | [INFO] [stdout] 386 | enum ReasoningResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReasoningResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `QAQ` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `qaq` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/config.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | CONFIG.set(Config::load_from_file("./config.json")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = CONFIG.set(Config::load_from_file("./config.json")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `subType` should have a snake case name [INFO] [stdout] --> src/ll_one_bot/interface.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | Image{file:String,subType:u8,url:String,file_size:String}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sub_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/db.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/services.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let res = self.client.post(url) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/db.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | LLOneBot::Private(message) => None, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipeline.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let mut deepseek = preprocess_message(&message).await; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_guide_conversation` is never used [INFO] [stdout] --> src/pipeline.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn should_guide_conversation(features: &ContextFeatures) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/pipeline.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 87 | struct HistoryMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 88 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryMessage` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextFeatures` is never constructed [INFO] [stdout] --> src/pipeline.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct ContextFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextFeatures` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_context` is never used [INFO] [stdout] --> src/pipeline.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn analyze_context(messages: &[HistoryMessage], current_message: &String) -> ContextFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_context_strategy` is never used [INFO] [stdout] --> src/pipeline.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn apply_context_strategy(deepseek: &mut DeepSeek, features: &ContextFeatures) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_keywords` is never used [INFO] [stdout] --> src/pipeline.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn extract_keywords(content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_guide_prompt` is never used [INFO] [stdout] --> src/pipeline.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn generate_guide_prompt(message: &LLOneBot, features: &ContextFeatures) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_system_prompts` is never used [INFO] [stdout] --> src/pipeline.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | async fn apply_system_prompts(deepseek: &mut DeepSeek, message: &LLOneBot) -> Result<(), HttpResponse> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_any` is never used [INFO] [stdout] --> src/pipeline.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn contains_any(s: &str, keywords: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_message_type` is never used [INFO] [stdout] --> src/pipeline.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn analyze_message_type(content: &str) -> MessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/pipeline.rs:375:6 [INFO] [stdout] | [INFO] [stdout] 375 | enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReasoningResult` is never used [INFO] [stdout] --> src/pipeline.rs:386:6 [INFO] [stdout] | [INFO] [stdout] 386 | enum ReasoningResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReasoningResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/config.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | CONFIG.set(Config::load_from_file("./config.json")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = CONFIG.set(Config::load_from_file("./config.json")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `subType` should have a snake case name [INFO] [stdout] --> src/ll_one_bot/interface.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | Image{file:String,subType:u8,url:String,file_size:String}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sub_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `Command { std: "docker" "inspect" "5eeb5bdeeb5b5973e6574a2774c06fb0a3400c23ffe475a6904a80f2c0264d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eeb5bdeeb5b5973e6574a2774c06fb0a3400c23ffe475a6904a80f2c0264d5c", kill_on_drop: false }` [INFO] [stdout] 5eeb5bdeeb5b5973e6574a2774c06fb0a3400c23ffe475a6904a80f2c0264d5c