[INFO] cloning repository https://github.com/cnmzsjbz199328/ai-pet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cnmzsjbz199328/ai-pet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcnmzsjbz199328%2Fai-pet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcnmzsjbz199328%2Fai-pet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 31d63976f46e2a00cd8079ce6606c224ea03fd17
[INFO] checking cnmzsjbz199328/ai-pet against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcnmzsjbz199328%2Fai-pet" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/cnmzsjbz199328/ai-pet
[INFO] finished tweaking git repo https://github.com/cnmzsjbz199328/ai-pet
[INFO] tweaked toml for git repo https://github.com/cnmzsjbz199328/ai-pet written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cnmzsjbz199328/ai-pet on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cnmzsjbz199328/ai-pet 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2094f05abbe48e9d96db1ac84cf825ecb48608374ab5d721fbf549507dbbaffa
[INFO] running `Command { std: "docker" "start" "-a" "2094f05abbe48e9d96db1ac84cf825ecb48608374ab5d721fbf549507dbbaffa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2094f05abbe48e9d96db1ac84cf825ecb48608374ab5d721fbf549507dbbaffa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2094f05abbe48e9d96db1ac84cf825ecb48608374ab5d721fbf549507dbbaffa", kill_on_drop: false }`
[INFO] [stdout] 2094f05abbe48e9d96db1ac84cf825ecb48608374ab5d721fbf549507dbbaffa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc35339a165d72567594b9b6084c36f8002d68d59282b299e61a1d9e2dc69892
[INFO] running `Command { std: "docker" "start" "-a" "cc35339a165d72567594b9b6084c36f8002d68d59282b299e61a1d9e2dc69892", kill_on_drop: false }`
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking dlib v0.5.3
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling wayland-sys v0.31.11
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling quick-xml v0.39.2
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling wayland-client v0.31.14
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]    Compiling wayland-backend v0.3.15
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling naga v29.0.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]    Compiling wayland-scanner v0.31.10
[INFO] [stderr]    Compiling ash v0.38.0+1.3.281
[INFO] [stderr]     Checking raw-window-handle v0.6.2
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]     Checking bit-vec v0.9.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking codespan-reporting v0.13.1
[INFO] [stderr]     Checking bit-set v0.9.1
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking spirv v0.4.0+sdk-1.4.341.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking hexf-parse v0.2.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling wgpu-hal v29.0.3
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking presser v0.3.1
[INFO] [stderr]     Checking gpu-descriptor v0.3.2
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking ordered-float v5.3.0
[INFO] [stderr]     Checking glow v0.17.0
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking wgpu-types v29.0.3
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking wayland-protocols v0.32.12
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling wgpu-core v29.0.3
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking cursor-icon v1.2.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]     Checking xkeysym v0.2.1
[INFO] [stderr]     Checking xcursor v0.3.10
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking pxfm v0.1.29
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking wayland-cursor v0.31.14
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking memmap2 v0.9.10
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling wgpu v29.0.3
[INFO] [stderr]     Checking byteorder-lite v0.1.0
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.10
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.12
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking gpu-allocator v0.28.0
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]    Compiling winit v0.30.13
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking as-raw-xcb-connection v1.0.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking ultraviolet v0.10.0
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.12
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking dpi v0.1.2
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking pollster v0.4.0
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking core_engine v0.1.0 (/opt/rustwide/workdir/core_engine)
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking wgpu-naga-bridge v29.0.3
[INFO] [stderr]     Checking wgpu-core-deps-windows-linux-android v29.0.3
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking pixels v0.17.1
[INFO] [stderr]     Checking cli_app v0.1.0 (/opt/rustwide/workdir/cli_app)
[INFO] [stdout] warning: method `generate_script` is never used
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub trait LlmClient: Send + Sync {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 10 |     async fn generate_script(&self, prompt: &str) -> Result<String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYSTEM_PROMPT` is never used
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const SYSTEM_PROMPT: &str = "\
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `api_key`, `model`, and `http` are never read
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct GeminiClient {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 65 |     api_key: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 66 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 67 |     http: reqwest::Client,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAiClient` is never constructed
[INFO] [stdout]    --> cli_app/src/ai/mod.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct OpenAiClient {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> cli_app/src/ai/mod.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl OpenAiClient {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 130 |     pub fn new(api_key: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `preset_response` is never read
[INFO] [stdout]    --> cli_app/src/ai/mod.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub struct MockLlmClient {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 173 |     pub preset_response: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InjectTimeline`, `LlmError`, and `Shutdown` are never constructed
[INFO] [stdout]  --> cli_app/src/ipc/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum AppMessage {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 4 |     /// 注入新剧本事件列表。
[INFO] [stdout] 5 |     InjectTimeline(Vec<core_engine::scripting::TimelineEvent>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     /// LLM 调用失败，携带错误描述。
[INFO] [stdout] 7 |     LlmError(String),
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     /// 关闭守护进程。
[INFO] [stdout] 9 |     Shutdown,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AppMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PIPE_NAME` is never used
[INFO] [stdout]   --> cli_app/src/ipc/mod.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const PIPE_NAME: &str = r"\\.\pipe\ai-pet-ipc";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_script` is never used
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub trait LlmClient: Send + Sync {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 10 |     async fn generate_script(&self, prompt: &str) -> Result<String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScriptResponse` is never constructed
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct ScriptResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_script` is never used
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn parse_script(json: &str) -> Result<Vec<TimelineEvent>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYSTEM_PROMPT` is never used
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const SYSTEM_PROMPT: &str = "\
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `api_key`, `model`, and `http` are never read
[INFO] [stdout]   --> cli_app/src/ai/mod.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct GeminiClient {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 65 |     api_key: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 66 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 67 |     http: reqwest::Client,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAiClient` is never constructed
[INFO] [stdout]    --> cli_app/src/ai/mod.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct OpenAiClient {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> cli_app/src/ai/mod.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl OpenAiClient {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 130 |     pub fn new(api_key: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `preset_response` is never read
[INFO] [stdout]    --> cli_app/src/ai/mod.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub struct MockLlmClient {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 173 |     pub preset_response: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InjectTimeline`, `LlmError`, and `Shutdown` are never constructed
[INFO] [stdout]  --> cli_app/src/ipc/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum AppMessage {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 4 |     /// 注入新剧本事件列表。
[INFO] [stdout] 5 |     InjectTimeline(Vec<core_engine::scripting::TimelineEvent>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     /// LLM 调用失败，携带错误描述。
[INFO] [stdout] 7 |     LlmError(String),
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     /// 关闭守护进程。
[INFO] [stdout] 9 |     Shutdown,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AppMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PIPE_NAME` is never used
[INFO] [stdout]   --> cli_app/src/ipc/mod.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const PIPE_NAME: &str = r"\\.\pipe\ai-pet-ipc";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 58s
[INFO] running `Command { std: "docker" "inspect" "cc35339a165d72567594b9b6084c36f8002d68d59282b299e61a1d9e2dc69892", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc35339a165d72567594b9b6084c36f8002d68d59282b299e61a1d9e2dc69892", kill_on_drop: false }`
[INFO] [stdout] cc35339a165d72567594b9b6084c36f8002d68d59282b299e61a1d9e2dc69892
