[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 master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[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 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be70a76a31fe4d180c33e63916697535a1c13da3a7b0516d74d5a9bd14de5c69
[INFO] running `Command { std: "docker" "start" "-a" "be70a76a31fe4d180c33e63916697535a1c13da3a7b0516d74d5a9bd14de5c69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be70a76a31fe4d180c33e63916697535a1c13da3a7b0516d74d5a9bd14de5c69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be70a76a31fe4d180c33e63916697535a1c13da3a7b0516d74d5a9bd14de5c69", kill_on_drop: false }`
[INFO] [stdout] be70a76a31fe4d180c33e63916697535a1c13da3a7b0516d74d5a9bd14de5c69
[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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a0db6befb4ec50b2e013b92ee2c8a627cb83cc975ac8707cd0b1be37e8356df
[INFO] running `Command { std: "docker" "start" "-a" "2a0db6befb4ec50b2e013b92ee2c8a627cb83cc975ac8707cd0b1be37e8356df", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling pyo3-build-config v0.25.1
[INFO] [stderr]    Compiling unindent v0.2.4
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling pyo3-macros-backend v0.25.1
[INFO] [stderr]    Compiling pyo3-ffi 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 pyo3-macros v0.25.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[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_collections v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[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 serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[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)]` 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: 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: 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 4m 51s
[INFO] running `Command { std: "docker" "inspect" "2a0db6befb4ec50b2e013b92ee2c8a627cb83cc975ac8707cd0b1be37e8356df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a0db6befb4ec50b2e013b92ee2c8a627cb83cc975ac8707cd0b1be37e8356df", kill_on_drop: false }`
[INFO] [stdout] 2a0db6befb4ec50b2e013b92ee2c8a627cb83cc975ac8707cd0b1be37e8356df
[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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a2f1273350d2b2fa2ca29aa8781111cbcbc64e45c242abf1e13bab3ed255c8b
[INFO] running `Command { std: "docker" "start" "-a" "1a2f1273350d2b2fa2ca29aa8781111cbcbc64e45c242abf1e13bab3ed255c8b", kill_on_drop: false }`
[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)]` 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: 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: 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)]` 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)]` 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 5.91s
[INFO] running `Command { std: "docker" "inspect" "1a2f1273350d2b2fa2ca29aa8781111cbcbc64e45c242abf1e13bab3ed255c8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a2f1273350d2b2fa2ca29aa8781111cbcbc64e45c242abf1e13bab3ed255c8b", kill_on_drop: false }`
[INFO] [stdout] 1a2f1273350d2b2fa2ca29aa8781111cbcbc64e45c242abf1e13bab3ed255c8b
[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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 70bf191cdc2623127a274172e1386f844923f3e776aefd676ff39d7ba133d2e9
[INFO] running `Command { std: "docker" "start" "-a" "70bf191cdc2623127a274172e1386f844923f3e776aefd676ff39d7ba133d2e9", 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)]` 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: 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: 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)]` 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)]` 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 7 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.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/call_llmapi-50f2eeb4c38aa43c)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test llm::chater::tests::test_platform_url ... ok
[INFO] [stdout] test llm::llm_cfg::tests::clear_context ... ok
[INFO] [stdout] test llm::llm_cfg::tests::full_config_serialization ... ok
[INFO] [stdout] test llm::llm_cfg::tests::default_llm_config ... ok
[INFO] [stdout] test llm::llm_cfg::tests::partial_option_config ... ok
[INFO] [stdout] test llm::llm_cfg::tests::builder_pattern ... ok
[INFO] [stdout] test llm::chater::tests::test_parse_message ... ok
[INFO] [stdout] test llm::llm_cfg::tests::add_messages ... ok
[INFO] [stdout] test llm::llm_cfg::tests::option_config_serialization ... 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] [stderr] error: test failed, to rerun pass `--lib`
[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' 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:     0x64b205a65642 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x64b205a65642 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x64b205a65642 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x64b205a65642 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha2e7e3a01df69042
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x64b205a8df03 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x64b205a8df03 - core::fmt::write::h7cb8f63788cd01d2
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x64b205a614a3 - std::io::default_write_fmt::h9ed739ccee8a150c
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x64b205a614a3 - std::io::Write::write_fmt::h1c0a32da913b32f1
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x64b205a65492 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x64b205a66bbc - std::panicking::default_hook::{{closure}}::h29548987efd832cb
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x64b205a66a12 - std::panicking::default_hook::ha25170a15c643514
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x64b2058da3c4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h562adeecbf43c420
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x64b2058da3c4 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x64b205a6769b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7e85cbdbda26fdb7
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x64b205a6769b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x64b205a6736a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x64b205a65b39 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x64b205a66ffd - __rustc[beb0385846a06d21]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x64b205a8bf60 - core::panicking::panic_fmt::ha33fa2ae772efba9
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x64b205a8c366 - core::result::unwrap_failed::hfbbd3c78a73fea3d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1761:5
[INFO] [stdout]   20:     0x64b2058923a4 - core::result::Result<T,E>::unwrap::hb8dc090f49fa8178
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1167:23
[INFO] [stdout]   21:     0x64b2058923a4 - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::hd3d3d6ea1879b2db
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:157:51
[INFO] [stdout]   22:     0x64b20588ef15 - <core::pin::Pin<P> as core::future::future::Future>::poll::hd216e27fc40d24cd
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x64b20588ef15 - <core::pin::Pin<P> as core::future::future::Future>::poll::hd91a879a7e7015b1
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/future/future.rs:133:9
[INFO] [stdout]   24:     0x64b20588ef15 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hf22339c5641daef8
[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:     0x64b20588ef15 - tokio::task::coop::with_budget::hdbc1476cc72e5030
[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:     0x64b20588ef15 - tokio::task::coop::budget::h349f568909bb336c
[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:     0x64b20588ef15 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h961e0b47844e80b3
[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:     0x64b20588ef15 - tokio::runtime::scheduler::current_thread::Context::enter::h7510610910a303ca
[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:     0x64b20589bd15 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h900f9ec570124a01
[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:     0x64b20589bd15 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hc59ed4a69986d27c
[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:     0x64b20589bd15 - tokio::runtime::context::scoped::Scoped<T>::set::h752e26adb98a6ae9
[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:     0x64b20588f275 - tokio::runtime::context::set_scheduler::{{closure}}::he49ccf5e91ddcd33
[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:     0x64b20588f275 - std::thread::local::LocalKey<T>::try_with::h34a67088ac043f16
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/local.rs:315:12
[INFO] [stdout]   34:     0x64b20588f275 - std::thread::local::LocalKey<T>::with::h740d3e9ad2d4b696
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/local.rs:279:20
[INFO] [stdout]   35:     0x64b20588f275 - tokio::runtime::context::set_scheduler::h165cf64963dd5c8c
[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:     0x64b20588f275 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hcfc6416c2e0c8dc3
[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:     0x64b20588f275 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h3db13e71efa97ddf
[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:     0x64b2058a0420 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hf71557ef7beb5159
[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:     0x64b2058a0420 - tokio::runtime::context::runtime::enter_runtime::hab2f74b020ace1d2
[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:     0x64b20589ada5 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h94c10bef180baa5e
[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:     0x64b20589ada5 - tokio::runtime::runtime::Runtime::block_on_inner::hacc434854bf7e538
[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:     0x64b20589ada5 - tokio::runtime::runtime::Runtime::block_on::he9ca6da487096b18
[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:     0x64b2058916cb - call_llmapi::llm::chater::tests::test_ollama_chat_success::ha08b56110852d984
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:158:33
[INFO] [stdout]   44:     0x64b20589eb29 - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::hadf03ccfc5fd058e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:148:40
[INFO] [stdout]   45:     0x64b20589eb29 - core::ops::function::FnOnce::call_once::h1930f016b9734728
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x64b2058dfafb - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   47:     0x64b2058dfafb - test::__rust_begin_short_backtrace::h5724e31441c16fcb
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18
[INFO] [stdout]   48:     0x64b2058ded3e - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74
[INFO] [stdout]   49:     0x64b2058ded3e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   50:     0x64b2058ded3e - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   51:     0x64b2058ded3e - std::panicking::catch_unwind::h9477967ceea044e8
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   52:     0x64b2058ded3e - std::panic::catch_unwind::h616a2e249da12e16
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   53:     0x64b2058ded3e - test::run_test_in_process::h2758deb0f2e54430
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27
[INFO] [stdout]   54:     0x64b2058ded3e - test::run_test::{{closure}}::habe5cd2564b18aaa
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43
[INFO] [stdout]   55:     0x64b2058a28e4 - test::run_test::{{closure}}::h9a0a6928f1a15421
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41
[INFO] [stdout]   56:     0x64b2058a28e4 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   57:     0x64b2058a628a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   58:     0x64b2058a628a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   59:     0x64b2058a628a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   60:     0x64b2058a628a - std::panicking::catch_unwind::h0c6f100786c0dad8
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   61:     0x64b2058a628a - std::panic::catch_unwind::hf6084e2723385823
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   62:     0x64b2058a628a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   63:     0x64b2058a628a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   64:     0x64b205a6a817 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf31256ba38644b65
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   65:     0x64b205a6a817 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h100ad77f3448041b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   66:     0x64b205a6a817 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   67:     0x7b7a79716aa4 - <unknown>
[INFO] [stdout]   68:     0x7b7a797a3a34 - clone
[INFO] [stdout]   69:                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.36s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "70bf191cdc2623127a274172e1386f844923f3e776aefd676ff39d7ba133d2e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70bf191cdc2623127a274172e1386f844923f3e776aefd676ff39d7ba133d2e9", kill_on_drop: false }`
[INFO] [stdout] 70bf191cdc2623127a274172e1386f844923f3e776aefd676ff39d7ba133d2e9
