[INFO] fetching crate ollama-rs 0.3.2... [INFO] testing ollama-rs-0.3.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ollama-rs 0.3.2 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ollama-rs 0.3.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c679612d1d2181d3b8b88b14e5839f7a803615adb57d2568989b39399b890438 [INFO] running `Command { std: "docker" "start" "-a" "c679612d1d2181d3b8b88b14e5839f7a803615adb57d2568989b39399b890438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c679612d1d2181d3b8b88b14e5839f7a803615adb57d2568989b39399b890438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c679612d1d2181d3b8b88b14e5839f7a803615adb57d2568989b39399b890438", kill_on_drop: false }` [INFO] [stdout] c679612d1d2181d3b8b88b14e5839f7a803615adb57d2568989b39399b890438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57fbb039cafb664125a46b467fc3f04d5ff8869870c62bcb30905aa32981ee71 [INFO] running `Command { std: "docker" "start" "-a" "57fbb039cafb664125a46b467fc3f04d5ff8869870c62bcb30905aa32981ee71", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-task v0.3.29 [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 http v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tower-http v0.6.5 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling schemars_derive v1.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.219 [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 tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling schemars v1.0.0 [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 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 38.11s [INFO] running `Command { std: "docker" "inspect" "57fbb039cafb664125a46b467fc3f04d5ff8869870c62bcb30905aa32981ee71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fbb039cafb664125a46b467fc3f04d5ff8869870c62bcb30905aa32981ee71", kill_on_drop: false }` [INFO] [stdout] 57fbb039cafb664125a46b467fc3f04d5ff8869870c62bcb30905aa32981ee71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 181faecfbc19ecc32fb41299db531821da466fd05d0223ae4aaa77576ac1833d [INFO] running `Command { std: "docker" "start" "-a" "181faecfbc19ecc32fb41299db531821da466fd05d0223ae4aaa77576ac1833d", kill_on_drop: false }` [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 tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 `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] [stderr] error: could not compile `ollama-rs` (example "coordinator_tool_call") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ollama-rs` (test "create_model") due to 2 previous errors [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] For more information about this error, try `rustc --explain E0432`. [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] 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[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] [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] [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] 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::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] 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[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] 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[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[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] [stderr] error: could not compile `ollama-rs` (example "chat_with_history_stream") due to 3 previous errors [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: E0432, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (test "generation") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (example "basic_chatbot") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "181faecfbc19ecc32fb41299db531821da466fd05d0223ae4aaa77576ac1833d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181faecfbc19ecc32fb41299db531821da466fd05d0223ae4aaa77576ac1833d", kill_on_drop: false }` [INFO] [stdout] 181faecfbc19ecc32fb41299db531821da466fd05d0223ae4aaa77576ac1833d