[INFO] cloning repository https://github.com/InfiniTensor/InfiniTUI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InfiniTensor/InfiniTUI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfiniTensor%2FInfiniTUI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfiniTensor%2FInfiniTUI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93832d43b652599e8dc169a3ef8909b0a430650b
[INFO] checking InfiniTensor/InfiniTUI against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfiniTensor%2FInfiniTUI" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/InfiniTensor/InfiniTUI
[INFO] finished tweaking git repo https://github.com/InfiniTensor/InfiniTUI
[INFO] tweaked toml for git repo https://github.com/InfiniTensor/InfiniTUI written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/InfiniTensor/InfiniTUI on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/InfiniTensor/InfiniTUI 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95df198e2deef252aa25fc8caa3d9ef4e57fb830f8d411646ab9314ad738f35d
[INFO] running `Command { std: "docker" "start" "-a" "95df198e2deef252aa25fc8caa3d9ef4e57fb830f8d411646ab9314ad738f35d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95df198e2deef252aa25fc8caa3d9ef4e57fb830f8d411646ab9314ad738f35d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95df198e2deef252aa25fc8caa3d9ef4e57fb830f8d411646ab9314ad738f35d", kill_on_drop: false }`
[INFO] [stdout] 95df198e2deef252aa25fc8caa3d9ef4e57fb830f8d411646ab9314ad738f35d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 778db729d1b4894628b7fd07eb1696e4ca2030c25de0f4e1986e931405ea6aba
[INFO] running `Command { std: "docker" "start" "-a" "778db729d1b4894628b7fd07eb1696e4ca2030c25de0f4e1986e931405ea6aba", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.206
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking tinyvec v1.6.1
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling cc v1.0.104
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking rustls-pki-types v1.7.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling bstr v1.9.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling rustls v0.23.10
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling serde_yml v0.0.11
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]    Compiling clap_lex v0.7.1
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling libz-sys v1.1.18
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling sys-info v0.9.1
[INFO] [stderr]    Compiling onig_sys v69.8.1
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling libgit2-sys v0.16.2+1.7.2
[INFO] [stderr]    Compiling terminal_size v0.3.0
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling clap_builder v4.5.8
[INFO] [stderr]     Checking rustls-native-certs v0.7.1
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling libyml v0.0.4
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking lru v0.12.3
[INFO] [stderr]     Checking quick-xml v0.32.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]     Checking unicode-truncate v1.0.0
[INFO] [stderr]    Compiling normpath v1.3.0
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling base62 v2.0.2
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]    Compiling clap v4.5.8
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling bugreport v0.5.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking ignore v0.4.22
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking rgb v0.8.40
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking globwalk v0.8.1
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking winnow v0.6.13
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking shell-escape v0.1.5
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]     Checking std_prelude v0.2.12
[INFO] [stderr]     Checking etcetera v0.8.0
[INFO] [stderr]     Checking path_abs v0.5.1
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking ansi_colours v1.2.2
[INFO] [stderr]     Checking image v0.25.1
[INFO] [stderr]     Checking grep-cli v0.1.10
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling serde_derive v1.0.206
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking rustls-webpki v0.102.5
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling stability v0.2.1
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling git-version-macro v0.3.9
[INFO] [stderr]    Compiling derive_builder_core v0.20.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking onig v6.4.0
[INFO] [stderr]    Compiling rust-i18n v3.1.1
[INFO] [stderr]    Compiling bat v0.24.0
[INFO] [stderr]    Compiling clap_derive v4.5.8
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]     Checking git-version v0.3.9
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking fancy-regex v0.12.0
[INFO] [stderr]     Checking pest v2.7.11
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking fuzzy-matcher v0.3.7
[INFO] [stderr]     Checking newline-converter v0.3.0
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking console v0.15.8
[INFO] [stderr]     Checking crossbeam-channel v0.5.13
[INFO] [stderr]     Checking async-convert v1.0.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.0
[INFO] [stderr]     Checking content_inspector v0.2.4
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking bytesize v1.3.0
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking wild v2.2.1
[INFO] [stderr]     Checking derive_builder v0.20.0
[INFO] [stderr]     Checking nu-ansi-term v0.49.0
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking inquire v0.7.5
[INFO] [stderr]     Checking tiktoken-rs v0.5.9
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking ratatui v0.27.0
[INFO] [stderr]     Checking arboard v3.4.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking base64url v0.1.0
[INFO] [stderr]     Checking termtree v0.4.1
[INFO] [stderr]    Compiling pest_meta v2.7.11
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling pest_generator v2.7.11
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking hyper v1.4.0
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-rustls v0.26.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking rsntp v4.0.0
[INFO] [stderr]     Checking ansi-to-tui v3.1.0
[INFO] [stderr]     Checking tui-textarea v0.4.0
[INFO] [stderr]     Checking hyper-util v0.1.6
[INFO] [stderr]    Compiling pest_derive v2.7.11
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking toml_datetime v0.6.6
[INFO] [stderr]     Checking serde_spanned v0.6.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking plist v1.7.0
[INFO] [stderr]     Checking triomphe v0.1.13
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking clircle v0.4.0
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking toml_edit v0.19.15
[INFO] [stderr]     Checking toml_edit v0.22.14
[INFO] [stderr]     Checking hyper-rustls v0.27.2
[INFO] [stderr]     Checking reqwest v0.12.5
[INFO] [stderr]     Checking handlebars v5.1.2
[INFO] [stderr]     Checking syntect v5.2.0
[INFO] [stderr]     Checking hyper v0.14.29
[INFO] [stderr]     Checking toml v0.7.8
[INFO] [stderr]     Checking toml v0.8.14
[INFO] [stderr]     Checking reqwest-eventsource v0.6.0
[INFO] [stderr]     Checking async-openai v0.20.0
[INFO] [stderr]     Checking rust-i18n-support v3.1.1
[INFO] [stderr]     Checking git2 v0.18.3
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]    Compiling rust-i18n-macro v3.1.1
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking infini v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/event/handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/event/handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::header::HeaderValue`
[INFO] [stdout]   --> src/llm/chatglm/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use reqwest::header::HeaderValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]   --> src/llm/chatglm/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use reqwest::Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::header::HeaderValue`
[INFO] [stdout]   --> src/llm/chatglm/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use reqwest::header::HeaderValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]   --> src/llm/chatglm/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use reqwest::Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]  --> src/llm/infinilm.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use regex::Regex;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]  --> src/llm/infinilm.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use regex::Regex;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]  --> src/ui/chat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::executor::block_on;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/ui/chat.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     sync::atomic::{AtomicBool, Ordering},
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]  --> src/ui/chat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::executor::block_on;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/ui/chat.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     sync::atomic::{AtomicBool, Ordering},
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]   --> src/ui/chat.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::info; // 引用 Spinner 模块
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]   --> src/ui/chat.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::info; // 引用 Spinner 模块
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ratatui::prelude::*`
[INFO] [stdout]   --> src/ui/chat.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ratatui::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ratatui::prelude::*`
[INFO] [stdout]   --> src/ui/chat.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ratatui::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]   --> src/ui/prompt.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]   --> src/ui/prompt.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::interval`
[INFO] [stdout]   --> src/ui/prompt.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::time::interval;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::interval`
[INFO] [stdout]   --> src/ui/prompt.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::time::interval;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]   --> src/ui/tui.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::{Arc, Mutex};
[INFO] [stdout]    |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]   --> src/ui/tui.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::{Arc, Mutex};
[INFO] [stdout]    |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `locale`
[INFO] [stdout]   --> src/lib.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use rust_i18n::{i18n, locale};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `locale`
[INFO] [stdout]   --> src/lib.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use rust_i18n::{i18n, locale};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ratatui::prelude`
[INFO] [stdout]  --> src/ui/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ratatui::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ratatui::prelude`
[INFO] [stdout]  --> src/ui/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ratatui::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/config.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let mut app_config: Config = toml::from_str(&config)
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/config.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let mut app_config: Config = toml::from_str(&config)
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]   --> src/llm/infinilm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InfiniLM {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 11 |     client: reqwest::Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InfiniLM` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tokens` and `encoding` are never read
[INFO] [stdout]   --> src/utils/code2prompt.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Code2Prompt {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     tokens: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     encoding: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_undefined_variables` is never used
[INFO] [stdout]    --> src/utils/code2prompt.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn extract_undefined_variables(template: &str) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/ui/file_explore/widget.rs:265:22
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn title_top(&self, file_explorer: &FileExplorer) -> Vec<Line> {
[INFO] [stdout]     |                      ^^^^^ the lifetime is elided here           ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn title_top(&self, file_explorer: &FileExplorer) -> Vec<Line<'_>> {
[INFO] [stdout]     |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/ui/file_explore/widget.rs:274:25
[INFO] [stdout]     |
[INFO] [stdout] 274 |     pub fn title_bottom(&self, file_explorer: &FileExplorer) -> Vec<Line> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here           ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 274 |     pub fn title_bottom(&self, file_explorer: &FileExplorer) -> Vec<Line<'_>> {
[INFO] [stdout]     |                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]   --> src/llm/infinilm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InfiniLM {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 11 |     client: reqwest::Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InfiniLM` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tokens` and `encoding` are never read
[INFO] [stdout]   --> src/utils/code2prompt.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Code2Prompt {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     tokens: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     encoding: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_undefined_variables` is never used
[INFO] [stdout]    --> src/utils/code2prompt.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn extract_undefined_variables(template: &str) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/ui/file_explore/widget.rs:265:22
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn title_top(&self, file_explorer: &FileExplorer) -> Vec<Line> {
[INFO] [stdout]     |                      ^^^^^ the lifetime is elided here           ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn title_top(&self, file_explorer: &FileExplorer) -> Vec<Line<'_>> {
[INFO] [stdout]     |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/ui/file_explore/widget.rs:274:25
[INFO] [stdout]     |
[INFO] [stdout] 274 |     pub fn title_bottom(&self, file_explorer: &FileExplorer) -> Vec<Line> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here           ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 274 |     pub fn title_bottom(&self, file_explorer: &FileExplorer) -> Vec<Line<'_>> {
[INFO] [stdout]     |                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/main.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn setup_formatter(config: &Arc<Config>) -> AppResult<Formatter> {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn setup_formatter(config: &Arc<Config>) -> AppResult<Formatter> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^               ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn setup_formatter(config: &Arc<Config>) -> AppResult<Formatter<'_>> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/main.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn setup_formatter(config: &Arc<Config>) -> AppResult<Formatter> {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn setup_formatter(config: &Arc<Config>) -> AppResult<Formatter> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^               ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn setup_formatter(config: &Arc<Config>) -> AppResult<Formatter<'_>> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "778db729d1b4894628b7fd07eb1696e4ca2030c25de0f4e1986e931405ea6aba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "778db729d1b4894628b7fd07eb1696e4ca2030c25de0f4e1986e931405ea6aba", kill_on_drop: false }`
[INFO] [stdout] 778db729d1b4894628b7fd07eb1696e4ca2030c25de0f4e1986e931405ea6aba
