[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIRVANA-APOC%2Fcall-llm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NIRVANA-APOC/call-llm on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 990b68b58fbdefeb5c8e83f1622a2185395db9ec9c9a0f27f0484deac9cf791b
[INFO] running `Command { std: "docker" "start" "-a" "990b68b58fbdefeb5c8e83f1622a2185395db9ec9c9a0f27f0484deac9cf791b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "990b68b58fbdefeb5c8e83f1622a2185395db9ec9c9a0f27f0484deac9cf791b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "990b68b58fbdefeb5c8e83f1622a2185395db9ec9c9a0f27f0484deac9cf791b", kill_on_drop: false }`
[INFO] [stdout] 990b68b58fbdefeb5c8e83f1622a2185395db9ec9c9a0f27f0484deac9cf791b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4faa69b5df4068ef72aaf165511fde1b7dd3e2a35ecfc463ed52a8e65d60f061
[INFO] running `Command { std: "docker" "start" "-a" "4faa69b5df4068ef72aaf165511fde1b7dd3e2a35ecfc463ed52a8e65d60f061", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling unindent v0.2.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling pyo3-build-config v0.25.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[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 openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[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 tokio v1.45.1
[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 icu_locale_core v2.0.0
[INFO] [stderr]    Compiling pyo3-macros v0.25.1
[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 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 tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[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.77s
[INFO] running `Command { std: "docker" "inspect" "4faa69b5df4068ef72aaf165511fde1b7dd3e2a35ecfc463ed52a8e65d60f061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4faa69b5df4068ef72aaf165511fde1b7dd3e2a35ecfc463ed52a8e65d60f061", kill_on_drop: false }`
[INFO] [stdout] 4faa69b5df4068ef72aaf165511fde1b7dd3e2a35ecfc463ed52a8e65d60f061
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2913bc8d82090747794d000ed7de5e9d198b95f60dc5b6b38a0b51b9c029e75
[INFO] running `Command { std: "docker" "start" "-a" "f2913bc8d82090747794d000ed7de5e9d198b95f60dc5b6b38a0b51b9c029e75", 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] [stderr]    Compiling call-llmapi v0.1.0 (/opt/rustwide/workdir)
[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] [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.64s
[INFO] running `Command { std: "docker" "inspect" "f2913bc8d82090747794d000ed7de5e9d198b95f60dc5b6b38a0b51b9c029e75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2913bc8d82090747794d000ed7de5e9d198b95f60dc5b6b38a0b51b9c029e75", kill_on_drop: false }`
[INFO] [stdout] f2913bc8d82090747794d000ed7de5e9d198b95f60dc5b6b38a0b51b9c029e75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b4a4e91c42177507f37d719b3bb77da95b1f2af2fb8933a38544614c22048ae7
[INFO] running `Command { std: "docker" "start" "-a" "b4a4e91c42177507f37d719b3bb77da95b1f2af2fb8933a38544614c22048ae7", 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.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/call_llmapi-3472fd48796ae2fa)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test llm::chater::tests::test_platform_url ... ok
[INFO] [stdout] test llm::llm_cfg::tests::default_llm_config ... ok
[INFO] [stdout] test llm::llm_cfg::tests::add_messages ... ok
[INFO] [stdout] test llm::llm_cfg::tests::builder_pattern ... 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::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' (24) 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:     0x5b803dd28822 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b803dd28822 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b803dd28822 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5b803dd28822 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5b803dd39dff - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5b803dd39dff - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5b803dcf4753 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b803dcf4753 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5b803dd01442 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5b803dd0648f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5b803dd06321 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5b803d91dcfe - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5b803d91dcfe - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5b803dd06b4f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5b803dd06b4f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5b803dd068fa - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5b803dd01579 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5b803dce8acd - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5b803dd42e50 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5b803dd42306 - core::result::unwrap_failed::he05762ef9e6bdf9c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1862:5
[INFO] [stdout]   20:     0x5b803d8e4f3d - core::result::Result<T,E>::unwrap::h4e3870c34b14803e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5b803d8e4f3d - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::h17053ba5bc0f72e2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:157:51
[INFO] [stdout]   22:     0x5b803d8e2462 - <core::pin::Pin<P> as core::future::future::Future>::poll::h4d0707129c0c1641
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x5b803d8e249d - <core::pin::Pin<P> as core::future::future::Future>::poll::h697d8a8f325ee2ec
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/future/future.rs:133:9
[INFO] [stdout]   24:     0x5b803d8fd55d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hcffb62062a2f170b
[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:     0x5b803d8fcebb - tokio::task::coop::with_budget::h41e9044155738f24
[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:     0x5b803d8fcebb - tokio::task::coop::budget::hfcc74515fdf95d4e
[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:     0x5b803d8fcebb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h3e79fdbf57a94d77
[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:     0x5b803d8f75b0 - tokio::runtime::scheduler::current_thread::Context::enter::h50296593e32bc404
[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:     0x5b803d8fa53d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h66e68520cb66249d
[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:     0x5b803d8fa084 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h1832c25ae16734ee
[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:     0x5b803d8ea5eb - tokio::runtime::context::scoped::Scoped<T>::set::h01ff5961b5b5bbf3
[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:     0x5b803d8e11d9 - tokio::runtime::context::set_scheduler::{{closure}}::h3896bc5eaaa8bd98
[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:     0x5b803d8d8b32 - std::thread::local::LocalKey<T>::try_with::h901a7e503a3c4cb3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/local.rs:508:12
[INFO] [stdout]   34:     0x5b803d8d75de - std::thread::local::LocalKey<T>::with::h59de062f41ea286a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/local.rs:472:20
[INFO] [stdout]   35:     0x5b803d8e112d - tokio::runtime::context::set_scheduler::hecc9c9fc34b3d932
[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:     0x5b803d8f9170 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h7d2323ecc5ce0cd1
[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:     0x5b803d8fa283 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hea636cbb4066016f
[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:     0x5b803d8f5b40 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h5942c5deeed4ee12
[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:     0x5b803d8f1fd0 - tokio::runtime::context::runtime::enter_runtime::hc0f44620c5b969ea
[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:     0x5b803d8f5781 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h9cb753d0869d64f2
[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:     0x5b803d8e1b64 - tokio::runtime::runtime::Runtime::block_on_inner::ha88ae9b2b41dec46
[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:     0x5b803d8e1d27 - tokio::runtime::runtime::Runtime::block_on::hb66286b81d816bb6
[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:     0x5b803d8e4b63 - call_llmapi::llm::chater::tests::test_ollama_chat_success::h87bb06bdd1f2602b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:158:33
[INFO] [stdout]   44:     0x5b803d8e50c7 - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::h92c7a6ef627b4d9a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm/chater.rs:148:40
[INFO] [stdout]   45:     0x5b803d8e7b06 - core::ops::function::FnOnce::call_once::h712c173130e734ec
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5b803d91dafb - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   47:     0x5b803d91dafb - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   48:     0x5b803d931b5d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   49:     0x5b803d931b5d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   50:     0x5b803d931b5d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   51:     0x5b803d931b5d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   52:     0x5b803d931b5d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   53:     0x5b803d931b5d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   54:     0x5b803d931b5d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   55:     0x5b803d90b0a4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   56:     0x5b803d90b0a4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   57:     0x5b803d90e8fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   58:     0x5b803d90e8fa - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   59:     0x5b803d90e8fa - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   60:     0x5b803d90e8fa - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   61:     0x5b803d90e8fa - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   62:     0x5b803d90e8fa - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   63:     0x5b803d90e8fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   64:     0x5b803dcfc97f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   65:     0x5b803dcfc97f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   66:     0x7baf251a3aa4 - <unknown>
[INFO] [stdout]   67:     0x7baf25230a64 - 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" "b4a4e91c42177507f37d719b3bb77da95b1f2af2fb8933a38544614c22048ae7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4a4e91c42177507f37d719b3bb77da95b1f2af2fb8933a38544614c22048ae7", kill_on_drop: false }`
[INFO] [stdout] b4a4e91c42177507f37d719b3bb77da95b1f2af2fb8933a38544614c22048ae7
