[INFO] cloning repository https://github.com/graniet/rllm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/graniet/rllm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgraniet%2Frllm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgraniet%2Frllm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3093a9e631fcc141e6a2db7492c0e344a7e5b0a6
[INFO] checking graniet/rllm against e3607d549209cc9fdfe7e907123b4185210e2c2b for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgraniet%2Frllm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/graniet/rllm
[INFO] finished tweaking git repo https://github.com/graniet/rllm
[INFO] tweaked toml for git repo https://github.com/graniet/rllm written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/graniet/rllm on toolchain e3607d549209cc9fdfe7e907123b4185210e2c2b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/graniet/rllm 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" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:33:12
[INFO] [stderr]    |
[INFO] [stderr] 33 | homepage = "https://github.com/graniet/rllm"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 | repository = "https://github.com/graniet/rllm"
[INFO] [stderr]    |              ---------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rllm` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded spinners v4.1.1
[INFO] [stderr]   Downloaded security-framework-sys v2.13.0
[INFO] [stderr]   Downloaded ipnet v2.10.1
[INFO] [stderr]   Downloaded tokio-rustls v0.26.1
[INFO] [stderr]   Downloaded tempfile v3.15.0
[INFO] [stderr]   Downloaded hyper-rustls v0.27.5
[INFO] [stderr]   Downloaded socket2 v0.5.8
[INFO] [stderr]   Downloaded rustls-pki-types v1.10.1
[INFO] [stderr]   Downloaded clap v4.5.38
[INFO] [stderr]   Downloaded openssl-sys v0.9.104
[INFO] [stderr]   Downloaded hyper-util v0.1.10
[INFO] [stderr]   Downloaded tokio-util v0.7.13
[INFO] [stderr]   Downloaded http v1.2.0
[INFO] [stderr]   Downloaded rustyline v15.0.0
[INFO] [stderr]   Downloaded hyper v1.5.2
[INFO] [stderr]   Downloaded h2 v0.4.7
[INFO] [stderr]   Downloaded reqwest v0.12.12
[INFO] [stderr]   Downloaded clap_builder v4.5.38
[INFO] [stderr]   Downloaded openssl v0.10.68
[INFO] [stderr]   Downloaded syn v2.0.94
[INFO] [stderr]   Downloaded rustls v0.23.20
[INFO] [stderr]   Downloaded tokio v1.42.0
[INFO] [stderr]   Downloaded llm v1.2.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3
[INFO] running `Command { std: "docker" "start" "4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:33:12
[INFO] [stderr]    |
[INFO] [stderr] 33 | homepage = "https://github.com/graniet/rllm"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 | repository = "https://github.com/graniet/rllm"
[INFO] [stderr]    |              ---------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rllm` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling cc v1.2.7
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking ryu v1.0.18
[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]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking rustls-pki-types v1.10.1
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling syn v2.0.94
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking clap_builder v4.5.38
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking fd-lock v4.0.4
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]     Checking rustyline v15.0.0
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking 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 zerovec-derive v0.10.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.86
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking h2 v0.4.7
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper v1.5.2
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.12
[INFO] [stderr]     Checking llm v1.2.6
[INFO] [stderr]     Checking rllm v1.1.9 (/opt/rustwide/workdir)
[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(&registry)
[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<Output = Result<HashMap<String, String>, LLMError>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the nightly-only, unstable trait `Try` is not implemented for `impl Future<Output = Result<HashMap<String, String>, 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<dyn std::error::Error>> {
[INFO] [stdout]    | --------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 88 |         .run()?;
[INFO] [stdout]    |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> examples/chain_example.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let chain_result = PromptChain::new(&*llm)
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 26 | |         // Step 1: Choose a programming language topic
[INFO] [stdout] 27 | |         .step(
[INFO] [stdout] 28 | |             ChainStepBuilder::new("topic", "Suggest an interesting technical topic to explore among: Rust, Python, JavaScript, Go....
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |         .run()?;
[INFO] [stdout]    | |_______________^ the `?` operator cannot be applied to type `impl Future<Output = Result<HashMap<String, String>, LLMError>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the nightly-only, unstable trait `Try` is not implemented for `impl Future<Output = Result<HashMap<String, String>, 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/chain_example.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | --------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 48 |         .run()?;
[INFO] [stdout]    |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> examples/chain_example.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |   fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |   --------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 25 |       let chain_result = PromptChain::new(&*llm)
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 26 | |         // Step 1: Choose a programming language topic
[INFO] [stdout] 27 | |         .step(
[INFO] [stdout] 28 | |             ChainStepBuilder::new("topic", "Suggest an interesting technical topic to explore among: Rust, Python, JavaScript, Go....
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |         .run()?;
[INFO] [stdout]    | |_______________^ cannot use the `?` operator in a function that returns `impl Future<Output = Result<HashMap<String, String>, LLMError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[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[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<Box<dyn Future<Output = Result<Vec<Vec<f32>>, LLMError>> + Send>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the nightly-only, unstable trait `Try` is not implemented for `Pin<Box<dyn Future<Output = Result<Vec<Vec<f32>>, 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<dyn std::error::Error>> {
[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] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> examples/google_embedding_example.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | --------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     let vector = llm.embed(vec!["Hello world!".to_string()])?;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Pin<Box<dyn Future<Output = Result<Vec<Vec<f32>>, LLMError>> + Send>>`
[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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 42 |         Ok(text) => println!("Google Gemini response:\n{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/d8d0ab101bf467c1/out/google_example-d8d0ab101bf467c1.long-type-5836289216699391357.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/google_example.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + 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<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/d8d0ab101bf467c1/out/google_example-d8d0ab101bf467c1.long-type-5836289216699391357.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[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] 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] [stderr] error: could not compile `rllm` (example "chain_example") due to 2 previous errors
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> examples/multi_backend_example.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |   fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |   --------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 51 |       let chain_res = MultiPromptChain::new(&registry)
[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]    | |_______________^ cannot use the `?` operator in a function that returns `impl Future<Output = Result<HashMap<String, String>, LLMError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[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] [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] [stderr] error: could not compile `rllm` (example "multi_backend_example") due to 2 previous errors
[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 "google_embedding_example") due to 2 previous errors
[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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 31 |         Ok(text) => println!("Anthropic chat response:\n{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/34c5cc55a6041e40/out/anthropic_example-34c5cc55a6041e40.long-type-2450143202658275059.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/phind_example.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 36 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/578eea52de52cc8f/out/phind_example-578eea52de52cc8f.long-type-17964025481488416875.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: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: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/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/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/ollama_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[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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + 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<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/34c5cc55a6041e40/out/anthropic_example-34c5cc55a6041e40.long-type-2450143202658275059.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/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/phind_example.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 36 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout] 37 |         Err(e) => eprintln!("Chat error: {}", e),
[INFO] [stdout]    |         ^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/578eea52de52cc8f/out/phind_example-578eea52de52cc8f.long-type-17964025481488416875.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:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 40 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/991151620b037eb8/out/deepseek_example-991151620b037eb8.long-type-9098266484924331948.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 "google_example") due to 5 previous errors
[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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 40 |         Ok(text) => println!("Ollama chat response:\n{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/7a29400d05d6026b/out/ollama_example-7a29400d05d6026b.long-type-10494464650224362783.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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 40 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout] 41 |         Err(e) => eprintln!("Chat error: {}", e),
[INFO] [stdout]    |         ^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/991151620b037eb8/out/deepseek_example-991151620b037eb8.long-type-9098266484924331948.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:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 40 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/499caaea227517e1/out/openai_example-499caaea227517e1.long-type-3268674551435124761.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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + 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<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/7a29400d05d6026b/out/ollama_example-7a29400d05d6026b.long-type-10494464650224362783.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] 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/openai_example.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 40 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout] 41 |         Err(e) => eprintln!("Chat error: {}", e),
[INFO] [stdout]    |         ^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/499caaea227517e1/out/openai_example-499caaea227517e1.long-type-3268674551435124761.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] 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] error[E0063]: missing field `message_type` in initializer of `ChatMessage`
[INFO] [stdout]   --> examples/xai_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/xai_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/xai_example.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         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[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] [stderr] error: could not compile `rllm` (example "anthropic_example") due to 3 previous errors
[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<Box<dyn Future<Output = Result<Vec<Vec<f32>>, LLMError>> + Send>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the nightly-only, unstable trait `Try` is not implemented for `Pin<Box<dyn Future<Output = Result<Vec<Vec<f32>>, 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<dyn std::error::Error>> {
[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] [stderr] error: could not compile `rllm` (example "phind_example") due to 5 previous errors
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> examples/embedding_example.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | --------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 24 |     let vector = llm.embed(vec!["Hello world!".to_string()])?;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Pin<Box<dyn Future<Output = Result<Vec<Vec<f32>>, LLMError>> + Send>>`
[INFO] [stdout] 
[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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 39 |         Ok(text) => println!("{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/7233220c1cf72eb2/out/validator_example-7233220c1cf72eb2.long-type-9396227682332895841.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/xai_example.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 40 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout]    |         ^^^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/ffbadd1e7e583111/out/xai_example-ffbadd1e7e583111.long-type-11616450532062581775.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<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 39 |         Ok(text) => println!("{}", text),
[INFO] [stdout] 40 |         Err(e) => eprintln!("Chat error: {}", e),
[INFO] [stdout]    |         ^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/7233220c1cf72eb2/out/validator_example-7233220c1cf72eb2.long-type-9396227682332895841.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/evaluation_example.rs:105:36
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let results: Vec<EvalResult> = evaluator.evaluate_chat(&messages)?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<Vec<EvalResult>, LLMError>>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `impl Future<Output = Result<Vec<EvalResult>, 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<dyn std::error::Error>> {
[INFO] [stdout]     | --------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 105 |     let results: Vec<EvalResult> = evaluator.evaluate_chat(&messages)?;
[INFO] [stdout]     |                                                                      ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/xai_example.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     match llm.chat(&messages) {
[INFO] [stdout]    |           ------------------- this expression has type `Pin<Box<dyn Future<Output = Result<Box<dyn ChatResponse>, _>> + Send>>`
[INFO] [stdout] 40 |         Ok(text) => println!("Chat response:\n{}", text),
[INFO] [stdout] 41 |         Err(e) => eprintln!("Chat error: {}", e),
[INFO] [stdout]    |         ^^^^^^ expected `Pin<Box<dyn Future<Output = _> + Send>>`, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Pin<Box<dyn Future<Output = Result<Box<(dyn rllm::chat::ChatResponse + 'static)>, LLMError>> + Send>>`
[INFO] [stdout]                 found enum `Result<_, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/rllm/ffbadd1e7e583111/out/xai_example-ffbadd1e7e583111.long-type-11616450532062581775.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 used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> examples/evaluation_example.rs:105:36
[INFO] [stdout]     |
[INFO] [stdout]  15 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | --------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 105 |     let results: Vec<EvalResult> = evaluator.evaluate_chat(&messages)?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `impl Future<Output = Result<Vec<EvalResult>, LLMError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rllm` (example "deepseek_example") due to 5 previous errors
[INFO] [stderr] error: could not compile `rllm` (example "ollama_example") due to 5 previous errors
[INFO] [stderr] error: could not compile `rllm` (example "openai_example") due to 5 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[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] 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] Some errors have detailed explanations: E0063, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rllm` (example "xai_example") due to 5 previous errors
[INFO] [stderr] error: could not compile `rllm` (example "validator_example") due to 3 previous errors
[INFO] [stderr] error: could not compile `rllm` (example "embedding_example") due to 2 previous errors
[INFO] [stderr] error: could not compile `rllm` (example "evaluation_example") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3", kill_on_drop: false }`
[INFO] [stdout] 4cb8fe7f309d7fd0794e7da321f258df8780c45e9df3be73e21abdc0ae8b11d3
