[INFO] fetching crate llmservice-flows 0.5.0...
[INFO] testing llmservice-flows-0.5.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate llmservice-flows 0.5.0 into /workspace/builds/worker-4-tc2/source
[INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate llmservice-flows 0.5.0
[INFO] finished tweaking crates.io crate llmservice-flows 0.5.0
[INFO] tweaked toml for crates.io crate llmservice-flows 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate llmservice-flows 0.5.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate llmservice-flows 0.5.0 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd192bfd7d2e5a5dea9fa4176252e5582c2ef2680fdb3e721e67952739f2f578
[INFO] running `Command { std: "docker" "start" "-a" "fd192bfd7d2e5a5dea9fa4176252e5582c2ef2680fdb3e721e67952739f2f578", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd192bfd7d2e5a5dea9fa4176252e5582c2ef2680fdb3e721e67952739f2f578", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd192bfd7d2e5a5dea9fa4176252e5582c2ef2680fdb3e721e67952739f2f578", kill_on_drop: false }`
[INFO] [stdout] fd192bfd7d2e5a5dea9fa4176252e5582c2ef2680fdb3e721e67952739f2f578
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e6b030dccc4369eaa03176bb659041273b4dc5187b36a12e580f1f3e6c1a740b
[INFO] running `Command { std: "docker" "start" "-a" "e6b030dccc4369eaa03176bb659041273b4dc5187b36a12e580f1f3e6c1a740b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]    Compiling litemap v0.7.3
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling cc v1.2.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.15.1
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling zerofrom v0.1.4
[INFO] [stderr]    Compiling yoke v0.7.4
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling llmservice-flows v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.15s
[INFO] running `Command { std: "docker" "inspect" "e6b030dccc4369eaa03176bb659041273b4dc5187b36a12e580f1f3e6c1a740b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6b030dccc4369eaa03176bb659041273b4dc5187b36a12e580f1f3e6c1a740b", kill_on_drop: false }`
[INFO] [stdout] e6b030dccc4369eaa03176bb659041273b4dc5187b36a12e580f1f3e6c1a740b
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1e229a1239960e384ab5501b66e8ae8b0eb108dd26fbc9b3d594d4125223e336
[INFO] running `Command { std: "docker" "start" "-a" "1e229a1239960e384ab5501b66e8ae8b0eb108dd26fbc9b3d594d4125223e336", kill_on_drop: false }`
[INFO] [stderr]    Compiling llmservice-flows v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s
[INFO] running `Command { std: "docker" "inspect" "1e229a1239960e384ab5501b66e8ae8b0eb108dd26fbc9b3d594d4125223e336", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e229a1239960e384ab5501b66e8ae8b0eb108dd26fbc9b3d594d4125223e336", kill_on_drop: false }`
[INFO] [stdout] 1e229a1239960e384ab5501b66e8ae8b0eb108dd26fbc9b3d594d4125223e336
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e10981cb10eb0ecb047ba212ea483db57dd2168feb8750f0d3dd51d43f5c8637
[INFO] running `Command { std: "docker" "start" "-a" "e10981cb10eb0ecb047ba212ea483db57dd2168feb8750f0d3dd51d43f5c8637", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/llmservice-flows/5640980b68426cdb/deps/llmservice_flows-5640980b68426cdb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/llmservice-flows/f387e0083f51c82d/deps/llmservice_flows-f387e0083f51c82d)
[INFO] [stderr]    Doc-tests llmservice_flows
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] test src/audio.rs - audio::crate::LLMServiceFlows<'a>::translate (line 78) ... FAILED
[INFO] [stdout] test src/chat.rs - chat::chat_history (line 203) - compile ... FAILED
[INFO] [stdout] test src/audio.rs - audio::crate::LLMServiceFlows<'a>::transcribe (line 53) ... FAILED
[INFO] [stdout] test src/chat.rs - chat::crate::LLMServiceFlows<'a>::chat_completion (line 92) ... FAILED
[INFO] [stdout] test src/embeddings.rs - embeddings::crate::LLMServiceFlows<'a>::create_embeddings (line 30) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lambda_flows`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use lambda_flows::{request_received, send_response};
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `lambda_flows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `lambda_flows`, use `cargo add lambda_flows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/audio.rs - audio::crate::LLMServiceFlows<'a>::translate (line 78) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
[INFO] [stdout]   --> src/audio.rs:92:24
[INFO] [stdout]    |
[INFO] [stdout] 92 |        Err(e) => {your error handling},
[INFO] [stdout]    |                        ^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslateInput` in this scope
[INFO] [stdout]   --> src/audio.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 81 |    let input = TranslateInput {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 78 + use llmservice_flows::audio::TranslateInput;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `audio` in this scope
[INFO] [stdout]   --> src/audio.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |       audio: audio,
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `llm` in this scope
[INFO] [stdout]   --> src/audio.rs:90:28
[INFO] [stdout]    |
[INFO] [stdout] 90 |    let translation = match llm.translate(input).await {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/audio.rs:90:49
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_audio_rs_78_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 90 |    let translation = match llm.translate(input).await {
[INFO] [stdout]    |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/chat.rs - chat::chat_history (line 203) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `chat_history` in this scope
[INFO] [stdout]    --> src/chat.rs:209:16
[INFO] [stdout]     |
[INFO] [stdout] 209 |  let history = chat_history(conversation_id, limit);
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 203 + use llmservice_flows::chat::chat_history;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChatRole`
[INFO] [stdout]    --> src/chat.rs:216:18
[INFO] [stdout]     |
[INFO] [stdout] 216 |                  ChatRole::User => "User",
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ChatRole`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 203 + use llmservice_flows::chat::ChatRole;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChatRole`
[INFO] [stdout]    --> src/chat.rs:217:18
[INFO] [stdout]     |
[INFO] [stdout] 217 |                  ChatRole::Assistant => "Assistant",
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ChatRole`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 203 + use llmservice_flows::chat::ChatRole;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/chat.rs:214:25
[INFO] [stdout]     |
[INFO] [stdout] 214 |          for message in messages.iter().rev() {
[INFO] [stdout]     |                         ^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/audio.rs - audio::crate::LLMServiceFlows<'a>::transcribe (line 53) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
[INFO] [stdout]   --> src/audio.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |        Err(e) => {your error handling},
[INFO] [stdout]    |                        ^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranscribeInput` in this scope
[INFO] [stdout]   --> src/audio.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |    let input = TranscribeInput {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 53 + use llmservice_flows::audio::TranscribeInput;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `audio` in this scope
[INFO] [stdout]   --> src/audio.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |       audio: audio,
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `llm` in this scope
[INFO] [stdout]   --> src/audio.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |    let transcription = match llm.transcribe(input).await {
[INFO] [stdout]    |                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/audio.rs:65:52
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_audio_rs_53_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 65 |    let transcription = match llm.transcribe(input).await {
[INFO] [stdout]    |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/chat.rs - chat::crate::LLMServiceFlows<'a>::chat_completion (line 92) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ChatOptions` in this scope
[INFO] [stdout]    --> src/chat.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |      let co = ChatOptions {
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  92 + use llmservice_flows::chat::ChatOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `news_body` in this scope
[INFO] [stdout]    --> src/chat.rs:110:80
[INFO] [stdout]     |
[INFO] [stdout] 110 |      let question = format!("Make a concise summary within 200 words on this: {news_body}.");
[INFO] [stdout]     |                                                                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `llm` in this scope
[INFO] [stdout]    --> src/chat.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |      match llm.chat_completion(&chat_id, &question, &co).await {
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/chat.rs:113:58
[INFO] [stdout]     |
[INFO] [stdout]  92 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_chat_rs_92_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 113 |      match llm.chat_completion(&chat_id, &question, &co).await {
[INFO] [stdout]     |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/chat.rs:115:25
[INFO] [stdout]     |
[INFO] [stdout] 115 |          Err(e) =>  Err(e.into()),
[INFO] [stdout]     |                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/embeddings.rs - embeddings::crate::LLMServiceFlows<'a>::create_embeddings (line 30) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
[INFO] [stdout]   --> src/embeddings.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 |        Err(e) => {your error handling},
[INFO] [stdout]    |                        ^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbeddingsInput`
[INFO] [stdout]   --> src/embeddings.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |    let input = EmbeddingsInput::String(text.to_string());
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ use of undeclared type `EmbeddingsInput`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 30 + use llmservice_flows::embeddings::EmbeddingsInput;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `text` in this scope
[INFO] [stdout]   --> src/embeddings.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 |    let input = EmbeddingsInput::String(text.to_string());
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `llm` in this scope
[INFO] [stdout]   --> src/embeddings.rs:35:32
[INFO] [stdout]    |
[INFO] [stdout] 35 |    let question_vector = match llm.create_embeddings(Some("text-embedding-ada-002"), input).await {
[INFO] [stdout]    |                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/embeddings.rs:35:93
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_embeddings_rs_30_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 35 |    let question_vector = match llm.create_embeddings(Some("text-embedding-ada-002"), input).await {
[INFO] [stdout]    |                                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/audio.rs - audio::crate::LLMServiceFlows<'a>::transcribe (line 53)
[INFO] [stdout]     src/audio.rs - audio::crate::LLMServiceFlows<'a>::translate (line 78)
[INFO] [stdout]     src/chat.rs - chat::chat_history (line 203)
[INFO] [stdout]     src/chat.rs - chat::crate::LLMServiceFlows<'a>::chat_completion (line 92)
[INFO] [stdout]     src/embeddings.rs - embeddings::crate::LLMServiceFlows<'a>::create_embeddings (line 30)
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e10981cb10eb0ecb047ba212ea483db57dd2168feb8750f0d3dd51d43f5c8637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e10981cb10eb0ecb047ba212ea483db57dd2168feb8750f0d3dd51d43f5c8637", kill_on_drop: false }`
[INFO] [stdout] e10981cb10eb0ecb047ba212ea483db57dd2168feb8750f0d3dd51d43f5c8637
