[INFO] cloning repository https://github.com/averjee/rust-ai-agent
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/averjee/rust-ai-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faverjee%2Frust-ai-agent"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faverjee%2Frust-ai-agent'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 0ee9d9aeda66d89cbd005ab7542845116df18c1c
[INFO] testing averjee/rust-ai-agent against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faverjee%2Frust-ai-agent" "/workspace/builds/worker-6-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/averjee/rust-ai-agent
[INFO] finished tweaking git repo https://github.com/averjee/rust-ai-agent
[INFO] tweaked toml for git repo https://github.com/averjee/rust-ai-agent written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/averjee/rust-ai-agent on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/averjee/rust-ai-agent already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e
[INFO] running `"docker" "start" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e"`
[INFO] running `"docker" "inspect" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling cc v1.2.23
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling dyn-clone v1.0.19
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.41
[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-impl v2.0.12
[INFO] [stderr]    Compiling rmcp-macros v0.1.5
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v2.0.0
[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 hyper v1.6.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling rmcp v0.1.5
[INFO] [stderr]    Compiling ollama-rs v0.1.9
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling agent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `ollama-rs`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | ollama-rs = "0.1"
[INFO] [stderr]   | ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `ollama-rs`
[INFO] [stderr] warning: unused dependency `uuid`
[INFO] [stderr]   --> Cargo.toml:23:15
[INFO] [stderr]    |
[INFO] [stderr] 23 | [dependencies.uuid]
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `uuid`
[INFO] [stderr] warning: `agent` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2m 51s
[INFO] running `"docker" "inspect" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling ollama-rs v0.1.9
[INFO] [stderr]    Compiling agent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `ollama-rs`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | ollama-rs = "0.1"
[INFO] [stderr]   | ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `ollama-rs`
[INFO] [stderr] warning: unused dependency `tempfile`
[INFO] [stderr]   --> Cargo.toml:28:1
[INFO] [stderr]    |
[INFO] [stderr] 28 | tempfile = "3.0"
[INFO] [stderr]    | ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tempfile`
[INFO] [stderr] warning: `agent` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 50.89s
[INFO] running `"docker" "inspect" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused dependency `ollama-rs`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | ollama-rs = "0.1"
[INFO] [stderr]   | ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `ollama-rs`
[INFO] [stderr] warning: unused dependency `tempfile`
[INFO] [stderr]   --> Cargo.toml:28:1
[INFO] [stderr]    |
[INFO] [stderr] 28 | tempfile = "3.0"
[INFO] [stderr]    | ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tempfile`
[INFO] [stderr] warning: `agent` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/agent/3b3e2412a4d20c6f/out/agent-3b3e2412a4d20c6f)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test agent::tests::acceptance_test_agent_stores_model_response ... FAILED
[INFO] [stdout] test mcp_client::tests::test_execute_request_to_mcp_server ... FAILED
[INFO] [stdout] test model_client::tests::test_local_model_responds_to_prompt ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- agent::tests::acceptance_test_agent_stores_model_response stdout ----
[INFO] [stdout] Error: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: agent::agent::tests::acceptance_test_agent_stores_model_response::{closure#0}
[INFO] [stdout]    2: <tokio::runtime::scheduler::current_thread::Context>::enter::<core::task::poll::Poll<core::result::Result<(), anyhow::Error>>, <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]    3: <std::thread::local::LocalKey<tokio::runtime::context::Context>>::with::<tokio::runtime::context::set_scheduler<(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<core::result::Result<(), anyhow::Error>>), <tokio::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>>::{closure#0}, core::option::Option<core::result::Result<(), anyhow::Error>>>::{closure#0}>::{closure#0}, (alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<core::result::Result<(), anyhow::Error>>)>
[INFO] [stdout]    4: <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on::<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>>
[INFO] [stdout]    5: tokio::runtime::context::runtime::enter_runtime::<<tokio::runtime::scheduler::current_thread::CurrentThread>::block_on<core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>::{closure#0}, core::result::Result<(), anyhow::Error>>
[INFO] [stdout]    6: <tokio::runtime::runtime::Runtime>::block_on::<core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>
[INFO] [stdout]    7: <agent::agent::tests::acceptance_test_agent_stores_model_response::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    8: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    9: test::run_test::{closure#0}
[INFO] [stdout]   10: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]   11: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   12: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   13: <unknown>
[INFO] [stdout]   14: clone
[INFO] [stdout] 
[INFO] [stdout] ---- mcp_client::tests::test_execute_request_to_mcp_server stdout ----
[INFO] [stdout] Test file path: ./test_348b8328-99eb-4a10-8602-b7e0c06c8c97.txt
[INFO] [stdout] Error: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: agent::mcp_client::tests::test_execute_request_to_mcp_server::{closure#0}
[INFO] [stdout]    2: <tokio::runtime::scheduler::current_thread::Context>::enter::<core::task::poll::Poll<core::result::Result<(), anyhow::Error>>, <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]    3: <std::thread::local::LocalKey<tokio::runtime::context::Context>>::with::<tokio::runtime::context::set_scheduler<(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<core::result::Result<(), anyhow::Error>>), <tokio::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>>::{closure#0}, core::option::Option<core::result::Result<(), anyhow::Error>>>::{closure#0}>::{closure#0}, (alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<core::result::Result<(), anyhow::Error>>)>
[INFO] [stdout]    4: <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on::<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>>
[INFO] [stdout]    5: tokio::runtime::context::runtime::enter_runtime::<<tokio::runtime::scheduler::current_thread::CurrentThread>::block_on<core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>::{closure#0}, core::result::Result<(), anyhow::Error>>
[INFO] [stdout]    6: <tokio::runtime::runtime::Runtime>::block_on::<core::pin::Pin<&mut dyn core::future::future::Future<Output = core::result::Result<(), anyhow::Error>>>>
[INFO] [stdout]    7: <agent::mcp_client::tests::test_execute_request_to_mcp_server::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    8: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    9: test::run_test::{closure#0}
[INFO] [stdout]   10: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]   11: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   12: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   13: <unknown>
[INFO] [stdout]   14: clone
[INFO] [stdout] 
[INFO] [stdout] ---- model_client::tests::test_local_model_responds_to_prompt stdout ----
[INFO] [stdout] Sending prompt to model: Say hello
[INFO] [stdout] 
[INFO] [stdout] thread 'model_client::tests::test_local_model_responds_to_prompt' (2523) panicked at src/model_client/mod.rs:81:59:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: error sending request for url (http://localhost:11434/api/generate): error trying to connect: tcp connect error: Connection refused (os error 111)
[INFO] [stdout] 
[INFO] [stdout] Caused by:
[INFO] [stdout]     0: error trying to connect: tcp connect error: Connection refused (os error 111)
[INFO] [stdout]     1: tcp connect error: Connection refused (os error 111)
[INFO] [stdout]     2: Connection refused (os error 111)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<reqwest::error::Error>>::from
[INFO] [stdout]    1: <agent::model_client::LocalOllamaClient as agent::model_client::ModelClient>::complete::{closure#0}
[INFO] [stdout]    2: agent::model_client::tests::test_local_model_responds_to_prompt::{closure#0}
[INFO] [stdout]    3: <tokio::runtime::scheduler::current_thread::Context>::enter::<core::task::poll::Poll<()>, <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]    4: <std::thread::local::LocalKey<tokio::runtime::context::Context>>::with::<tokio::runtime::context::set_scheduler<(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<()>), <tokio::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>>::{closure#0}, core::option::Option<()>>::{closure#0}>::{closure#0}, (alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<()>)>
[INFO] [stdout]    5: <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on::<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>>
[INFO] [stdout]    6: tokio::runtime::context::runtime::enter_runtime::<<tokio::runtime::scheduler::current_thread::CurrentThread>::block_on<core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]    7: <agent::model_client::tests::test_local_model_responds_to_prompt::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    8: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    9: test::run_test::{closure#0}
[INFO] [stdout]   10: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]   11: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   12: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   13: <unknown>
[INFO] [stdout]   14: clone
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6119b1f98d21 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x6119b1faef7a - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x6119b1f9dcec - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x6119b1f73a66 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x6119b1f90719 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x6119b1ef40d0 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x6119b1f90a42 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x6119b1f73b12 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x6119b1f6b809 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x6119b1f74a1d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x6119b1fafcfc - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x6119b1fb4332 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner
[INFO] [stdout]   12:     0x6119b1dbd73f - core[5c14b8d5a259cc4e]::result::unwrap_failed::<anyhow[279ab3d9eea0ec20]::Error>
[INFO] [stdout]   13:     0x6119b1db9a17 - agent[fe58502fbb4b3b03]::model_client::tests::test_local_model_responds_to_prompt::{closure#0}
[INFO] [stdout]   14:     0x6119b1daf453 - <tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::Context>::enter::<core[5c14b8d5a259cc4e]::task::poll::Poll<()>, <tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[5c14b8d5a259cc4e]::pin::Pin<&mut core[5c14b8d5a259cc4e]::pin::Pin<&mut dyn core[5c14b8d5a259cc4e]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   15:     0x6119b1db05b9 - <std[218a0f7bb9a8af32]::thread::local::LocalKey<tokio[5698c96cf618c3c]::runtime::context::Context>>::with::<tokio[5698c96cf618c3c]::runtime::context::set_scheduler<(alloc[f65cf102c2e86268]::boxed::Box<tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::Core>, core[5c14b8d5a259cc4e]::option::Option<()>), <tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[5c14b8d5a259cc4e]::pin::Pin<&mut core[5c14b8d5a259cc4e]::pin::Pin<&mut dyn core[5c14b8d5a259cc4e]::future::future::Future<Output = ()>>>>::{closure#0}, core[5c14b8d5a259cc4e]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[f65cf102c2e86268]::boxed::Box<tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::Core>, core[5c14b8d5a259cc4e]::option::Option<()>)>
[INFO] [stdout]   16:     0x6119b1daf937 - <tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[5c14b8d5a259cc4e]::pin::Pin<&mut core[5c14b8d5a259cc4e]::pin::Pin<&mut dyn core[5c14b8d5a259cc4e]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   17:     0x6119b1da23d7 - tokio[5698c96cf618c3c]::runtime::context::runtime::enter_runtime::<<tokio[5698c96cf618c3c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[5c14b8d5a259cc4e]::pin::Pin<&mut dyn core[5c14b8d5a259cc4e]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   18:     0x6119b1db9ec5 - <agent[fe58502fbb4b3b03]::model_client::tests::test_local_model_responds_to_prompt::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   19:     0x6119b1ee6f3b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   20:     0x6119b1ef46f5 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   21:     0x6119b1eedb44 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   22:     0x6119b1ef7682 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   23:     0x6119b1f97eaf - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   24:     0x712b9702bdfa - <unknown>
[INFO] [stdout]   25:     0x712b970bf3d4 - clone
[INFO] [stdout]   26:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     agent::tests::acceptance_test_agent_stores_model_response
[INFO] [stdout]     mcp_client::tests::test_execute_request_to_mcp_server
[INFO] [stdout]     model_client::tests::test_local_model_responds_to_prompt
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin agent`
[INFO] running `"docker" "inspect" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e"`
[INFO] running `"docker" "rm" "-f" "b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e"`
[INFO] [stdout] b50d052e1459505e11bd653553071ebcfa21cb1a8a32569363be58e71c88eb7e
