[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIRVANA-APOC%2Fcall-llm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NIRVANA-APOC/call-llm on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.2.4 [INFO] [stderr] Downloaded pyo3-macros v0.25.1 [INFO] [stderr] Downloaded pyo3-macros-backend v0.25.1 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded pyo3-build-config v0.25.1 [INFO] [stderr] Downloaded pyo3-ffi v0.25.1 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded libc v0.2.173 [INFO] [stderr] Downloaded pyo3 v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7006a2741f394d7c8980f9cd83cbff4f9cf650c878486ad0e4b49957f0d1282 [INFO] running `Command { std: "docker" "start" "-a" "a7006a2741f394d7c8980f9cd83cbff4f9cf650c878486ad0e4b49957f0d1282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7006a2741f394d7c8980f9cd83cbff4f9cf650c878486ad0e4b49957f0d1282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7006a2741f394d7c8980f9cd83cbff4f9cf650c878486ad0e4b49957f0d1282", kill_on_drop: false }` [INFO] [stdout] a7006a2741f394d7c8980f9cd83cbff4f9cf650c878486ad0e4b49957f0d1282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24555665890e4e6cd9a672ee004d8d1d6585a368a1808f530f2ca359c8a27553 [INFO] running `Command { std: "docker" "start" "-a" "24555665890e4e6cd9a672ee004d8d1d6585a368a1808f530f2ca359c8a27553", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [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 pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling 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 thiserror v2.0.12 [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 serde v1.0.219 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling call-llmapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Platform` is never used [INFO] [stdout] --> src/llm/chater.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Platform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `url` and `parse_message` are never used [INFO] [stdout] --> src/llm/chater.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Platform { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 15 | pub fn url(&self) -> &'static str { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn parse_message<'a>(&self, response: &'a Value) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chater` is never constructed [INFO] [stdout] --> src/llm/chater.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Chater { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChatError` is never used [INFO] [stdout] --> src/llm/chater.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum ChatError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/llm/chater.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Chater { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn from(platform: Platform, api_key: impl Into, 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) -> 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 { [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) -> 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 47.02s [INFO] running `Command { std: "docker" "inspect" "24555665890e4e6cd9a672ee004d8d1d6585a368a1808f530f2ca359c8a27553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24555665890e4e6cd9a672ee004d8d1d6585a368a1808f530f2ca359c8a27553", kill_on_drop: false }` [INFO] [stdout] 24555665890e4e6cd9a672ee004d8d1d6585a368a1808f530f2ca359c8a27553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3831ac763d32048ff9337470084e6ad501f69016958ccb3396d87277f394f5ed [INFO] running `Command { std: "docker" "start" "-a" "3831ac763d32048ff9337470084e6ad501f69016958ccb3396d87277f394f5ed", kill_on_drop: false }` [INFO] [stdout] warning: enum `Platform` is never used [INFO] [stdout] --> src/llm/chater.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Platform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `url` and `parse_message` are never used [INFO] [stdout] --> src/llm/chater.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Platform { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 15 | pub fn url(&self) -> &'static str { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn parse_message<'a>(&self, response: &'a Value) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chater` is never constructed [INFO] [stdout] --> src/llm/chater.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Chater { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChatError` is never used [INFO] [stdout] --> src/llm/chater.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum ChatError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/llm/chater.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Chater { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn from(platform: Platform, api_key: impl Into, 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) -> 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 { [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) -> 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] [stderr] Compiling call-llmapi v0.1.0 (/opt/rustwide/workdir) [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, options: LLMConfig) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn with_apikey(mut self, api_key: impl Into) -> 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) -> 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 2.11s [INFO] running `Command { std: "docker" "inspect" "3831ac763d32048ff9337470084e6ad501f69016958ccb3396d87277f394f5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3831ac763d32048ff9337470084e6ad501f69016958ccb3396d87277f394f5ed", kill_on_drop: false }` [INFO] [stdout] 3831ac763d32048ff9337470084e6ad501f69016958ccb3396d87277f394f5ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf4b06d4c6be75653275e961151b82e5618cb869be382d36cb3421a06f2af5e1 [INFO] running `Command { std: "docker" "start" "-a" "bf4b06d4c6be75653275e961151b82e5618cb869be382d36cb3421a06f2af5e1", 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, 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) -> 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 { [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) -> 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] [stdout] [INFO] [stderr] --> src/llm/llm_cfg.rs:68:12 [INFO] [stdout] running 12 tests [INFO] [stderr] | [INFO] [stdout] test llm::llm_cfg::tests::add_messages ... ok [INFO] [stderr] 68 | pub struct OptionConfig { [INFO] [stdout] test llm::chater::tests::test_parse_message ... ok [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] test llm::llm_cfg::tests::default_llm_config ... ok [INFO] [stderr] [INFO] [stdout] test llm::llm_cfg::tests::full_config_serialization ... ok [INFO] [stderr] warning: associated items `new`, `from`, `with_temperature`, `with_maxtokens`, `reset_temperature`, and `reset_max_tokens` are never used [INFO] [stdout] test llm::llm_cfg::tests::option_config_serialization ... ok [INFO] [stderr] --> src/llm/llm_cfg.rs:85:12 [INFO] [stdout] test llm::llm_cfg::tests::partial_option_config ... ok [INFO] [stderr] | [INFO] [stdout] test llm::chater::tests::test_platform_url ... ok [INFO] [stderr] 84 | impl OptionConfig { [INFO] [stdout] test llm::llm_cfg::tests::clear_context ... ok [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, options: LLMConfig) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn with_apikey(mut self, api_key: impl Into) -> 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) -> 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.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/call_llmapi-3472fd48796ae2fa) [INFO] [stdout] test llm::llm_cfg::tests::builder_pattern ... ok [INFO] [stdout] test test::chat_loop ... FAILED [INFO] [stdout] test test::chat ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--lib` [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' (25) 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: 0x55f4fe5258d2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55f4fe5258d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55f4fe5258d2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55f4fe5258d2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55f4fe53713f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55f4fe53713f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x55f4fe4f14d1 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55f4fe4f14d1 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x55f4fe4fe082 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x55f4fe50315f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x55f4fe502ff1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x55f4fe10567e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x55f4fe10567e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x55f4fe5038cf - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x55f4fe5038cf - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x55f4fe50367a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x55f4fe4fe1c9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x55f4fe4e513d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x55f4fe5401e0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x55f4fe53f6e6 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stdout] 20: 0x55f4fe0d5d70 - core::result::Result::unwrap::h099bf8a8f0f19da9 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1225:23 [INFO] [stdout] 21: 0x55f4fe0d5d70 - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::ha68305fa9bbf681c [INFO] [stdout] at /opt/rustwide/workdir/src/llm/chater.rs:157:51 [INFO] [stdout] 22: 0x55f4fe0dbd82 - as core::future::future::Future>::poll::hb3313116b76e5f64 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x55f4fe0dbdbd - as core::future::future::Future>::poll::hb44e6259e1757ab1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x55f4fe0e47dd - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hfd82b7171ba8229c [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: 0x55f4fe0e42eb - tokio::task::coop::with_budget::h9b73718f80936b3f [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: 0x55f4fe0e42eb - tokio::task::coop::budget::h7474cd5f7d451597 [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: 0x55f4fe0e42eb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h99eb72faf9f27d90 [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: 0x55f4fe0de830 - tokio::runtime::scheduler::current_thread::Context::enter::ha52a3f936b2e1a38 [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: 0x55f4fe0e2d1d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h9369cc79b4fb44ef [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: 0x55f4fe0e1384 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hbbac3eda3df3f615 [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: 0x55f4fe0c69ab - tokio::runtime::context::scoped::Scoped::set::h17e732c43ce33638 [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: 0x55f4fe0daf99 - tokio::runtime::context::set_scheduler::{{closure}}::h699f9b851e324477 [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: 0x55f4fe0bdd02 - std::thread::local::LocalKey::try_with::h4cd86a94c3e809b3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 34: 0x55f4fe0bcc9e - std::thread::local::LocalKey::with::h7b9eb5855fa3c307 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 35: 0x55f4fe0daecd - tokio::runtime::context::set_scheduler::hd1b4b49f8b3e56d9 [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: 0x55f4fe0e0840 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h3c3b9d351e48c83f [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: 0x55f4fe0e1503 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hd204a947fef56830 [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: 0x55f4fe0dd8d0 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hc779f35e6278b65a [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: 0x55f4fe0c7340 - tokio::runtime::context::runtime::enter_runtime::h662d22876ae13193 [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: 0x55f4fe0dc941 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h3089638fb8c4a287 [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: 0x55f4fe0d2f64 - tokio::runtime::runtime::Runtime::block_on_inner::h2e898dd81007db25 [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: 0x55f4fe0d3537 - tokio::runtime::runtime::Runtime::block_on::h41619427d4865032 [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: 0x55f4fe0d5983 - call_llmapi::llm::chater::tests::test_ollama_chat_success::h81d635140d0ae314 [INFO] [stdout] at /opt/rustwide/workdir/src/llm/chater.rs:158:33 [INFO] [stdout] 44: 0x55f4fe0d5ee7 - call_llmapi::llm::chater::tests::test_ollama_chat_success::{{closure}}::hcd10d4e7d7bee161 [INFO] [stdout] at /opt/rustwide/workdir/src/llm/chater.rs:148:40 [INFO] [stdout] 45: 0x55f4fe0d8b46 - core::ops::function::FnOnce::call_once::h40bf8f259533cac1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x55f4fe10543b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 47: 0x55f4fe10543b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x55f4fe11af25 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x55f4fe11af25 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 50: 0x55f4fe11af25 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 51: 0x55f4fe11af25 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 52: 0x55f4fe11af25 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x55f4fe11af25 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x55f4fe11af25 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x55f4fe0f1894 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x55f4fe0f1894 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 57: 0x55f4fe0f523a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x55f4fe0f523a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 59: 0x55f4fe0f523a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 60: 0x55f4fe0f523a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 61: 0x55f4fe0f523a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x55f4fe0f523a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x55f4fe0f523a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 64: 0x55f4fe4f823f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 65: 0x55f4fe4f823f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 66: 0x7caa927e3aa4 - [INFO] [stdout] 67: 0x7caa92870a34 - clone [INFO] [stdout] 68: 0x0 - [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.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bf4b06d4c6be75653275e961151b82e5618cb869be382d36cb3421a06f2af5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf4b06d4c6be75653275e961151b82e5618cb869be382d36cb3421a06f2af5e1", kill_on_drop: false }` [INFO] [stdout] bf4b06d4c6be75653275e961151b82e5618cb869be382d36cb3421a06f2af5e1