[INFO] cloning repository https://github.com/kettei-sproutty/ollama-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kettei-sproutty/ollama-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettei-sproutty%2Follama-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettei-sproutty%2Follama-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b60ce6afcc28a693990465ddc52410dc85dff167 [INFO] testing kettei-sproutty/ollama-tui against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettei-sproutty%2Follama-tui" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kettei-sproutty/ollama-tui on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kettei-sproutty/ollama-tui [INFO] finished tweaking git repo https://github.com/kettei-sproutty/ollama-tui [INFO] tweaked toml for git repo https://github.com/kettei-sproutty/ollama-tui written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kettei-sproutty/ollama-tui 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2607200f5c7f901bb042b1b5c320be0dd435291063d39d6c23b2cbee018ebbcf [INFO] running `Command { std: "docker" "start" "-a" "2607200f5c7f901bb042b1b5c320be0dd435291063d39d6c23b2cbee018ebbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2607200f5c7f901bb042b1b5c320be0dd435291063d39d6c23b2cbee018ebbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2607200f5c7f901bb042b1b5c320be0dd435291063d39d6c23b2cbee018ebbcf", kill_on_drop: false }` [INFO] [stdout] 2607200f5c7f901bb042b1b5c320be0dd435291063d39d6c23b2cbee018ebbcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956bda91ddba7b74af3e28522034a32cd0c3a4acbad95e1d1e3a2513f778e579 [INFO] running `Command { std: "docker" "start" "-a" "956bda91ddba7b74af3e28522034a32cd0c3a4acbad95e1d1e3a2513f778e579", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling ratatui v0.26.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling ollama-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let mut app = App::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tui` is never used [INFO] [stdout] --> src/app.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Tui = Terminal>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `models` are never read [INFO] [stdout] --> src/app.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 14 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | models: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `setup` and `restore` are never used [INFO] [stdout] --> src/app.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl App { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn setup(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn restore() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/models.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pull_model` is never used [INFO] [stdout] --> src/models.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 8 | pub fn pull_model(&self) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Models`, `Options`, and `Exit` are never constructed [INFO] [stdout] --> src/state.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Screen { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Models, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | /// The user is in the options screen [INFO] [stdout] 9 | Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | /// The user is in the exit screen [INFO] [stdout] 11 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `question` and `answer` are never read [INFO] [stdout] --> src/state.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct History { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 16 | question: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | answer: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `History` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chat_input`, `screen`, and `chat_history` are never read [INFO] [stdout] --> src/state.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | /// The value of the input in the chat screen [INFO] [stdout] 23 | pub chat_input: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | /// The current screen user is rendering [INFO] [stdout] 25 | pub screen: Screen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | /// The chat history, stored inside $HOME/ollama-tui/history.ron [INFO] [stdout] 27 | pub chat_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.92s [INFO] running `Command { std: "docker" "inspect" "956bda91ddba7b74af3e28522034a32cd0c3a4acbad95e1d1e3a2513f778e579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956bda91ddba7b74af3e28522034a32cd0c3a4acbad95e1d1e3a2513f778e579", kill_on_drop: false }` [INFO] [stdout] 956bda91ddba7b74af3e28522034a32cd0c3a4acbad95e1d1e3a2513f778e579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c2574f02776cbf48a9c0b1fe9be7dc0ea7ee2b5b498c67de543af5b6589581 [INFO] running `Command { std: "docker" "start" "-a" "40c2574f02776cbf48a9c0b1fe9be7dc0ea7ee2b5b498c67de543af5b6589581", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling nias v0.5.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling envmnt v0.8.4 [INFO] [stderr] Compiling ci_info v0.10.2 [INFO] [stderr] Compiling rusty-hook v0.11.2 [INFO] [stderr] Compiling ollama-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let mut app = App::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tui` is never used [INFO] [stdout] --> src/app.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Tui = Terminal>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `models` are never read [INFO] [stdout] --> src/app.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 14 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | models: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `setup` and `restore` are never used [INFO] [stdout] --> src/app.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl App { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn setup(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn restore() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/models.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pull_model` is never used [INFO] [stdout] --> src/models.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 8 | pub fn pull_model(&self) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Models`, `Options`, and `Exit` are never constructed [INFO] [stdout] --> src/state.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Screen { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Models, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | /// The user is in the options screen [INFO] [stdout] 9 | Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | /// The user is in the exit screen [INFO] [stdout] 11 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `question` and `answer` are never read [INFO] [stdout] --> src/state.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct History { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 16 | question: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | answer: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `History` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chat_input`, `screen`, and `chat_history` are never read [INFO] [stdout] --> src/state.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | /// The value of the input in the chat screen [INFO] [stdout] 23 | pub chat_input: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | /// The current screen user is rendering [INFO] [stdout] 25 | pub screen: Screen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | /// The chat history, stored inside $HOME/ollama-tui/history.ron [INFO] [stdout] 27 | pub chat_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "40c2574f02776cbf48a9c0b1fe9be7dc0ea7ee2b5b498c67de543af5b6589581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c2574f02776cbf48a9c0b1fe9be7dc0ea7ee2b5b498c67de543af5b6589581", kill_on_drop: false }` [INFO] [stdout] 40c2574f02776cbf48a9c0b1fe9be7dc0ea7ee2b5b498c67de543af5b6589581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 224f85aa387bcd24e5f048df0d54029c12db54fb902e4f2631188c3416c98596 [INFO] running `Command { std: "docker" "start" "-a" "224f85aa387bcd24e5f048df0d54029c12db54fb902e4f2631188c3416c98596", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | let mut app = App::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Tui` is never used [INFO] [stderr] --> src/app.rs:10:6 [INFO] [stderr] | [INFO] [stderr] 10 | type Tui = Terminal>; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `state` and `models` are never read [INFO] [stderr] --> src/app.rs:14:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct App { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 14 | state: State, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | models: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `setup` and `restore` are never used [INFO] [stderr] --> src/app.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 18 | impl App { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn setup(&mut self) -> anyhow::Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn restore() -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `version` are never read [INFO] [stderr] --> src/models.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Model { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 3 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 4 | version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `pull_model` is never used [INFO] [stderr] --> src/models.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 7 | impl Model { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 8 | pub fn pull_model(&self) -> &Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Models`, `Options`, and `Exit` are never constructed [INFO] [stderr] --> src/state.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Screen { [INFO] [stderr] | ------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 7 | Models, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | /// The user is in the options screen [INFO] [stderr] 9 | Options, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 10 | /// The user is in the exit screen [INFO] [stderr] 11 | Exit, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `question` and `answer` are never read [INFO] [stderr] --> src/state.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct History { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 16 | question: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 17 | answer: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `History` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `chat_input`, `screen`, and `chat_history` are never read [INFO] [stderr] --> src/state.rs:23:7 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct State { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 22 | /// The value of the input in the chat screen [INFO] [stderr] 23 | pub chat_input: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 24 | /// The current screen user is rendering [INFO] [stderr] 25 | pub screen: Screen, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | /// The chat history, stored inside $HOME/ollama-tui/history.ron [INFO] [stderr] 27 | pub chat_history: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `ollama-tui` (bin "ollama-tui" test) generated 9 warnings (run `cargo fix --bin "ollama-tui" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ollama_tui-a8b172862c693cd8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "224f85aa387bcd24e5f048df0d54029c12db54fb902e4f2631188c3416c98596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224f85aa387bcd24e5f048df0d54029c12db54fb902e4f2631188c3416c98596", kill_on_drop: false }` [INFO] [stdout] 224f85aa387bcd24e5f048df0d54029c12db54fb902e4f2631188c3416c98596