[INFO] fetching crate sakura-ai-rs 0.1.2... [INFO] testing sakura-ai-rs-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate sakura-ai-rs 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate sakura-ai-rs 0.1.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sakura-ai-rs 0.1.2 [INFO] tweaked toml for crates.io crate sakura-ai-rs 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sakura-ai-rs 0.1.2 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 sakura-ai-rs 0.1.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af3dec0cbd446622888e7c0376001b8a46a903cd13619ffa0e90b1c3988af6fe [INFO] running `Command { std: "docker" "start" "-a" "af3dec0cbd446622888e7c0376001b8a46a903cd13619ffa0e90b1c3988af6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af3dec0cbd446622888e7c0376001b8a46a903cd13619ffa0e90b1c3988af6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af3dec0cbd446622888e7c0376001b8a46a903cd13619ffa0e90b1c3988af6fe", kill_on_drop: false }` [INFO] [stdout] af3dec0cbd446622888e7c0376001b8a46a903cd13619ffa0e90b1c3988af6fe [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=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] 3939f0133789fc364561a735446ffab5602100c58b39c2417ae8b8e4c61ebbf5 [INFO] running `Command { std: "docker" "start" "-a" "3939f0133789fc364561a735446ffab5602100c58b39c2417ae8b8e4c61ebbf5", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.227 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling ollama-rs v0.3.2 [INFO] [stderr] Compiling sakura-ai-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.16s [INFO] running `Command { std: "docker" "inspect" "3939f0133789fc364561a735446ffab5602100c58b39c2417ae8b8e4c61ebbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3939f0133789fc364561a735446ffab5602100c58b39c2417ae8b8e4c61ebbf5", kill_on_drop: false }` [INFO] [stdout] 3939f0133789fc364561a735446ffab5602100c58b39c2417ae8b8e4c61ebbf5 [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=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] 7ba2c441e82d2b76867cf7051aea21434f5cf0e21110b256c5d8118e67c530fe [INFO] running `Command { std: "docker" "start" "-a" "7ba2c441e82d2b76867cf7051aea21434f5cf0e21110b256c5d8118e67c530fe", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling ollama-rs v0.3.2 [INFO] [stderr] Compiling sakura-ai-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::chat::ChatMessageResponseStream` [INFO] [stdout] --> examples/chat_with_history_stream.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | ChatMessage, ChatMessageResponseStream, request::ChatMessageRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `ChatMessageResponseStream` in `generation::chat` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ollama-rs-0.3.2/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] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - ChatMessage, ChatMessageResponseStream, request::ChatMessageRequest, [INFO] [stdout] 3 + ChatMessage, ChatMessageResponse, request::ChatMessageRequest, [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:18 [INFO] [stdout] | [INFO] [stdout] 3 | ChatMessage, ChatMessageResponseStream, request::ChatMessageRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `ChatMessageResponseStream` in `generation::chat` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ollama-rs-0.3.2/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] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - ChatMessage, ChatMessageResponseStream, request::ChatMessageRequest, [INFO] [stdout] 3 + ChatMessage, ChatMessageResponse, request::ChatMessageRequest, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_chat_messages_stream` found for struct `SakuraAI` in the current scope [INFO] [stdout] --> examples/chat_api_chatbot.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | let mut stream: ChatMessageResponseStream = sakura [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 `SakuraAI` in the current scope [INFO] [stdout] --> tests/send_chat_messages.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | let mut res = sakura [INFO] [stdout] | ___________________- [INFO] [stdout] 14 | | .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] 14 - .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] 14 + .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 `sakura-ai-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 `send_chat_messages_with_history_stream` found for struct `SakuraAI` in the current scope [INFO] [stdout] --> examples/chat_with_history_stream.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | let mut stream: ChatMessageResponseStream = sakura [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] 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 `send_chat_messages_with_history_stream` found for struct `SakuraAI` in the current scope [INFO] [stdout] --> tests/send_chat_messages.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 60 | let mut res = sakura [INFO] [stdout] | ___________________- [INFO] [stdout] 61 | | .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] 61 - .send_chat_messages_with_history_stream( [INFO] [stdout] 61 + .send_chat_messages_with_history( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sakura-ai-rs` (example "chat_with_history_stream") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sakura-ai-rs` (test "send_chat_messages") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7ba2c441e82d2b76867cf7051aea21434f5cf0e21110b256c5d8118e67c530fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba2c441e82d2b76867cf7051aea21434f5cf0e21110b256c5d8118e67c530fe", kill_on_drop: false }` [INFO] [stdout] 7ba2c441e82d2b76867cf7051aea21434f5cf0e21110b256c5d8118e67c530fe