[INFO] fetching crate ollama-rs 0.3.4... [INFO] testing ollama-rs-0.3.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate ollama-rs 0.3.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ollama-rs 0.3.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ollama-rs 0.3.4 [INFO] tweaked toml for crates.io crate ollama-rs 0.3.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ollama-rs 0.3.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ollama-rs 0.3.4 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fabc1217283a1e984cd79684d125621a7e9c97919b630207f37fd0ce7479a7a [INFO] running `Command { std: "docker" "start" "-a" "5fabc1217283a1e984cd79684d125621a7e9c97919b630207f37fd0ce7479a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fabc1217283a1e984cd79684d125621a7e9c97919b630207f37fd0ce7479a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fabc1217283a1e984cd79684d125621a7e9c97919b630207f37fd0ce7479a7a", kill_on_drop: false }` [INFO] [stdout] 5fabc1217283a1e984cd79684d125621a7e9c97919b630207f37fd0ce7479a7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f121fd49a7ecbb26bf7ce6ce2061df476719ea710893f4f436816f5d7f0de2 [INFO] running `Command { std: "docker" "start" "-a" "08f121fd49a7ecbb26bf7ce6ce2061df476719ea710893f4f436816f5d7f0de2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zmij v1.0.13 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [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 iri-string v0.7.8 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tower-http v0.6.8 [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.228 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling schemars_derive v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v2.0.18 [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 serde v1.0.228 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling schemars v1.2.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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling ollama-rs v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.04s [INFO] running `Command { std: "docker" "inspect" "08f121fd49a7ecbb26bf7ce6ce2061df476719ea710893f4f436816f5d7f0de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f121fd49a7ecbb26bf7ce6ce2061df476719ea710893f4f436816f5d7f0de2", kill_on_drop: false }` [INFO] [stdout] 08f121fd49a7ecbb26bf7ce6ce2061df476719ea710893f4f436816f5d7f0de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 979d56e687d8359407af66bdf4a967232071e95014c585d89cf7ac59606c6dff [INFO] running `Command { std: "docker" "start" "-a" "979d56e687d8359407af66bdf4a967232071e95014c585d89cf7ac59606c6dff", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [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 tokio-stream v0.1.18 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling ollama-rs v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::chat::ChatMessageResponseStream` [INFO] [stdout] --> examples/chat_with_history_stream.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponseStream}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `ChatMessageResponseStream` in `generation::chat` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/generation/chat/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "stream")] [INFO] [stdout] | ------------------ the item is gated behind the `stream` feature [INFO] [stdout] 23 | /// A stream of `ChatMessageResponse` objects [INFO] [stdout] 24 | pub type ChatMessageResponseStream = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponseStream}, [INFO] [stdout] 3 + generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponse}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::chat::ChatMessageResponseStream` [INFO] [stdout] --> examples/chat_api_chatbot.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponseStream}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `ChatMessageResponseStream` in `generation::chat` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/generation/chat/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "stream")] [INFO] [stdout] | ------------------ the item is gated behind the `stream` feature [INFO] [stdout] 23 | /// A stream of `ChatMessageResponse` objects [INFO] [stdout] 24 | pub type ChatMessageResponseStream = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponseStream}, [INFO] [stdout] 3 + generation::chat::{request::ChatMessageRequest, ChatMessage, ChatMessageResponse}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream` [INFO] [stdout] --> examples/basic_chatbot.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | request::GenerationRequest, GenerationContext, GenerationResponseStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `GenerationResponseStream` in `generation::completion` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> 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] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 | request::GenerationRequest, GenerationContext, GenerationResponseStreamChunk, [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] --> examples/chat_with_history_stream.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | let mut stream: ChatMessageResponseStream = ollama [INFO] [stdout] | _____________________________________________________- [INFO] [stdout] 33 | | .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] 33 - .send_chat_messages_with_history_stream( [INFO] [stdout] 33 + .send_chat_messages_with_history( [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] --> examples/chat_api_chatbot.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | let mut stream: ChatMessageResponseStream = ollama [INFO] [stdout] | _____________________________________________________- [INFO] [stdout] 35 | | .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] 35 - .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] 35 + .send_chat_messages(ChatMessageRequest::new( [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] 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 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `generate_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> examples/basic_chatbot.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 - let mut stream: GenerationResponseStream = ollama.generate_stream(request).await?; [INFO] [stdout] 43 + let mut stream: GenerationResponseStream = ollama.generate(request).await?; [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] 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_with_history_stream") due to 2 previous errors [INFO] [stderr] error: could not compile `ollama-rs` (example "basic_chatbot") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream` [INFO] [stdout] --> tests/generation_logprobs.rs:2:58 [INFO] [stdout] | [INFO] [stdout] 2 | generation::completion::{request::GenerationRequest, GenerationResponseStream}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `GenerationResponseStream` in `generation::completion` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> 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] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 | generation::completion::{request::GenerationRequest, GenerationResponseStreamChunk}, [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> tests/generation_logprobs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] error[E0599]: no method named `push_model_stream` found for struct `Ollama` in the current scope [INFO] [stdout] --> tests/push_model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | let mut res = ollama [INFO] [stdout] | ___________________- [INFO] [stdout] 10 | | .push_model_stream("test_model:latest".into(), false) [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push_model` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - .push_model_stream("test_model:latest".into(), false) [INFO] [stdout] 10 + .push_model("test_model:latest".into(), false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (test "push_model") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (test "generation_logprobs") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs` (test "send_chat_messages") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "979d56e687d8359407af66bdf4a967232071e95014c585d89cf7ac59606c6dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "979d56e687d8359407af66bdf4a967232071e95014c585d89cf7ac59606c6dff", kill_on_drop: false }` [INFO] [stdout] 979d56e687d8359407af66bdf4a967232071e95014c585d89cf7ac59606c6dff