[INFO] cloning repository https://github.com/gitstq/CodeTUI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gitstq/CodeTUI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgitstq%2FCodeTUI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgitstq%2FCodeTUI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1cfeddba255ba407ebbdbff6a9ce299389e5a1b5
[INFO] testing gitstq/CodeTUI against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgitstq%2FCodeTUI" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gitstq/CodeTUI
[INFO] finished tweaking git repo https://github.com/gitstq/CodeTUI
[INFO] tweaked toml for git repo https://github.com/gitstq/CodeTUI written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gitstq/CodeTUI on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gitstq/CodeTUI 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded onig v6.5.3
[INFO] [stderr]   Downloaded quick-xml v0.39.2
[INFO] [stderr]   Downloaded onig_sys v69.9.3
[INFO] [stderr]   Downloaded syntect v5.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46
[INFO] running `Command { std: "docker" "start" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling quick-xml v0.39.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]    Compiling onig_sys v69.9.3
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling onig v6.5.3
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling ratatui v0.29.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling plist v1.9.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling syntect v5.3.0
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling codetui v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::utils`
[INFO] [stdout]  --> src/app.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::utils;
[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 imports: `LlmProvider` and `create_provider`
[INFO] [stdout]  --> src/chat.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::llm::{create_provider, LlmProvider};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils`
[INFO] [stdout]  --> src/chat.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/chat.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/chat.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/chat.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Clear`, `ListState`, `Modifier`, `ScrollbarOrientation`, `ScrollbarState`, `Scrollbar`, `Tabs`, and `Text`
[INFO] [stdout]   --> src/ui.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     style::{Color, Modifier, Style, Stylize},
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout] 11 |     text::{Line, Span, Text},
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout] 12 |     widgets::{
[INFO] [stdout] 13 |         Block, BorderType, Borders, Clear, List, ListItem, ListState, Paragraph, Scrollbar,
[INFO] [stdout]    |                                     ^^^^^                  ^^^^^^^^^             ^^^^^^^^^
[INFO] [stdout] 14 |         ScrollbarOrientation, ScrollbarState, Tabs, Wrap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]   --> src/ui.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let size = f.size();
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MessageRole` is never used
[INFO] [stdout]   --> src/chat.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum MessageRole {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `assistant` is never used
[INFO] [stdout]   --> src/chat.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl ChatMessage {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn assistant(content: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token_usage` is never read
[INFO] [stdout]   --> src/chat.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct ChatState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub token_usage: TokenUsage,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read
[INFO] [stdout]   --> src/chat.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 97 |     pub prompt_tokens: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 98 |     pub completion_tokens: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 99 |     pub total_tokens: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `history_up` and `history_down` are never used
[INFO] [stdout]    --> src/chat.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout] 237 | impl InputState {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub fn history_up(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 363 |     pub fn history_down(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `current_provider_config` is never used
[INFO] [stdout]    --> src/config.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout]  69 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn current_provider_config(&self) -> (&str, &str, &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent` is never read
[INFO] [stdout]   --> src/file_browser.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct FileEntry {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub indent: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `selected_path` and `toggle_hidden` are never used
[INFO] [stdout]    --> src/file_browser.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl FileBrowser {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn selected_path(&self) -> PathBuf {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn toggle_hidden(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_message`, `name`, and `model` are never used
[INFO] [stdout]   --> src/llm/mod.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait LlmProvider: Send + Sync {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] 17 |     /// 发送消息（非流式）
[INFO] [stdout] 18 |     async fn send_message(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn model(&self) -> &str;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `provider_name` is never read
[INFO] [stdout]   --> src/llm/openai.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OpenAiProvider {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     provider_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search` is never used
[INFO] [stdout]    --> src/session.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl SessionManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn search(&self, query: &str) -> Vec<&Session> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error` is never read
[INFO] [stdout]   --> src/ui.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Colors {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 76 |     error: Color,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_markdown_simple` is never used
[INFO] [stdout]   --> src/utils.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn render_markdown_simple(text: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_width` is never used
[INFO] [stdout]    --> src/utils.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn display_width(s: &str) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `truncate_by_width` is never used
[INFO] [stdout]    --> src/utils.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn truncate_by_width(s: &str, max_width: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s
[INFO] running `Command { std: "docker" "inspect" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling codetui v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::utils`
[INFO] [stdout]  --> src/app.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::utils;
[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 imports: `LlmProvider` and `create_provider`
[INFO] [stdout]  --> src/chat.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::llm::{create_provider, LlmProvider};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils`
[INFO] [stdout]  --> src/chat.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/chat.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/chat.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/chat.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Clear`, `ListState`, `Modifier`, `ScrollbarOrientation`, `ScrollbarState`, `Scrollbar`, `Tabs`, and `Text`
[INFO] [stdout]   --> src/ui.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     style::{Color, Modifier, Style, Stylize},
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout] 11 |     text::{Line, Span, Text},
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout] 12 |     widgets::{
[INFO] [stdout] 13 |         Block, BorderType, Borders, Clear, List, ListItem, ListState, Paragraph, Scrollbar,
[INFO] [stdout]    |                                     ^^^^^                  ^^^^^^^^^             ^^^^^^^^^
[INFO] [stdout] 14 |         ScrollbarOrientation, ScrollbarState, Tabs, Wrap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]   --> src/ui.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let size = f.size();
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MessageRole` is never used
[INFO] [stdout]   --> src/chat.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum MessageRole {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `assistant` is never used
[INFO] [stdout]   --> src/chat.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl ChatMessage {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn assistant(content: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token_usage` is never read
[INFO] [stdout]   --> src/chat.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct ChatState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub token_usage: TokenUsage,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read
[INFO] [stdout]   --> src/chat.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 97 |     pub prompt_tokens: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 98 |     pub completion_tokens: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 99 |     pub total_tokens: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `history_up` and `history_down` are never used
[INFO] [stdout]    --> src/chat.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout] 237 | impl InputState {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub fn history_up(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 363 |     pub fn history_down(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `current_provider_config` is never used
[INFO] [stdout]    --> src/config.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout]  69 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn current_provider_config(&self) -> (&str, &str, &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent` is never read
[INFO] [stdout]   --> src/file_browser.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct FileEntry {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub indent: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `selected_path` and `toggle_hidden` are never used
[INFO] [stdout]    --> src/file_browser.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl FileBrowser {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn selected_path(&self) -> PathBuf {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn toggle_hidden(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_message`, `name`, and `model` are never used
[INFO] [stdout]   --> src/llm/mod.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait LlmProvider: Send + Sync {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] 17 |     /// 发送消息（非流式）
[INFO] [stdout] 18 |     async fn send_message(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn model(&self) -> &str;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `provider_name` is never read
[INFO] [stdout]   --> src/llm/openai.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OpenAiProvider {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     provider_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search` is never used
[INFO] [stdout]    --> src/session.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl SessionManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn search(&self, query: &str) -> Vec<&Session> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error` is never read
[INFO] [stdout]   --> src/ui.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Colors {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 76 |     error: Color,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s
[INFO] running `Command { std: "docker" "inspect" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::utils`
[INFO] [stderr]  --> src/app.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::utils;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `LlmProvider` and `create_provider`
[INFO] [stderr]  --> src/chat.rs:5:18
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::llm::{create_provider, LlmProvider};
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::utils`
[INFO] [stderr]  --> src/chat.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::utils;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::pin::Pin`
[INFO] [stderr]   --> src/chat.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::pin::Pin;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/chat.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::sync::Arc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::sync::Mutex`
[INFO] [stderr]   --> src/chat.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use tokio::sync::Mutex;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Clear`, `ListState`, `Modifier`, `ScrollbarOrientation`, `ScrollbarState`, `Scrollbar`, `Tabs`, and `Text`
[INFO] [stderr]   --> src/ui.rs:10:20
[INFO] [stderr]    |
[INFO] [stderr] 10 |     style::{Color, Modifier, Style, Stylize},
[INFO] [stderr]    |                    ^^^^^^^^
[INFO] [stderr] 11 |     text::{Line, Span, Text},
[INFO] [stderr]    |                        ^^^^
[INFO] [stderr] 12 |     widgets::{
[INFO] [stderr] 13 |         Block, BorderType, Borders, Clear, List, ListItem, ListState, Paragraph, Scrollbar,
[INFO] [stderr]    |                                     ^^^^^                  ^^^^^^^^^             ^^^^^^^^^
[INFO] [stderr] 14 |         ScrollbarOrientation, ScrollbarState, Tabs, Wrap,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stderr]   --> src/ui.rs:21:18
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let size = f.size();
[INFO] [stderr]    |                  ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `MessageRole` is never used
[INFO] [stderr]   --> src/chat.rs:16:10
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub enum MessageRole {
[INFO] [stderr]    |          ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `assistant` is never used
[INFO] [stderr]   --> src/chat.rs:58:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | impl ChatMessage {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 58 |     pub fn assistant(content: String) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `token_usage` is never read
[INFO] [stderr]   --> src/chat.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 79 | pub struct ChatState {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 91 |     pub token_usage: TokenUsage,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read
[INFO] [stderr]   --> src/chat.rs:97:9
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub struct TokenUsage {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] 97 |     pub prompt_tokens: usize,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 98 |     pub completion_tokens: usize,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 99 |     pub total_tokens: usize,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TokenUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `history_up` and `history_down` are never used
[INFO] [stderr]    --> src/chat.rs:349:12
[INFO] [stderr]     |
[INFO] [stderr] 237 | impl InputState {
[INFO] [stderr]     | --------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 349 |     pub fn history_up(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 363 |     pub fn history_down(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `current_provider_config` is never used
[INFO] [stderr]    --> src/config.rs:127:12
[INFO] [stderr]     |
[INFO] [stderr]  69 | impl Config {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 127 |     pub fn current_provider_config(&self) -> (&str, &str, &str) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `indent` is never read
[INFO] [stderr]   --> src/file_browser.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct FileEntry {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 19 |     pub indent: usize,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `FileEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `selected_path` and `toggle_hidden` are never used
[INFO] [stderr]    --> src/file_browser.rs:157:12
[INFO] [stderr]     |
[INFO] [stderr]  34 | impl FileBrowser {
[INFO] [stderr]     | ---------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 157 |     pub fn selected_path(&self) -> PathBuf {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 180 |     pub fn toggle_hidden(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `send_message`, `name`, and `model` are never used
[INFO] [stderr]   --> src/llm/mod.rs:18:14
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub trait LlmProvider: Send + Sync {
[INFO] [stderr]    |           ----------- methods in this trait
[INFO] [stderr] 17 |     /// 发送消息（非流式）
[INFO] [stderr] 18 |     async fn send_message(
[INFO] [stderr]    |              ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     fn name(&self) -> &str;
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     fn model(&self) -> &str;
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `provider_name` is never read
[INFO] [stderr]   --> src/llm/openai.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct OpenAiProvider {
[INFO] [stderr]    |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     provider_name: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `search` is never used
[INFO] [stderr]    --> src/session.rs:187:12
[INFO] [stderr]     |
[INFO] [stderr]  84 | impl SessionManager {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 187 |     pub fn search(&self, query: &str) -> Vec<&Session> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `error` is never read
[INFO] [stderr]   --> src/ui.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 64 | struct Colors {
[INFO] [stderr]    |        ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 76 |     error: Color,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `codetui` (bin "codetui" test) generated 20 warnings (run `cargo fix --bin "codetui" -p codetui --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codetui-548bc6da7b4bfec4)
[INFO] [stdout] running 4 tests
[INFO] [stdout] test utils::tests::test_display_width ... ok
[INFO] [stdout] test utils::tests::test_truncate_str ... ok
[INFO] [stdout] test utils::tests::test_render_markdown_simple ... ok
[INFO] [stdout] test utils::tests::test_truncate_by_width ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- utils::tests::test_truncate_by_width stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'utils::tests::test_truncate_by_width' (2079) panicked at src/utils.rs:166:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "hel"
[INFO] [stdout]  right: "hel…"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x651801f809a8 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x651801f809a8 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::trace_unsynchronized::<std[10d71ac2c42b111e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x651801f809a8 - std[10d71ac2c42b111e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x651801f809a8 - <<std[10d71ac2c42b111e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8fb95b77d25ab6c8]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x651801f9481a - <core[8fb95b77d25ab6c8]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x651801f9481a - core[8fb95b77d25ab6c8]::fmt::write
[INFO] [stdout]    6:     0x651801f851c2 - std[10d71ac2c42b111e]::io::default_write_fmt::<alloc[a7ee25936407c584]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x651801f851c2 - <alloc[a7ee25936407c584]::vec::Vec<u8> as std[10d71ac2c42b111e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x651801f5fb66 - <std[10d71ac2c42b111e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x651801f5fb66 - std[10d71ac2c42b111e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x651801f78ef9 - std[10d71ac2c42b111e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x651801f0caac - <alloc[a7ee25936407c584]::boxed::Box<dyn for<'a, 'b> core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   12:     0x651801f0caac - test[213991da798b1c03]::test_main_inner::<test[213991da798b1c03]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x651801f790b2 - <alloc[a7ee25936407c584]::boxed::Box<dyn for<'a, 'b> core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   14:     0x651801f790b2 - std[10d71ac2c42b111e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x651801f5fc22 - std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x651801f54e29 - std[10d71ac2c42b111e]::sys::backtrace::__rust_end_short_backtrace::<std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x651801f6093d - __rustc[3be9ba60078d4c86]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x651801f94f0c - core[8fb95b77d25ab6c8]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x651801f94e23 - core[8fb95b77d25ab6c8]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x651801efb36d - core[8fb95b77d25ab6c8]::panicking::assert_failed::<alloc[a7ee25936407c584]::string::String, &str>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x651801efd0b6 - codetui[53f73d93ea6df6a8]::utils::tests::test_truncate_by_width
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils.rs:166:9
[INFO] [stdout]   22:     0x651801efbaf7 - codetui[53f73d93ea6df6a8]::utils::tests::test_truncate_by_width::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils.rs:165:32
[INFO] [stdout]   23:     0x651801efe126 - <codetui[53f73d93ea6df6a8]::utils::tests::test_truncate_by_width::{closure#0} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x651801effb8b - <fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x651801effb8b - test[213991da798b1c03]::__rust_begin_short_backtrace::<core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>, fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x651801f0d405 - test[213991da798b1c03]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x651801f0d405 - <core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x651801f0d405 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x651801f0d405 - std[10d71ac2c42b111e]::panicking::catch_unwind::<core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>, core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x651801f0d405 - std[10d71ac2c42b111e]::panic::catch_unwind::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x651801f0d405 - test[213991da798b1c03]::run_test_in_process
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x651801f0d405 - test[213991da798b1c03]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x651801f06d14 - test[213991da798b1c03]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x651801f06d14 - std[10d71ac2c42b111e]::sys::backtrace::__rust_begin_short_backtrace::<test[213991da798b1c03]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x651801f10482 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x651801f10482 - <core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x651801f10482 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x651801f10482 - std[10d71ac2c42b111e]::panicking::catch_unwind::<(), core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x651801f10482 - std[10d71ac2c42b111e]::panic::catch_unwind::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x651801f10482 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x651801f10482 - <std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x651801f8030f - <alloc[a7ee25936407c584]::boxed::Box<dyn core[8fb95b77d25ab6c8]::ops::function::FnOnce<(), Output = ()> + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2275:9
[INFO] [stdout]   43:     0x651801f8030f - <std[10d71ac2c42b111e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7d8d57430aa4 - <unknown>
[INFO] [stdout]   45:     0x7d8d574bda64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     utils::tests::test_truncate_by_width
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin codetui`
[INFO] running `Command { std: "docker" "inspect" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46", kill_on_drop: false }`
[INFO] [stdout] b381af486e1c9476d745d8f7fc10b213879f7367a3ff466a7f96dbf1fa328d46
