[INFO] fetching crate rust-ai 0.1.16...
[INFO] testing rust-ai-0.1.16 against 1.69.0 for beta-1.70-1
[INFO] extracting crate rust-ai 0.1.16 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate rust-ai 0.1.16 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rust-ai 0.1.16
[INFO] finished tweaking crates.io crate rust-ai 0.1.16
[INFO] tweaked toml for crates.io crate rust-ai 0.1.16 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate rust-ai 0.1.16 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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9c0145d78c0eefdf5e6e38c3e4297e6e8face2ace3dfa4c6337e05b39b8297f
[INFO] running `Command { std: "docker" "start" "-a" "c9c0145d78c0eefdf5e6e38c3e4297e6e8face2ace3dfa4c6337e05b39b8297f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9c0145d78c0eefdf5e6e38c3e4297e6e8face2ace3dfa4c6337e05b39b8297f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9c0145d78c0eefdf5e6e38c3e4297e6e8face2ace3dfa4c6337e05b39b8297f", kill_on_drop: false }`
[INFO] [stdout] c9c0145d78c0eefdf5e6e38c3e4297e6e8face2ace3dfa4c6337e05b39b8297f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a628779c721ac90cee27a7f102922c2a2882984010b0243d31e8a38ca882cccf
[INFO] running `Command { std: "docker" "start" "-a" "a628779c721ac90cee27a7f102922c2a2882984010b0243d31e8a38ca882cccf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tokio v1.27.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling anyhow v1.0.70
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling ordered-float v2.10.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.56
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling rustls-pemfile v1.0.2
[INFO] [stderr]    Compiling thread-id v4.0.0
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling arc-swap v1.6.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.8
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling urlencoding v2.1.2
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling tokio-macros v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling serde_with_macros v2.3.2
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling isolang v2.2.0
[INFO] [stderr]    Compiling serde_with v2.3.2
[INFO] [stderr]    Compiling serde_yaml v0.9.21
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling log4rs v1.2.0
[INFO] [stderr]    Compiling tokio-util v0.7.7
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling h2 v0.3.18
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling hyper-rustls v0.23.2
[INFO] [stderr]    Compiling reqwest v0.11.16
[INFO] [stderr]    Compiling rust-ai v0.1.16 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 45.04s
[INFO] running `Command { std: "docker" "inspect" "a628779c721ac90cee27a7f102922c2a2882984010b0243d31e8a38ca882cccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a628779c721ac90cee27a7f102922c2a2882984010b0243d31e8a38ca882cccf", kill_on_drop: false }`
[INFO] [stdout] a628779c721ac90cee27a7f102922c2a2882984010b0243d31e8a38ca882cccf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ddc18bd5717edf1ecd58daecca5e8d297da5818c7d6fe708e22e17c39b404aa
[INFO] running `Command { std: "docker" "start" "-a" "0ddc18bd5717edf1ecd58daecca5e8d297da5818c7d6fe708e22e17c39b404aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-ai v0.1.16 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.79s
[INFO] running `Command { std: "docker" "inspect" "0ddc18bd5717edf1ecd58daecca5e8d297da5818c7d6fe708e22e17c39b404aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ddc18bd5717edf1ecd58daecca5e8d297da5818c7d6fe708e22e17c39b404aa", kill_on_drop: false }`
[INFO] [stdout] 0ddc18bd5717edf1ecd58daecca5e8d297da5818c7d6fe708e22e17c39b404aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 601c4f4e37c6eea362832d1720a45d833ef29dd80b6913202bc456a3be65cc1a
[INFO] running `Command { std: "docker" "start" "-a" "601c4f4e37c6eea362832d1720a45d833ef29dd80b6913202bc456a3be65cc1a", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_ai-ad1c1813b261a1d9)
[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/deps/rsai-77edf9a7de8e6568)
[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]    Doc-tests rust_ai
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/azure/apis/speech.rs - azure::apis::speech::Transcription::status (line 343) ... FAILED
[INFO] [stdout] test src/azure/types/ssml/mod.rs - azure::types::ssml (line 9) ... FAILED
[INFO] [stdout] test src/azure/mod.rs - azure::apis (line 25) ... FAILED
[INFO] [stdout] test src/utils/config.rs - utils::config::Config (line 39) ... ok
[INFO] [stdout] test src/azure/types/ssml/mod.rs - azure::types::ssml::SSML (line 68) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/azure/apis/speech.rs - azure::apis::speech::Transcription::status (line 343) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/azure/apis/speech.rs:349:66
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_azure_apis_speech_rs_343_0() {
[INFO] [stdout]   |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let mut trans = Speech::new_transcription("Test".into()).create().await?;
[INFO] [stdout]   |                                                                  ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/azure/apis/speech.rs:352:69
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_azure_apis_speech_rs_343_0() {
[INFO] [stdout]    |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | while [Status::Running, Status::NotStarted].contains(&trans.status().await?.status.clone().unwrap())
[INFO] [stdout]    |                                                                     ^^^^^^ only allowed inside `async` functions and blocks
[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]  --> src/azure/apis/speech.rs:349:72
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_azure_apis_speech_rs_343_0() {
[INFO] [stdout]   |                                      ------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let mut trans = Speech::new_transcription("Test".into()).create().await?;
[INFO] [stdout]   |                                                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<std::result::Result<Infallible, Box<dyn std::error::Error>>>` is not implemented for `()`
[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]   --> src/azure/apis/speech.rs:352:75
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_azure_apis_speech_rs_343_0() {
[INFO] [stdout]    |                                      ------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 | while [Status::Running, Status::NotStarted].contains(&trans.status().await?.status.clone().unwrap())
[INFO] [stdout]    |                                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<std::result::Result<Infallible, Box<dyn std::error::Error>>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/azure/types/ssml/mod.rs - azure::types::ssml (line 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoiceName`
[INFO] [stdout]  --> src/azure/types/ssml/mod.rs:12:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |        VoiceName::zh_CN_YunhaoNeural,
[INFO] [stdout]   |        ^^^^^^^^^ use of undeclared type `VoiceName`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Locale`
[INFO] [stdout]  --> src/azure/types/ssml/mod.rs:15:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |    .lang(Locale::zh_CN),
[INFO] [stdout]   |          ^^^^^^ use of undeclared type `Locale`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SSML`
[INFO] [stdout]  --> src/azure/types/ssml/mod.rs:10:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let ssml = SSML::from(
[INFO] [stdout]   |            ^^^^ use of undeclared type `SSML`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rust_ai::azure::SSML;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Speak`
[INFO] [stdout]  --> src/azure/types/ssml/mod.rs:11:4
[INFO] [stdout]   |
[INFO] [stdout] 4 |    Speak::voice_content(
[INFO] [stdout]   |    ^^^^^ use of undeclared type `Speak`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rust_ai::azure::ssml::Speak;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/azure/mod.rs - azure::apis (line 25) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]   --> src/azure/mod.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | std::fs::write(PathBuf::from(r"D:\Contents\Downloads\output.mp3"), result).unwrap();
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/azure/mod.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_azure_mod_rs_25_0() {
[INFO] [stdout]    |                                         ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | .await?;
[INFO] [stdout]    | ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `voice` found for struct `Speech` in the current scope
[INFO] [stdout]  --> src/azure/mod.rs:29:2
[INFO] [stdout]   |
[INFO] [stdout] 6 |   let result = Speech::default()
[INFO] [stdout]   |  ______________-
[INFO] [stdout] 7 | | .voice(VoiceName::zh_CN_YunfengNeural)
[INFO] [stdout]   | | -^^^^^ method not found in `Speech`
[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]   --> src/azure/mod.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_azure_mod_rs_25_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | .await?;
[INFO] [stdout]    |       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/azure/apis/speech.rs - azure::apis::speech::Transcription::status (line 343)
[INFO] [stdout]     src/azure/mod.rs - azure::apis (line 25)
[INFO] [stdout]     src/azure/types/ssml/mod.rs - azure::types::ssml (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.42s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "601c4f4e37c6eea362832d1720a45d833ef29dd80b6913202bc456a3be65cc1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "601c4f4e37c6eea362832d1720a45d833ef29dd80b6913202bc456a3be65cc1a", kill_on_drop: false }`
[INFO] [stdout] 601c4f4e37c6eea362832d1720a45d833ef29dd80b6913202bc456a3be65cc1a
