[INFO] fetching crate sakura-ai-rs 0.1.2... [INFO] testing sakura-ai-rs-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate sakura-ai-rs 0.1.2 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sakura-ai-rs 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aa52ac0ffe141831cbb389806bca015dafc07a215cc7c86038f19c2a704bb98 [INFO] running `Command { std: "docker" "start" "-a" "4aa52ac0ffe141831cbb389806bca015dafc07a215cc7c86038f19c2a704bb98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa52ac0ffe141831cbb389806bca015dafc07a215cc7c86038f19c2a704bb98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa52ac0ffe141831cbb389806bca015dafc07a215cc7c86038f19c2a704bb98", kill_on_drop: false }` [INFO] [stdout] 4aa52ac0ffe141831cbb389806bca015dafc07a215cc7c86038f19c2a704bb98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bac6b6fede1a36678366b7ef5d38bebbc402b7ebf667e9b08533b27174d53fec [INFO] running `Command { std: "docker" "start" "-a" "bac6b6fede1a36678366b7ef5d38bebbc402b7ebf667e9b08533b27174d53fec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling cc v1.2.38 [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 tokio v1.47.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [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 serde_derive v1.0.227 [INFO] [stderr] Compiling openssl-macros v0.1.1 [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.16 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling hyper-util v0.1.17 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [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 15.08s [INFO] running `Command { std: "docker" "inspect" "bac6b6fede1a36678366b7ef5d38bebbc402b7ebf667e9b08533b27174d53fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac6b6fede1a36678366b7ef5d38bebbc402b7ebf667e9b08533b27174d53fec", kill_on_drop: false }` [INFO] [stdout] bac6b6fede1a36678366b7ef5d38bebbc402b7ebf667e9b08533b27174d53fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4505091c6fd8e07e803d7f7d876b71b04df58b511b6c50d20702a5067e0acbff [INFO] running `Command { std: "docker" "start" "-a" "4505091c6fd8e07e803d7f7d876b71b04df58b511b6c50d20702a5067e0acbff", 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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [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 tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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/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] [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[E0282]: type annotations needed [INFO] [stdout] --> examples/chat_api_chatbot.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let res = res.map_err(|_| "Streaming error")?; [INFO] [stdout] | ^^^ cannot infer type [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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut res = sakura [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | .send_chat_messages_stream(ChatMessageRequest::new( [INFO] [stdout] 15 | | "gpt-oss-120b".to_string(), [INFO] [stdout] 16 | | messages, [INFO] [stdout] 17 | | )) [INFO] [stdout] 18 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let res = res.unwrap(); [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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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/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] [INFO] [stdout] [INFO] [stderr] error: could not compile `sakura-ai-rs` (example "chat_api_chatbot") due to 3 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] --> 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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let mut res = sakura [INFO] [stdout] | ___________________^ [INFO] [stdout] 61 | | .send_chat_messages_with_history_stream( [INFO] [stdout] 62 | | history.clone(), [INFO] [stdout] 63 | | ChatMessageRequest::new("gpt-oss-120b".to_string(), messages), [INFO] [stdout] 64 | | ) [INFO] [stdout] 65 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/send_chat_messages.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let res = res.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [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] --> 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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/chat_with_history_stream.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let res = res.map_err(|_| "Error during stream")?; [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] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sakura-ai-rs` (example "chat_with_history_stream") due to 3 previous errors [INFO] [stderr] error: could not compile `sakura-ai-rs` (test "send_chat_messages") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "4505091c6fd8e07e803d7f7d876b71b04df58b511b6c50d20702a5067e0acbff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4505091c6fd8e07e803d7f7d876b71b04df58b511b6c50d20702a5067e0acbff", kill_on_drop: false }` [INFO] [stdout] 4505091c6fd8e07e803d7f7d876b71b04df58b511b6c50d20702a5067e0acbff