[INFO] cloning repository https://github.com/joshua-mo-143/rig-custom-provider-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshua-mo-143/rig-custom-provider-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Frig-custom-provider-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Frig-custom-provider-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1562d72f4727087ecf723a3b1ee1cd06f2258797
[INFO] testing joshua-mo-143/rig-custom-provider-example against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Frig-custom-provider-example" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joshua-mo-143/rig-custom-provider-example
[INFO] finished tweaking git repo https://github.com/joshua-mo-143/rig-custom-provider-example
[INFO] tweaked toml for git repo https://github.com/joshua-mo-143/rig-custom-provider-example written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joshua-mo-143/rig-custom-provider-example on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joshua-mo-143/rig-custom-provider-example 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e95776435e1de78a1d50f28ac3b072d2f5f1342a5f08e5eaf1513415a901b805
[INFO] running `Command { std: "docker" "start" "-a" "e95776435e1de78a1d50f28ac3b072d2f5f1342a5f08e5eaf1513415a901b805", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e95776435e1de78a1d50f28ac3b072d2f5f1342a5f08e5eaf1513415a901b805", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e95776435e1de78a1d50f28ac3b072d2f5f1342a5f08e5eaf1513415a901b805", kill_on_drop: false }`
[INFO] [stdout] e95776435e1de78a1d50f28ac3b072d2f5f1342a5f08e5eaf1513415a901b805
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] db18103e20440eca72f13188ab2f3e38b6ee682b0c73402db42a60cac8f08914
[INFO] running `Command { std: "docker" "start" "-a" "db18103e20440eca72f13188ab2f3e38b6ee682b0c73402db42a60cac8f08914", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.100
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling as-any v0.3.2
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling ordered-float v5.0.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.100
[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 zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]    Compiling schemars_derive v1.0.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.100
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling js-sys v0.3.77
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling web-sys v0.3.77
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.50
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.6.5
[INFO] [stderr]    Compiling schemars v1.0.4
[INFO] [stderr]    Compiling worker-kv v0.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling worker-sys v0.6.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling worker-macros v0.6.1
[INFO] [stderr]    Compiling wasm-streams v0.4.2
[INFO] [stderr]    Compiling worker v0.6.1
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling rig-core v0.22.0
[INFO] [stderr]    Compiling rig-ollama v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s
[INFO] running `Command { std: "docker" "inspect" "db18103e20440eca72f13188ab2f3e38b6ee682b0c73402db42a60cac8f08914", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db18103e20440eca72f13188ab2f3e38b6ee682b0c73402db42a60cac8f08914", kill_on_drop: false }`
[INFO] [stdout] db18103e20440eca72f13188ab2f3e38b6ee682b0c73402db42a60cac8f08914
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 5b5c2e1bfec251c78e7c8fcaa9f54a0621bd023007169ec6dce6b433509e1131
[INFO] running `Command { std: "docker" "start" "-a" "5b5c2e1bfec251c78e7c8fcaa9f54a0621bd023007169ec6dce6b433509e1131", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling worker v0.6.1
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling rig-core v0.22.0
[INFO] [stderr]    Compiling rig-ollama v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 58.47s
[INFO] running `Command { std: "docker" "inspect" "5b5c2e1bfec251c78e7c8fcaa9f54a0621bd023007169ec6dce6b433509e1131", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b5c2e1bfec251c78e7c8fcaa9f54a0621bd023007169ec6dce6b433509e1131", kill_on_drop: false }`
[INFO] [stdout] 5b5c2e1bfec251c78e7c8fcaa9f54a0621bd023007169ec6dce6b433509e1131
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 862558051d4b7f39ed7a4a2139c4fc17dbef8cfb4a900efbaf792e548573f67f
[INFO] running `Command { std: "docker" "start" "-a" "862558051d4b7f39ed7a4a2139c4fc17dbef8cfb4a900efbaf792e548573f67f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rig-ollama/eee5c56ef5ecf23e/deps/rig_ollama-eee5c56ef5ecf23e)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test json_utils::tests::test_merge ... ok
[INFO] [stdout] test json_utils::tests::test_merge_inplace ... ok
[INFO] [stdout] test json_utils::tests::test_stringified_json_serialize ... ok
[INFO] [stdout] test json_utils::tests::test_stringified_json_deserialize ... ok
[INFO] [stdout] test tests::test_chat_completion ... ok
[INFO] [stdout] test tests::test_tool_definition_conversion ... ok
[INFO] [stdout] test tests::test_message_conversion ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rig_ollama
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - Client::builder (line 129) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 4) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Client::builder (line 129) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]    --> src/lib.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 |    .build()
[INFO] [stdout]     |            ^ help: add `;` here
[INFO] [stdout] 135 | } _doctest_main_src_lib_rs_129_0() }
[INFO] [stdout]     | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]    --> src/lib.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | let client = Client::builder()
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 129 + use reqwest::Client;
[INFO] [stdout]     |
[INFO] [stdout] 129 + use rig::providers::anthropic::Client;
[INFO] [stdout]     |
[INFO] [stdout] 129 + use rig::providers::azure::Client;
[INFO] [stdout]     |
[INFO] [stdout] 129 + use rig::providers::cohere::Client;
[INFO] [stdout]     |
[INFO] [stdout]     = and 17 other candidates
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:25:43
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 25 | let response = comp_model.completion(req).await.unwrap();
[INFO] [stdout]    |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:34:46
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 34 | let embeddings = emb_model.embed_texts(docs).await.unwrap();
[INFO] [stdout]    |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `completion_model` found for struct `rig::providers::ollama::Client<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 | let comp_model = client.completion_model("llama3.2");
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ method not found in `rig::providers::ollama::Client<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `completion_model` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]    |
[INFO] [stdout]  4 + use rig::client::CompletionClient;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use rig::client::completion::CompletionClientDyn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 |     chat_history: vec![],  // internal messages (if any)
[INFO] [stdout]    |                   ^^^^^^ expected `OneOrMany<Message>`, found `Vec<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `OneOrMany<rig::completion::Message>`
[INFO] [stdout]               found struct `Vec<_>`
[INFO] [stdout]    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `rig::completion::CompletionRequest` has no field named `prompt`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     prompt: rig::message::Message::User {
[INFO] [stdout]    |     ^^^^^^ `rig::completion::CompletionRequest` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `documents`, `max_tokens`, `tool_choice`
[INFO] [stdout] 
[INFO] [stdout] error[E0559]: variant `rig::completion::Message::User` has no field named `name`
[INFO] [stdout]   --> src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         name: None
[INFO] [stdout]    |         ^^^^ `rig::completion::Message::User` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     temperature: 0.7,
[INFO] [stdout]    |                  ^^^ expected `Option<f64>`, found floating-point number
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<f64>`
[INFO] [stdout]               found type `{float}`
[INFO] [stdout] help: try wrapping the expression in `Some`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     temperature: Some(0.7),
[INFO] [stdout]    |                  +++++   +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `embedding_model` found for struct `rig::providers::ollama::Client<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:29:39
[INFO] [stdout]    |
[INFO] [stdout] 29 | let emb_model = ollama::Client::new().embedding_model("all-minilm");
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `embedding_model` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]    |
[INFO] [stdout]  4 + use rig::client::EmbeddingsClient;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use rig::client::embeddings::EmbeddingsClientDyn;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `embeddings` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 29 - let emb_model = ollama::Client::new().embedding_model("all-minilm");
[INFO] [stdout] 29 + let emb_model = ollama::Client::new().embeddings("all-minilm");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `agent` found for struct `rig::providers::ollama::Client<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 | let agent = client.agent("llama3.2");
[INFO] [stdout]    |                    ^^^^^ method not found in `rig::providers::ollama::Client<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `agent` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]    |
[INFO] [stdout]  4 + use rig::client::CompletionClient;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use rig::client::completion::CompletionClientDyn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `extractor` found for struct `rig::providers::ollama::Client<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:39:24
[INFO] [stdout]    |
[INFO] [stdout] 39 | let extractor = client.extractor::<serde_json::Value>("llama3.2");
[INFO] [stdout]    |                        ^^^^^^^^^ method not found in `rig::providers::ollama::Client<_>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rig-core-0.22.0/src/client/completion.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn extractor<T>(&self, model: &str) -> ExtractorBuilder<Self::CompletionModel, T>
[INFO] [stdout]    |        --------- the method is available for `rig::providers::ollama::Client<_>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `CompletionClient` which provides `extractor` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  4 + use rig::client::CompletionClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0559, E0560, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 4)
[INFO] [stdout]     src/lib.rs - Client::builder (line 129)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.73s; merged doctests compilation took 0.37s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "862558051d4b7f39ed7a4a2139c4fc17dbef8cfb4a900efbaf792e548573f67f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "862558051d4b7f39ed7a4a2139c4fc17dbef8cfb4a900efbaf792e548573f67f", kill_on_drop: false }`
[INFO] [stdout] 862558051d4b7f39ed7a4a2139c4fc17dbef8cfb4a900efbaf792e548573f67f
