[INFO] fetching crate rllm 1.1.9... [INFO] testing rllm-1.1.9 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rllm 1.1.9 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rllm 1.1.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rllm 1.1.9 [INFO] tweaked toml for crates.io crate rllm 1.1.9 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rllm 1.1.9 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rllm 1.1.9 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spinners v4.1.1 [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded security-framework-sys v2.13.0 [INFO] [stderr] Downloaded rustls-pki-types v1.10.1 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded rustyline v15.0.0 [INFO] [stderr] Downloaded cc v1.2.7 [INFO] [stderr] Downloaded llm v1.2.6 [INFO] [stderr] Downloaded rustls v0.23.20 [INFO] [stderr] Downloaded syn v2.0.94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf66ae3e84d969034305881f8957a338dfdcb665003409b130096540ee00db87 [INFO] running `Command { std: "docker" "start" "-a" "cf66ae3e84d969034305881f8957a338dfdcb665003409b130096540ee00db87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf66ae3e84d969034305881f8957a338dfdcb665003409b130096540ee00db87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf66ae3e84d969034305881f8957a338dfdcb665003409b130096540ee00db87", kill_on_drop: false }` [INFO] [stdout] cf66ae3e84d969034305881f8957a338dfdcb665003409b130096540ee00db87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c46442e74c0977420ef071ad9d910f8f7f2cbf017110eeae2b2d0ed9183f9234 [INFO] running `Command { std: "docker" "start" "-a" "c46442e74c0977420ef071ad9d910f8f7f2cbf017110eeae2b2d0ed9183f9234", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 clap v4.5.38 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [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 hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling llm v1.2.6 [INFO] [stderr] Compiling rllm v1.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "c46442e74c0977420ef071ad9d910f8f7f2cbf017110eeae2b2d0ed9183f9234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46442e74c0977420ef071ad9d910f8f7f2cbf017110eeae2b2d0ed9183f9234", kill_on_drop: false }` [INFO] [stdout] c46442e74c0977420ef071ad9d910f8f7f2cbf017110eeae2b2d0ed9183f9234 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b5892466c88c2c96e27436c35f7fe1fd2ff6f0d758446232e1438b7838a1737 [INFO] running `Command { std: "docker" "start" "-a" "5b5892466c88c2c96e27436c35f7fe1fd2ff6f0d758446232e1438b7838a1737", kill_on_drop: false }` [INFO] [stderr] Compiling rllm v1.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/google_example.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/google_example.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/google_example.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/google_example.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 42 | Ok(text) => println!("Google Gemini response:\n{}", text), [INFO] [stdout] | ^^^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/google_example-9e713fc2cae22f7a.long-type-4112867005816999667.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/google_example.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 42 | Ok(text) => println!("Google Gemini response:\n{}", text), [INFO] [stdout] 43 | Err(e) => eprintln!("Chat error: {}", e), [INFO] [stdout] | ^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/google_example-9e713fc2cae22f7a.long-type-4112867005816999667.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/google_embedding_example.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let vector = llm.embed(vec!["Hello world!".to_string()])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Pin>, LLMError>> + Send>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Pin>, LLMError>> + Send>>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> examples/google_embedding_example.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 21 | let vector = llm.embed(vec!["Hello world!".to_string()])?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "google_example") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "google_embedding_example") due to 1 previous error [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/phind_example.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/phind_example.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/phind_example.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/ollama_example.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/phind_example.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 36 | Ok(text) => println!("Chat response:\n{}", text), [INFO] [stdout] | ^^^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/phind_example-c9155cc50d55bab7.long-type-12024751269886937571.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/ollama_example.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/ollama_example.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/phind_example.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 36 | Ok(text) => println!("Chat response:\n{}", text), [INFO] [stdout] 37 | Err(e) => eprintln!("Chat error: {}", e), [INFO] [stdout] | ^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/phind_example-c9155cc50d55bab7.long-type-12024751269886937571.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/ollama_example.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 40 | Ok(text) => println!("Ollama chat response:\n{}", text), [INFO] [stdout] | ^^^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/ollama_example-5dbc5e6ffca1b592.long-type-15737160388779381745.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/ollama_example.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 40 | Ok(text) => println!("Ollama chat response:\n{}", text), [INFO] [stdout] 41 | Err(e) => eprintln!("Chat error: {}", e), [INFO] [stdout] | ^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/ollama_example-5dbc5e6ffca1b592.long-type-15737160388779381745.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/validator_example.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/validator_example.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 39 | Ok(text) => println!("{}", text), [INFO] [stdout] | ^^^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/validator_example-0788ba6b4ab96e0c.long-type-283897549510515499.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/validator_example.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 39 | Ok(text) => println!("{}", text), [INFO] [stdout] 40 | Err(e) => eprintln!("Chat error: {}", e), [INFO] [stdout] | ^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/validator_example-0788ba6b4ab96e0c.long-type-283897549510515499.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "phind_example") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "ollama_example") due to 5 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/deepseek_example.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/deepseek_example.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "validator_example") due to 3 previous errors [INFO] [stdout] error[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/deepseek_example.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ missing `message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/embedding_example.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let vector = llm.embed(vec!["Hello world!".to_string()])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Pin>, LLMError>> + Send>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Pin>, LLMError>> + Send>>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> examples/embedding_example.rs:24:61 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | let vector = llm.embed(vec!["Hello world!".to_string()])?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/deepseek_example.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 40 | Ok(text) => println!("Chat response:\n{}", text), [INFO] [stdout] | ^^^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/deepseek_example-39387692a7f656d8.long-type-14782026673449234896.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/deepseek_example.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 40 | Ok(text) => println!("Chat response:\n{}", text), [INFO] [stdout] 41 | Err(e) => eprintln!("Chat error: {}", e), [INFO] [stdout] | ^^^^^^ expected `Pin>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin, LLMError>> + Send>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/deepseek_example-39387692a7f656d8.long-type-14782026673449234896.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "embedding_example") due to 1 previous error [INFO] [stderr] error: could not compile `rllm` (example "deepseek_example") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5b5892466c88c2c96e27436c35f7fe1fd2ff6f0d758446232e1438b7838a1737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b5892466c88c2c96e27436c35f7fe1fd2ff6f0d758446232e1438b7838a1737", kill_on_drop: false }` [INFO] [stdout] 5b5892466c88c2c96e27436c35f7fe1fd2ff6f0d758446232e1438b7838a1737