[INFO] cloning repository https://github.com/ozankenangungor/rust-ai-prompt-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ozankenangungor/rust-ai-prompt-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozankenangungor%2Frust-ai-prompt-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozankenangungor%2Frust-ai-prompt-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d5f0c31ad5fc75b0e3d344e2b24488892a5c666
[INFO] checking ozankenangungor/rust-ai-prompt-cli against try#6713fa75964eb229409a9c6f6f5c418423e313ff for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozankenangungor%2Frust-ai-prompt-cli" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ozankenangungor/rust-ai-prompt-cli
[INFO] finished tweaking git repo https://github.com/ozankenangungor/rust-ai-prompt-cli
[INFO] tweaked toml for git repo https://github.com/ozankenangungor/rust-ai-prompt-cli written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ozankenangungor/rust-ai-prompt-cli on toolchain 6713fa75964eb229409a9c6f6f5c418423e313ff
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ozankenangungor/rust-ai-prompt-cli 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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossterm v0.14.2
[INFO] [stderr]   Downloaded crossterm_winapi v0.5.1
[INFO] [stderr]   Downloaded prompts v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f04e904b0967977c9b56ca1efd58d6c2f9e842b72573b5d819f9bbfb587a005e
[INFO] running `Command { std: "docker" "start" "-a" "f04e904b0967977c9b56ca1efd58d6c2f9e842b72573b5d819f9bbfb587a005e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f04e904b0967977c9b56ca1efd58d6c2f9e842b72573b5d819f9bbfb587a005e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f04e904b0967977c9b56ca1efd58d6c2f9e842b72573b5d819f9bbfb587a005e", kill_on_drop: false }`
[INFO] [stdout] f04e904b0967977c9b56ca1efd58d6c2f9e842b72573b5d819f9bbfb587a005e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f8142c302eced68564f477551eab9f70cfe95b55ce1cd4a8a5b9cb92a4248a5
[INFO] running `Command { std: "docker" "start" "-a" "4f8142c302eced68564f477551eab9f70cfe95b55ce1cd4a8a5b9cb92a4248a5", kill_on_drop: false }`
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking bitflags v2.9.3
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking parking_lot_core v0.7.3
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking signal-hook v0.1.17
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking futures-timer v2.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking crossterm v0.14.2
[INFO] [stderr]     Checking prompts v0.1.0
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.23
[INFO] [stderr]     Checking ai_prompt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 if (input == "q") {
[INFO] [stdout]    |                    ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -                 if (input == "q") {
[INFO] [stdout] 16 +                 if input == "q"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 if (input == "q") {
[INFO] [stdout]    |                    ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -                 if (input == "q") {
[INFO] [stdout] 16 +                 if input == "q"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/ai_client.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn send(&mut self, message: String) {}
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/ai_client.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn send(&mut self, message: String) {}
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let client = Gpt4AllClient::new("http://localhost:4891/v1/chat/completions")?;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MODEL_NAME` is never used
[INFO] [stdout]  --> src/ai_client.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const MODEL_NAME: &str = "Llama 3.2 1B Instruct";
[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 `url`, `client`, and `historical_messages` are never read
[INFO] [stdout]   --> src/ai_client.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Gpt4AllClient<U: IntoUrl> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout]  9 |     url: Url,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     client: reqwest::Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     historical_messages: Vec<ChatRequestMessage>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]   --> src/ai_client.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<U: IntoUrl> Gpt4AllClient<U> {
[INFO] [stdout]    | --------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn send(&mut self, message: String) {}
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequest` is never constructed
[INFO] [stdout]   --> src/ai_client.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct ChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatResponse` is never constructed
[INFO] [stdout]   --> src/ai_client.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct ChatResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatResponseChoice` is never constructed
[INFO] [stdout]   --> src/ai_client.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct ChatResponseChoice {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let client = Gpt4AllClient::new("http://localhost:4891/v1/chat/completions")?;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MODEL_NAME` is never used
[INFO] [stdout]  --> src/ai_client.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const MODEL_NAME: &str = "Llama 3.2 1B Instruct";
[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 `url`, `client`, and `historical_messages` are never read
[INFO] [stdout]   --> src/ai_client.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Gpt4AllClient<U: IntoUrl> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout]  9 |     url: Url,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     client: reqwest::Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     historical_messages: Vec<ChatRequestMessage>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]   --> src/ai_client.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<U: IntoUrl> Gpt4AllClient<U> {
[INFO] [stdout]    | --------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn send(&mut self, message: String) {}
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequest` is never constructed
[INFO] [stdout]   --> src/ai_client.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct ChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatResponse` is never constructed
[INFO] [stdout]   --> src/ai_client.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct ChatResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatResponseChoice` is never constructed
[INFO] [stdout]   --> src/ai_client.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct ChatResponseChoice {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.39s
[INFO] running `Command { std: "docker" "inspect" "4f8142c302eced68564f477551eab9f70cfe95b55ce1cd4a8a5b9cb92a4248a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f8142c302eced68564f477551eab9f70cfe95b55ce1cd4a8a5b9cb92a4248a5", kill_on_drop: false }`
[INFO] [stdout] 4f8142c302eced68564f477551eab9f70cfe95b55ce1cd4a8a5b9cb92a4248a5
