[INFO] fetching crate ollama-rs 0.3.2... [INFO] testing ollama-rs-0.3.2 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate ollama-rs 0.3.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ollama-rs 0.3.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ollama-rs 0.3.2 [INFO] tweaked toml for crates.io crate ollama-rs 0.3.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ollama-rs 0.3.2 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ollama-rs 0.3.2 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6735554efaf812dfc6b2bee1b98ed6deeaddcaa44cd02f6644c0b426a0b22b40 [INFO] running `Command { std: "docker" "start" "-a" "6735554efaf812dfc6b2bee1b98ed6deeaddcaa44cd02f6644c0b426a0b22b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6735554efaf812dfc6b2bee1b98ed6deeaddcaa44cd02f6644c0b426a0b22b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6735554efaf812dfc6b2bee1b98ed6deeaddcaa44cd02f6644c0b426a0b22b40", kill_on_drop: false }` [INFO] [stdout] 6735554efaf812dfc6b2bee1b98ed6deeaddcaa44cd02f6644c0b426a0b22b40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 692ac101e6363bec38b1fb60b2392f02e0ced39b8dc1df35ae7c79422d28d31c [INFO] running `Command { std: "docker" "start" "-a" "692ac101e6363bec38b1fb60b2392f02e0ced39b8dc1df35ae7c79422d28d31c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v1.0.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling schemars v1.0.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling ollama-rs v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.84s [INFO] running `Command { std: "docker" "inspect" "692ac101e6363bec38b1fb60b2392f02e0ced39b8dc1df35ae7c79422d28d31c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692ac101e6363bec38b1fb60b2392f02e0ced39b8dc1df35ae7c79422d28d31c", kill_on_drop: false }` [INFO] [stdout] 692ac101e6363bec38b1fb60b2392f02e0ced39b8dc1df35ae7c79422d28d31c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d45b33d8cbb0023cb9e357003351842937ea044f7a754ead882a46639f021b84 [INFO] running `Command { std: "docker" "start" "-a" "d45b33d8cbb0023cb9e357003351842937ea044f7a754ead882a46639f021b84", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling ollama-rs v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream` [INFO] [stdout] --> examples/basic_chatbot.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | request::GenerationRequest, GenerationContext, GenerationResponseStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `GenerationResponseStream` in `generation::completion` [INFO] [stdout] | help: a similar name exists in the module: `GenerationResponseStreamChunk` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/generation/completion/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "stream")] [INFO] [stdout] | ------------------ the item is gated behind the `stream` feature [INFO] [stdout] 11 | /// A stream of `GenerationResponse` objects [INFO] [stdout] 12 | pub type GenerationResponseStream = std::pin::Pin< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> examples/basic_chatbot.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::chat::ChatMessageResponseStream` [INFO] [stdout] --> examples/chat_with_history_stream.rs:2:66 [INFO] [stdout] | [INFO] [stdout] 2 | generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponseStream}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ChatMessageResponseStream` in `generation::chat` [INFO] [stdout] | help: a similar name exists in the module: `ChatMessageResponse` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/generation/chat/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "stream")] [INFO] [stdout] | ------------------ the item is gated behind the `stream` feature [INFO] [stdout] 21 | /// A stream of `ChatMessageResponse` objects [INFO] [stdout] 22 | pub type ChatMessageResponseStream = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> examples/chat_with_history_stream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/pull_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/create_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/send_chat_messages.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_chat_messages_with_history_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> examples/chat_with_history_stream.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | let mut stream: ChatMessageResponseStream = ollama [INFO] [stdout] | _____________________________________________________- [INFO] [stdout] 28 | | .send_chat_messages_with_history_stream( [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_chat_messages_with_history` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 - .send_chat_messages_with_history_stream( [INFO] [stdout] 28 + .send_chat_messages_with_history( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> examples/basic_chatbot.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | let mut stream: GenerationResponseStream = ollama.generate_stream(request).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `generate` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - let mut stream: GenerationResponseStream = ollama.generate_stream(request).await?; [INFO] [stdout] 34 + let mut stream: GenerationResponseStream = ollama.generate(request).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_chat_messages_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> tests/send_chat_messages.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 21 | let mut res = ollama [INFO] [stdout] | ___________________- [INFO] [stdout] 22 | | .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_chat_messages` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] 22 + .send_chat_messages(ChatMessageRequest::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let mut res = ollama [INFO] [stdout] | ___________________^ [INFO] [stdout] 22 | | .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] 23 | | "llama2:latest".to_string(), [INFO] [stdout] 24 | | messages, [INFO] [stdout] 25 | | )) [INFO] [stdout] 26 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let res = res.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_model_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> tests/create_model.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let mut res = ollama.create_model_stream(request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `create_model` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - let mut res = ollama.create_model_stream(request).await.unwrap(); [INFO] [stdout] 15 + let mut res = ollama.create_model(request).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/create_model.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut res = ollama.create_model_stream(request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::tools::implementations` [INFO] [stdout] --> examples/coordinator_tool_call.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | tools::implementations::{Calculator, DDGSearcher, Scraper}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `implementations` in `tools` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/generation/tools/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "tool-implementations")] [INFO] [stdout] | -------------------------------- the item is gated behind the `tool-implementations` feature [INFO] [stdout] 3 | pub mod implementations; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_chat_messages_with_history_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> tests/send_chat_messages.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 68 | let mut res = ollama [INFO] [stdout] | ___________________- [INFO] [stdout] 69 | | .send_chat_messages_with_history_stream( [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_chat_messages_with_history` with a similar name [INFO] [stdout] | [INFO] [stdout] 69 - .send_chat_messages_with_history_stream( [INFO] [stdout] 69 + .send_chat_messages_with_history( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut res = ollama [INFO] [stdout] | ___________________^ [INFO] [stdout] 69 | | .send_chat_messages_with_history_stream( [INFO] [stdout] 70 | | history.clone(), [INFO] [stdout] 71 | | ChatMessageRequest::new("llama2:latest".to_string(), messages), [INFO] [stdout] 72 | | ) [INFO] [stdout] 73 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let res = res.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream` [INFO] [stdout] --> tests/generation.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | completion::{request::GenerationRequest, GenerationResponseStream}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `GenerationResponseStream` in `generation::completion` [INFO] [stdout] | help: a similar name exists in the module: `GenerationResponseStreamChunk` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/generation/completion/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "stream")] [INFO] [stdout] | ------------------ the item is gated behind the `stream` feature [INFO] [stdout] 11 | /// A stream of `GenerationResponse` objects [INFO] [stdout] 12 | pub type GenerationResponseStream = std::pin::Pin< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/generation.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (example "basic_chatbot") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ollama-rs` (test "create_model") due to 3 previous errors [INFO] [stderr] error: could not compile `ollama-rs` (example "coordinator_tool_call") due to 1 previous error [INFO] [stderr] error: could not compile `ollama-rs` (example "chat_with_history_stream") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::chat::ChatMessageResponseStream` [INFO] [stdout] --> examples/chat_api_chatbot.rs:2:66 [INFO] [stdout] | [INFO] [stdout] 2 | generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponseStream}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ChatMessageResponseStream` in `generation::chat` [INFO] [stdout] | help: a similar name exists in the module: `ChatMessageResponse` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/generation/chat/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "stream")] [INFO] [stdout] | ------------------ the item is gated behind the `stream` feature [INFO] [stdout] 21 | /// A stream of `ChatMessageResponse` objects [INFO] [stdout] 22 | pub type ChatMessageResponseStream = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> examples/chat_api_chatbot.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (test "send_chat_messages") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `pull_model_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> tests/pull_model.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | let mut res = ollama [INFO] [stdout] | ___________________- [INFO] [stdout] 9 | | .pull_model_stream("llama2:latest".into(), false) [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `pull_model` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - .pull_model_stream("llama2:latest".into(), false) [INFO] [stdout] 9 + .pull_model("llama2:latest".into(), false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pull_model.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let mut res = ollama [INFO] [stdout] | ___________________^ [INFO] [stdout] 9 | | .pull_model_stream("llama2:latest".into(), false) [INFO] [stdout] 10 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_chat_messages_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> examples/chat_api_chatbot.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 31 | let mut stream: ChatMessageResponseStream = ollama [INFO] [stdout] | _____________________________________________________- [INFO] [stdout] 32 | | .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_chat_messages` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] 32 + .send_chat_messages(ChatMessageRequest::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (test "pull_model") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `generate_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> tests/generation.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | let mut res: GenerationResponseStream = ollama [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 21 | | .generate_stream(GenerationRequest::new("llama2:latest".to_string(), PROMPT)) [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `generate` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - .generate_stream(GenerationRequest::new("llama2:latest".to_string(), PROMPT)) [INFO] [stdout] 21 + .generate(GenerationRequest::new("llama2:latest".to_string(), PROMPT)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/generation.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | let mut res: GenerationResponseStream = ollama [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 21 | | .generate_stream(GenerationRequest::new("llama2:latest".to_string(), PROMPT)) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/generation.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let res = res.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (example "chat_api_chatbot") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (test "generation") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d45b33d8cbb0023cb9e357003351842937ea044f7a754ead882a46639f021b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45b33d8cbb0023cb9e357003351842937ea044f7a754ead882a46639f021b84", kill_on_drop: false }` [INFO] [stdout] d45b33d8cbb0023cb9e357003351842937ea044f7a754ead882a46639f021b84