[INFO] fetching crate rllm 1.1.9... [INFO] checking rllm-1.1.9 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rllm 1.1.9 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rllm 1.1.9 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 105acb583558f72171dc6df8c3c5e8203fcfb5067a9b151d9dd3492e2a301ff7 [INFO] running `Command { std: "docker" "start" "-a" "105acb583558f72171dc6df8c3c5e8203fcfb5067a9b151d9dd3492e2a301ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "105acb583558f72171dc6df8c3c5e8203fcfb5067a9b151d9dd3492e2a301ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105acb583558f72171dc6df8c3c5e8203fcfb5067a9b151d9dd3492e2a301ff7", kill_on_drop: false }` [INFO] [stdout] 105acb583558f72171dc6df8c3c5e8203fcfb5067a9b151d9dd3492e2a301ff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa71f66723df66a41afa4fbb1b1754b15d3ab8709254840b53301d853d2ba543 [INFO] running `Command { std: "docker" "start" "-a" "fa71f66723df66a41afa4fbb1b1754b15d3ab8709254840b53301d853d2ba543", kill_on_drop: false }` [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] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking equivalent v1.0.1 [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 tower-service v0.3.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking rustyline v15.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking spinners v4.1.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 serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling clap_derive v4.5.32 [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 clap v4.5.38 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tower-http v0.5.2 [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 h2 v0.4.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [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 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[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[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/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-63205ad4d11b3b6a.long-type-4155820569047351912.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, ...>> + 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-ccf7efce41517e59.long-type-2024539402601434069.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: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-ccf7efce41517e59.long-type-2024539402601434069.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-63205ad4d11b3b6a.long-type-4155820569047351912.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/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. Answer... [INFO] [stdout] ... | [INFO] [stdout] 48 | | .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/chain_example.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 48 | .run()?; [INFO] [stdout] | ^ [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] [stderr] error: could not compile `rllm` (example "phind_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 "openai_example") due to 5 previous errors [INFO] [stderr] error: could not compile `rllm` (example "chain_example") due to 1 previous error [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] 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[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, ...>> + 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/xai_example-b18a0c13b77b7af1.long-type-10876028827776106642.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: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/xai_example-b18a0c13b77b7af1.long-type-10876028827776106642.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/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-eae6e2ee683ef6e2.long-type-9462067348812960506.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/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-eae6e2ee683ef6e2.long-type-9462067348812960506.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] [stderr] error: could not compile `rllm` (example "anthropic_example") due to 3 previous errors [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] [stderr] error: could not compile `rllm` (example "xai_example") due to 5 previous errors [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-3928d9bf1bef4ab5.long-type-3469037465268280595.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-3928d9bf1bef4ab5.long-type-3469037465268280595.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/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] [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 "validator_example") due to 3 previous errors [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] running `Command { std: "docker" "inspect" "fa71f66723df66a41afa4fbb1b1754b15d3ab8709254840b53301d853d2ba543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa71f66723df66a41afa4fbb1b1754b15d3ab8709254840b53301d853d2ba543", kill_on_drop: false }` [INFO] [stdout] fa71f66723df66a41afa4fbb1b1754b15d3ab8709254840b53301d853d2ba543