[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#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettei-sproutty%2Follama-tui" "/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/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kettei-sproutty/ollama-tui on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded socket2 v0.5.6 [INFO] [stderr] Downloaded stability v0.1.1 [INFO] [stderr] Downloaded autocfg v1.2.0 [INFO] [stderr] Downloaded rusty-hook v0.11.2 [INFO] [stderr] Downloaded nias v0.5.0 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded anyhow v1.0.81 [INFO] [stderr] Downloaded syn v2.0.57 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [INFO] [stderr] Downloaded ratatui v0.26.1 [INFO] [stderr] Downloaded color-eyre v0.6.3 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded fsio v0.1.3 [INFO] [stderr] Downloaded ci_info v0.10.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded envmnt v0.8.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94b9bcf4a2669537fb89eb23e88969499b324dbd5d1a2b68299dd82561f51d42 [INFO] running `Command { std: "docker" "start" "-a" "94b9bcf4a2669537fb89eb23e88969499b324dbd5d1a2b68299dd82561f51d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94b9bcf4a2669537fb89eb23e88969499b324dbd5d1a2b68299dd82561f51d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b9bcf4a2669537fb89eb23e88969499b324dbd5d1a2b68299dd82561f51d42", kill_on_drop: false }` [INFO] [stdout] 94b9bcf4a2669537fb89eb23e88969499b324dbd5d1a2b68299dd82561f51d42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b6e7b74d6ae6388c18649b323c8dad43319c755195a947d26e7fec8955ff434 [INFO] running `Command { std: "docker" "start" "-a" "8b6e7b74d6ae6388c18649b323c8dad43319c755195a947d26e7fec8955ff434", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling quote v1.0.35 [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 tracing-error v0.2.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling stability v0.1.1 [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 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-stream v0.1.15 [INFO] [stderr] Compiling tokio-util v0.7.10 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 37.94s [INFO] running `Command { std: "docker" "inspect" "8b6e7b74d6ae6388c18649b323c8dad43319c755195a947d26e7fec8955ff434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b6e7b74d6ae6388c18649b323c8dad43319c755195a947d26e7fec8955ff434", kill_on_drop: false }` [INFO] [stdout] 8b6e7b74d6ae6388c18649b323c8dad43319c755195a947d26e7fec8955ff434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8213f3caa37a9d92b6fb9395362f84b8a84a135da36337b0f9c11625210e15d [INFO] running `Command { std: "docker" "start" "-a" "f8213f3caa37a9d92b6fb9395362f84b8a84a135da36337b0f9c11625210e15d", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.52s [INFO] running `Command { std: "docker" "inspect" "f8213f3caa37a9d92b6fb9395362f84b8a84a135da36337b0f9c11625210e15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8213f3caa37a9d92b6fb9395362f84b8a84a135da36337b0f9c11625210e15d", kill_on_drop: false }` [INFO] [stdout] f8213f3caa37a9d92b6fb9395362f84b8a84a135da36337b0f9c11625210e15d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee9f91cf05d2aa512a04b2645d66f6b7f81a8bf4dc2e377faf5d2fbb78cf0f1c [INFO] running `Command { std: "docker" "start" "-a" "ee9f91cf05d2aa512a04b2645d66f6b7f81a8bf4dc2e377faf5d2fbb78cf0f1c", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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" -p ollama-tui --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ollama_tui-09bae76fd0623f24) [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" "ee9f91cf05d2aa512a04b2645d66f6b7f81a8bf4dc2e377faf5d2fbb78cf0f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9f91cf05d2aa512a04b2645d66f6b7f81a8bf4dc2e377faf5d2fbb78cf0f1c", kill_on_drop: false }` [INFO] [stdout] ee9f91cf05d2aa512a04b2645d66f6b7f81a8bf4dc2e377faf5d2fbb78cf0f1c