[INFO] fetching crate rllm 1.1.9... [INFO] testing rllm-1.1.9 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rllm 1.1.9 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rllm 1.1.9 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66a8342e09446b47ce4a77ee9a77842400b1cb5ee57ab133d4d109b6ff2835ea [INFO] running `Command { std: "docker" "start" "-a" "66a8342e09446b47ce4a77ee9a77842400b1cb5ee57ab133d4d109b6ff2835ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66a8342e09446b47ce4a77ee9a77842400b1cb5ee57ab133d4d109b6ff2835ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66a8342e09446b47ce4a77ee9a77842400b1cb5ee57ab133d4d109b6ff2835ea", kill_on_drop: false }` [INFO] [stdout] 66a8342e09446b47ce4a77ee9a77842400b1cb5ee57ab133d4d109b6ff2835ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d143719ba9345ca9c2dbc778100513a30b902b9e67ea8698d65f57116b56512 [INFO] running `Command { std: "docker" "start" "-a" "5d143719ba9345ca9c2dbc778100513a30b902b9e67ea8698d65f57116b56512", 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 syn v2.0.94 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [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 indexmap v2.7.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [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 rustls-pki-types v1.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling option-ext v0.2.0 [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 fd-lock v4.0.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rustyline v15.0.0 [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 futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling spinners v4.1.1 [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 http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [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 2m 04s [INFO] running `Command { std: "docker" "inspect" "5d143719ba9345ca9c2dbc778100513a30b902b9e67ea8698d65f57116b56512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d143719ba9345ca9c2dbc778100513a30b902b9e67ea8698d65f57116b56512", kill_on_drop: false }` [INFO] [stdout] 5d143719ba9345ca9c2dbc778100513a30b902b9e67ea8698d65f57116b56512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e09b3e9050d4bbd79a04d452110e4c4da9e7eff3e3a227a7135dbfcb50c11e4f [INFO] running `Command { std: "docker" "start" "-a" "e09b3e9050d4bbd79a04d452110e4c4da9e7eff3e3a227a7135dbfcb50c11e4f", 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/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] [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[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/openai_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/openai_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/openai_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/openai_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/openai_example-57e38cd48aeb2620.long-type-10077315434344810683.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/openai_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/openai_example-57e38cd48aeb2620.long-type-10077315434344810683.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[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-9462364151395819565.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/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-9462364151395819565.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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[E0063]: missing field `message_type` in initializer of `ChatMessage` [INFO] [stdout] --> examples/evaluation_example.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let messages = vec![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/anthropic_example.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | let messages = vec![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[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/evaluation_example.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | let results: Vec = evaluator.evaluate_chat(&messages)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future, LLMError>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future, LLMError>>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> examples/evaluation_example.rs:105:70 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 105 | let results: Vec = evaluator.evaluate_chat(&messages)?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "openai_example") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] Some errors have detailed explanations: E0063, E0277. [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/anthropic_example.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 31 | Ok(text) => println!("Anthropic 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/anthropic_example-20767747af8d8a2c.long-type-9750295531000400144.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 "evaluation_example") due to 2 previous errors [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[E0308]: mismatched types [INFO] [stdout] --> examples/anthropic_example.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | match llm.chat(&messages) { [INFO] [stdout] | ------------------- this expression has type `Pin, ...>> + Send>>` [INFO] [stdout] 31 | Ok(text) => println!("Anthropic chat response:\n{}", text), [INFO] [stdout] 32 | 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/anthropic_example-20767747af8d8a2c.long-type-9750295531000400144.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/multi_backend_example.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let chain_res = MultiPromptChain::new(®istry) [INFO] [stdout] | _____________________^ [INFO] [stdout] 52 | | // Step 1: Use OpenAI to analyze a code problem [INFO] [stdout] 53 | | .step( [INFO] [stdout] 54 | | MultiChainStepBuilder::new(MultiChainStepMode::Chat) [INFO] [stdout] ... | [INFO] [stdout] 88 | | .run()?; [INFO] [stdout] | |_______________^ the `?` operator cannot be applied to type `impl Future, LLMError>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future, LLMError>>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> examples/multi_backend_example.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 88 | .run()?; [INFO] [stdout] | ^ [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-15516440003852172102.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[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-15516440003852172102.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 "anthropic_example") due to 3 previous errors [INFO] [stderr] error: could not compile `rllm` (example "phind_example") due to 5 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rllm` (example "multi_backend_example") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e09b3e9050d4bbd79a04d452110e4c4da9e7eff3e3a227a7135dbfcb50c11e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09b3e9050d4bbd79a04d452110e4c4da9e7eff3e3a227a7135dbfcb50c11e4f", kill_on_drop: false }` [INFO] [stdout] e09b3e9050d4bbd79a04d452110e4c4da9e7eff3e3a227a7135dbfcb50c11e4f