[INFO] cloning repository https://github.com/NIRVANA-APOC/call-llm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NIRVANA-APOC/call-llm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIRVANA-APOC%2Fcall-llm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIRVANA-APOC%2Fcall-llm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 38f3fe85071480f4550feea914876a9158ae05b7
[INFO] testing NIRVANA-APOC/call-llm against beta-2025-09-21 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIRVANA-APOC%2Fcall-llm" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NIRVANA-APOC/call-llm
[INFO] finished tweaking git repo https://github.com/NIRVANA-APOC/call-llm
[INFO] tweaked toml for git repo https://github.com/NIRVANA-APOC/call-llm written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NIRVANA-APOC/call-llm on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NIRVANA-APOC/call-llm 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f4c7b94c24daa898ed8d2365e7f2b5937c1f2bff14ceaf63fe0cc6a13dc1dc9
[INFO] running `Command { std: "docker" "start" "-a" "0f4c7b94c24daa898ed8d2365e7f2b5937c1f2bff14ceaf63fe0cc6a13dc1dc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f4c7b94c24daa898ed8d2365e7f2b5937c1f2bff14ceaf63fe0cc6a13dc1dc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f4c7b94c24daa898ed8d2365e7f2b5937c1f2bff14ceaf63fe0cc6a13dc1dc9", kill_on_drop: false }`
[INFO] [stdout] 0f4c7b94c24daa898ed8d2365e7f2b5937c1f2bff14ceaf63fe0cc6a13dc1dc9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad1fdc2d419eec24b1bfe5d9bd6f9509582f9fb9be224d2d4f7efd66041524f9
[INFO] running `Command { std: "docker" "start" "-a" "ad1fdc2d419eec24b1bfe5d9bd6f9509582f9fb9be224d2d4f7efd66041524f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling unindent v0.2.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling pyo3-build-config v0.25.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling pyo3-ffi v0.25.1
[INFO] [stderr]    Compiling pyo3-macros-backend v0.25.1
[INFO] [stderr]    Compiling pyo3 v0.25.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling pyo3-macros v0.25.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.14
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.20
[INFO] [stderr]    Compiling call-llmapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `Platform` is never used
[INFO] [stdout]  --> src/llm/chater.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Platform {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `url` and `parse_message` are never used
[INFO] [stdout]   --> src/llm/chater.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Platform {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn url(&self) -> &'static str {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn parse_message<'a>(&self, response: &'a Value) -> Option<&'a str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chater` is never constructed
[INFO] [stdout]   --> src/llm/chater.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Chater {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ChatError` is never used
[INFO] [stdout]   --> src/llm/chater.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum ChatError {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm/chater.rs:56:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Chater {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  56 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn from(platform: Platform, api_key: impl Into<String>, options: LLMConfig) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn with_platform(mut self, platform: Platform) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn with_apikey(mut self, api_key: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn with_options(mut self, options: LLMConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn with_debug(mut self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub async fn chat(&mut self, prompt: &str) -> Result<String, ChatError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn clean_context(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     fn debug(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]  --> src/llm/llm_cfg.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Message {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMConfig` is never constructed
[INFO] [stdout]   --> src/llm/llm_cfg.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct LLMConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/llm/llm_cfg.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl LLMConfig {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn with_model(mut self, model: &'static str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn with_messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn with_options(mut self, options: OptionConfig) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn add_message(&mut self, role: &str, content: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn clean_context(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OptionConfig` is never constructed
[INFO] [stdout]   --> src/llm/llm_cfg.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct OptionConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from`, `with_temperature`, `with_maxtokens`, `reset_temperature`, and `reset_max_tokens` are never used
[INFO] [stdout]    --> src/llm/llm_cfg.rs:85:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl OptionConfig {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  85 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn from(temperature: f64, max_tokens: usize) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn with_temperature(mut self, temperature: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn with_maxtokens(mut self, max_tokens: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn reset_temperature(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn reset_max_tokens(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.15s
[INFO] running `Command { std: "docker" "inspect" "ad1fdc2d419eec24b1bfe5d9bd6f9509582f9fb9be224d2d4f7efd66041524f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad1fdc2d419eec24b1bfe5d9bd6f9509582f9fb9be224d2d4f7efd66041524f9", kill_on_drop: false }`
[INFO] [stdout] ad1fdc2d419eec24b1bfe5d9bd6f9509582f9fb9be224d2d4f7efd66041524f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 223f141c3ca339246e78f8cbd0784b84f0aa235550656aec7fbe08c4ad54b976
[INFO] running `Command { std: "docker" "start" "-a" "223f141c3ca339246e78f8cbd0784b84f0aa235550656aec7fbe08c4ad54b976", kill_on_drop: false }`
[INFO] [stdout] warning: enum `Platform` is never used
[INFO] [stdout]  --> src/llm/chater.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Platform {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `url` and `parse_message` are never used
[INFO] [stdout]   --> src/llm/chater.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Platform {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn url(&self) -> &'static str {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn parse_message<'a>(&self, response: &'a Value) -> Option<&'a str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chater` is never constructed
[INFO] [stdout]   --> src/llm/chater.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Chater {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ChatError` is never used
[INFO] [stdout]   --> src/llm/chater.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum ChatError {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm/chater.rs:56:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Chater {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  56 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn from(platform: Platform, api_key: impl Into<String>, options: LLMConfig) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn with_platform(mut self, platform: Platform) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn with_apikey(mut self, api_key: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn with_options(mut self, options: LLMConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn with_debug(mut self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub async fn chat(&mut self, prompt: &str) -> Result<String, ChatError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn clean_context(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     fn debug(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling call-llmapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]  --> src/llm/llm_cfg.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Message {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMConfig` is never constructed
[INFO] [stdout]   --> src/llm/llm_cfg.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct LLMConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/llm/llm_cfg.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl LLMConfig {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn with_model(mut self, model: &'static str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn with_messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn with_options(mut self, options: OptionConfig) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn add_message(&mut self, role: &str, content: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn clean_context(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OptionConfig` is never constructed
[INFO] [stdout]   --> src/llm/llm_cfg.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct OptionConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from`, `with_temperature`, `with_maxtokens`, `reset_temperature`, and `reset_max_tokens` are never used
[INFO] [stdout]    --> src/llm/llm_cfg.rs:85:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl OptionConfig {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  85 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn from(temperature: f64, max_tokens: usize) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn with_temperature(mut self, temperature: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn with_maxtokens(mut self, max_tokens: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn reset_temperature(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn reset_max_tokens(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `json`
[INFO] [stdout]    --> src/llm/llm_cfg.rs:119:22
[INFO] [stdout]     |
[INFO] [stdout] 119 |     use serde_json::{Value, json};
[INFO] [stdout]     |                      ^^^^^  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `MissingApiKey` is never constructed
[INFO] [stdout]   --> src/llm/chater.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum ChatError {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 46 |     MissingApiKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from`, `with_apikey`, `with_debug`, and `clean_context` are never used
[INFO] [stdout]    --> src/llm/chater.rs:66:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Chater {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn from(platform: Platform, api_key: impl Into<String>, options: LLMConfig) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn with_apikey(mut self, api_key: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn with_debug(mut self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn clean_context(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_messages` is never used
[INFO] [stdout]   --> src/llm/llm_cfg.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl LLMConfig {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn with_messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from`, `with_temperature`, `with_maxtokens`, and `reset_max_tokens` are never used
[INFO] [stdout]    --> src/llm/llm_cfg.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl OptionConfig {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn from(temperature: f64, max_tokens: usize) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn with_temperature(mut self, temperature: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn with_maxtokens(mut self, max_tokens: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn reset_max_tokens(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.77s
[INFO] running `Command { std: "docker" "inspect" "223f141c3ca339246e78f8cbd0784b84f0aa235550656aec7fbe08c4ad54b976", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "223f141c3ca339246e78f8cbd0784b84f0aa235550656aec7fbe08c4ad54b976", kill_on_drop: false }`
[INFO] [stdout] 223f141c3ca339246e78f8cbd0784b84f0aa235550656aec7fbe08c4ad54b976
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cc20e85acd831fbc2eb03f6bece82eec609e418c80c71bebd2d569c621df2309
[INFO] running `Command { std: "docker" "start" "-a" "cc20e85acd831fbc2eb03f6bece82eec609e418c80c71bebd2d569c621df2309", kill_on_drop: false }`
[INFO] [stderr] warning: enum `Platform` is never used
[INFO] [stderr]  --> src/llm/chater.rs:8:10
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub enum Platform {
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `url` and `parse_message` are never used
[INFO] [stderr]   --> src/llm/chater.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Platform {
[INFO] [stderr]    | ------------- methods in this implementation
[INFO] [stderr] 15 |     pub fn url(&self) -> &'static str {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn parse_message<'a>(&self, response: &'a Value) -> Option<&'a str> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Chater` is never constructed
[INFO] [stderr]   --> src/llm/chater.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct Chater {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ChatError` is never used
[INFO] [stderr]   --> src/llm/chater.rs:40:10
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub enum ChatError {
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm/chater.rs:56:12
[INFO] [stderr]     |
[INFO] [stderr]  55 | impl Chater {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr]  56 |     pub fn new() -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  66 |     pub fn from(platform: Platform, api_key: impl Into<String>, options: LLMConfig) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  76 |     pub fn with_platform(mut self, platform: Platform) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  81 |     pub fn with_apikey(mut self, api_key: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  86 |     pub fn with_options(mut self, options: LLMConfig) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  91 |     pub fn with_debug(mut self) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  96 |     pub async fn chat(&mut self, prompt: &str) -> Result<String, ChatError> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 133 |     pub fn clean_context(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 137 |     fn debug(&self) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Message` is never constructed
[INFO] [stderr]  --> src/llm/llm_cfg.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Message {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LLMConfig` is never constructed
[INFO] [stderr]   --> src/llm/llm_cfg.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct LLMConfig {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]   --> src/llm/llm_cfg.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl LLMConfig {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] 30 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn with_model(mut self, model: &'static str) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn with_messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     pub fn with_options(mut self, options: OptionConfig) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn add_message(&mut self, role: &str, content: &str) {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     pub fn clean_context(&mut self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OptionConfig` is never constructed
[INFO] [stderr]   --> src/llm/llm_cfg.rs:68:12
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub struct OptionConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `from`, `with_temperature`, `with_maxtokens`, `reset_temperature`, and `reset_max_tokens` are never used
[INFO] [stderr]    --> src/llm/llm_cfg.rs:85:12
[INFO] [stderr]     |
[INFO] [stderr]  84 | impl OptionConfig {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  85 |     pub fn new() -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  89 |     pub fn from(temperature: f64, max_tokens: usize) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  96 |     pub fn with_temperature(mut self, temperature: f64) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 101 |     pub fn with_maxtokens(mut self, max_tokens: usize) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 107 |     pub fn reset_temperature(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn reset_max_tokens(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Value` and `json`
[INFO] [stderr]    --> src/llm/llm_cfg.rs:119:22
[INFO] [stderr]     |
[INFO] [stderr] 119 |     use serde_json::{Value, json};
[INFO] [stderr]     |                      ^^^^^  ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `MissingApiKey` is never constructed
[INFO] [stderr]   --> src/llm/chater.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub enum ChatError {
[INFO] [stderr]    |          --------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 46 |     MissingApiKey,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ChatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from`, `with_apikey`, `with_debug`, and `clean_context` are never used
[INFO] [stderr]    --> src/llm/chater.rs:66:12
[INFO] [stderr]     |
[INFO] [stderr]  55 | impl Chater {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  66 |     pub fn from(platform: Platform, api_key: impl Into<String>, options: LLMConfig) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  81 |     pub fn with_apikey(mut self, api_key: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  91 |     pub fn with_debug(mut self) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 133 |     pub fn clean_context(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `with_messages` is never used
[INFO] [stderr]   --> src/llm/llm_cfg.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl LLMConfig {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn with_messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from`, `with_temperature`, `with_maxtokens`, and `reset_max_tokens` are never used
[INFO] [stderr]    --> src/llm/llm_cfg.rs:89:12
[INFO] [stderr]     |
[INFO] [stderr]  84 | impl OptionConfig {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  89 |     pub fn from(temperature: f64, max_tokens: usize) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  96 |     pub fn with_temperature(mut self, temperature: f64) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 101 |     pub fn with_maxtokens(mut self, max_tokens: usize) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn reset_max_tokens(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `call-llmapi` (lib) generated 10 warnings
[INFO] [stderr] warning: `call-llmapi` (lib test) generated 5 warnings (run `cargo fix --lib -p call-llmapi --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/call_llmapi-c1b9ac77471df132)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test llm::llm_cfg::tests::builder_pattern ... ok
[INFO] [stdout] test llm::chater::tests::test_platform_url ... ok
[INFO] [stdout] test llm::llm_cfg::tests::add_messages ... ok
[INFO] [stdout] test llm::llm_cfg::tests::clear_context ... ok
[INFO] [stdout] test llm::llm_cfg::tests::default_llm_config ... ok
[INFO] [stdout] test llm::llm_cfg::tests::full_config_serialization ... ok
[INFO] [stdout] test llm::llm_cfg::tests::option_config_serialization ... ok
[INFO] [stdout] test llm::llm_cfg::tests::partial_option_config ... ok
[INFO] [stdout] test llm::chater::tests::test_parse_message ... ok
[INFO] [stdout] test test::chat_loop ... FAILED
[INFO] [stdout] test test::chat ... FAILED
[INFO] [stdout] test llm::chater::tests::test_ollama_chat_success ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test::chat_loop stdout ----
[INFO] [stdout] Error: RequestError(reqwest::Error { kind: Request, source: hyper_util::client::legacy::Error(Connect, ConnectError("tcp connect error", 127.0.0.1:11434, Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })
[INFO] [stdout] 
[INFO] [stdout] ---- test::chat stdout ----
[INFO] [stdout] You: 
[INFO] [stdout] Error: RequestError(reqwest::Error { kind: Request, source: hyper_util::client::legacy::Error(Connect, ConnectError("tcp connect error", 127.0.0.1:11434, Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })
[INFO] [stdout] 
[INFO] [stdout] ---- llm::chater::tests::test_ollama_chat_success stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'llm::chater::tests::test_ollama_chat_success' (26) panicked at src/llm/chater.rs:157:51:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: RequestError(reqwest::Error { kind: Request, source: hyper_util::client::legacy::Error(Connect, ConnectError("tcp connect error", 127.0.0.1:11434, Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5b8aa78fa292 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b8aa78fa292 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b8aa78fa292 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5b8aa78fa292 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h67edf0e4d33c343c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5b8aa790baff - core::fmt::rt::Argument::fmt::hef94184842aeafdd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5b8aa790baff - core::fmt::write::hcf0c66b48a8fa606
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5b8aa78c5e41 - std::io::default_write_fmt::h69967ac0ba93195f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b8aa78c5e41 - std::io::Write::write_fmt::h8db9396209deaa1c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5b8aa78d2ad2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5b8aa78d7baf - std::panicking::default_hook::{{closure}}::h91001850288db5f7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5b8aa78d7a41 - std::panicking::default_hook::h2346dbb704ef5512
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5b8aa74d6a9e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h18383b2e29377420
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   12:     0x5b8aa74d6a9e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5b8aa78d831f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6dba6e441651a0d1
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   14:     0x5b8aa78d831f - std::panicking::panic_with_hook::hd2b063a6090d23a4
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5b8aa78d80ca - std::panicking::panic_handler::{{closure}}::he666d95f139a333e
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5b8aa78d2c09 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5b8aa78b9cdd - __rustc[1d67440d6e82e4f]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5b8aa7914bd0 - core::panicking::panic_fmt::h420ddb7fd73daf53
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5b8aa79140a6 - core::result::unwrap_failed::hdde076be853d034f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5
[INFO] [stdout]   20:     0x5b8aa7494b70 - core::result::Result<T,E>::unwrap::hffd76cf191ac101a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23
[INFO] [stdout]   21:     0x5b8aa7494b70 - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::h9591576ded04ed4f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:157:51
[INFO] [stdout]   22:     0x5b8aa74ad162 - <core::pin::Pin<P> as core::future::future::Future>::poll::h92b3003947311c00
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x5b8aa74ad11d - <core::pin::Pin<P> as core::future::future::Future>::poll::h235d7e0eab1b4ac1
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/future/future.rs:133:9
[INFO] [stdout]   24:     0x5b8aa74b5b7d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h934afe5981f66e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:70
[INFO] [stdout]   25:     0x5b8aa74b5a7b - tokio::task::coop::with_budget::ha8f2c0720f817848
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:167:5
[INFO] [stdout]   26:     0x5b8aa74b5a7b - tokio::task::coop::budget::ha385436f5152b463
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:133:5
[INFO] [stdout]   27:     0x5b8aa74b5a7b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hbf81945c86c8d2ec
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:25
[INFO] [stdout]   28:     0x5b8aa74b08f0 - tokio::runtime::scheduler::current_thread::Context::enter::he4b7e0b8b0139338
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:432:19
[INFO] [stdout]   29:     0x5b8aa74b36ad - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hc213eee1d21094d7
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:732:44
[INFO] [stdout]   30:     0x5b8aa74b2724 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h25cecebf443bf506
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:68
[INFO] [stdout]   31:     0x5b8aa74aabcb - tokio::runtime::context::scoped::Scoped<T>::set::h94ea1eff5906d6fc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   32:     0x5b8aa74a3759 - tokio::runtime::context::set_scheduler::{{closure}}::hac393eb5ace25199
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:38
[INFO] [stdout]   33:     0x5b8aa748faf2 - std::thread::local::LocalKey<T>::try_with::hb9b9716ba68a0a4d
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/local.rs:315:12
[INFO] [stdout]   34:     0x5b8aa748e0ae - std::thread::local::LocalKey<T>::with::h6994a027bb3664c2
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/local.rs:279:20
[INFO] [stdout]   35:     0x5b8aa74a35bd - tokio::runtime::context::set_scheduler::h4cab7bb3a978cbf1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:17
[INFO] [stdout]   36:     0x5b8aa74b20b0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hb520238191639e2b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:27
[INFO] [stdout]   37:     0x5b8aa74b2823 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h5220a99b4d40e310
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:720:24
[INFO] [stdout]   38:     0x5b8aa74ae910 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h86d63628638d6097
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:200:33
[INFO] [stdout]   39:     0x5b8aa74ab710 - tokio::runtime::context::runtime::enter_runtime::hc2c40a9ee5a594e6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   40:     0x5b8aa74aded1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h94649c87342f6eef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:188:9
[INFO] [stdout]   41:     0x5b8aa74a3de4 - tokio::runtime::runtime::Runtime::block_on_inner::h70b0b952e913fcf0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:356:52
[INFO] [stdout]   42:     0x5b8aa74a4247 - tokio::runtime::runtime::Runtime::block_on::h6197f64c6c277aea
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:330:18
[INFO] [stdout]   43:     0x5b8aa7494783 - call_llmapi::llm::chater::tests::test_ollama_chat_success::h9ca099ea72611228
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:158:33
[INFO] [stdout]   44:     0x5b8aa7494ce7 - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::h996e07a87bd6017e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:148:40
[INFO] [stdout]   45:     0x5b8aa74a8816 - core::ops::function::FnOnce::call_once::h50cf34100c9e4eae
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5b8aa74d685b - core::ops::function::FnOnce::call_once::h70887edf07a630ba
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   47:     0x5b8aa74d685b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18
[INFO] [stdout]   48:     0x5b8aa74ec4c5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74
[INFO] [stdout]   49:     0x5b8aa74ec4c5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   50:     0x5b8aa74ec4c5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   51:     0x5b8aa74ec4c5 - std::panicking::catch_unwind::hae1ec7bf94407afa
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   52:     0x5b8aa74ec4c5 - std::panic::catch_unwind::h0f4ff4773d84d3cd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   53:     0x5b8aa74ec4c5 - test::run_test_in_process::h03fbc77ae48b3f10
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27
[INFO] [stdout]   54:     0x5b8aa74ec4c5 - test::run_test::{{closure}}::h83476a9c453dc4d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43
[INFO] [stdout]   55:     0x5b8aa74c2cb4 - test::run_test::{{closure}}::h515482ad1e7fe7de
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41
[INFO] [stdout]   56:     0x5b8aa74c2cb4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   57:     0x5b8aa74c657a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   58:     0x5b8aa74c657a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   59:     0x5b8aa74c657a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   60:     0x5b8aa74c657a - std::panicking::catch_unwind::h9e402d6a96fef41c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   61:     0x5b8aa74c657a - std::panic::catch_unwind::h9213c0c54aec70e0
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   62:     0x5b8aa74c657a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   63:     0x5b8aa74c657a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   64:     0x5b8aa78cdd6f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2044e71c41d3958a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   65:     0x5b8aa78cdd6f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   66:     0x7f4484f7eaa4 - <unknown>
[INFO] [stdout]   67:     0x7f448500ba34 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     llm::chater::tests::test_ollama_chat_success
[INFO] [stdout]     test::chat
[INFO] [stdout]     test::chat_loop
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 9 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "cc20e85acd831fbc2eb03f6bece82eec609e418c80c71bebd2d569c621df2309", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc20e85acd831fbc2eb03f6bece82eec609e418c80c71bebd2d569c621df2309", kill_on_drop: false }`
[INFO] [stdout] cc20e85acd831fbc2eb03f6bece82eec609e418c80c71bebd2d569c621df2309
