[INFO] fetching crate whispr 0.2.0... [INFO] testing whispr-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate whispr 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate whispr 0.2.0 [INFO] finished tweaking crates.io crate whispr 0.2.0 [INFO] tweaked toml for crates.io crate whispr 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate whispr 0.2.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate whispr 0.2.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded rustls-pki-types v1.13.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded iri-string v0.7.9 [INFO] [stderr] Downloaded reqwest v0.12.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62a0ff2c4a408f18f6b7a4837e178237b2c47cf4ce820465af366fba0e5ae099 [INFO] running `Command { std: "docker" "start" "-a" "62a0ff2c4a408f18f6b7a4837e178237b2c47cf4ce820465af366fba0e5ae099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62a0ff2c4a408f18f6b7a4837e178237b2c47cf4ce820465af366fba0e5ae099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62a0ff2c4a408f18f6b7a4837e178237b2c47cf4ce820465af366fba0e5ae099", kill_on_drop: false }` [INFO] [stdout] 62a0ff2c4a408f18f6b7a4837e178237b2c47cf4ce820465af366fba0e5ae099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2de8e6d24d56390466a7f9a5dc19b2ca693a38ce79609464122bc645044e88eb [INFO] running `Command { std: "docker" "start" "-a" "2de8e6d24d56390466a7f9a5dc19b2ca693a38ce79609464122bc645044e88eb", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.25 [INFO] [stderr] Compiling whispr v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.49s [INFO] running `Command { std: "docker" "inspect" "2de8e6d24d56390466a7f9a5dc19b2ca693a38ce79609464122bc645044e88eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de8e6d24d56390466a7f9a5dc19b2ca693a38ce79609464122bc645044e88eb", kill_on_drop: false }` [INFO] [stdout] 2de8e6d24d56390466a7f9a5dc19b2ca693a38ce79609464122bc645044e88eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e20ecd9e16f2317b93208e2bae42f9cfb26fc9f5e998d64f2e3de83a7c4bd80 [INFO] running `Command { std: "docker" "start" "-a" "3e20ecd9e16f2317b93208e2bae42f9cfb26fc9f5e998d64f2e3de83a7c4bd80", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.25 [INFO] [stderr] Compiling whispr v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.53s [INFO] running `Command { std: "docker" "inspect" "3e20ecd9e16f2317b93208e2bae42f9cfb26fc9f5e998d64f2e3de83a7c4bd80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e20ecd9e16f2317b93208e2bae42f9cfb26fc9f5e998d64f2e3de83a7c4bd80", kill_on_drop: false }` [INFO] [stdout] 3e20ecd9e16f2317b93208e2bae42f9cfb26fc9f5e998d64f2e3de83a7c4bd80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 015f9e3c687bf2e3717331b20b9f797c0001e9d0cb217ee8ffd527a254bcb82f [INFO] running `Command { std: "docker" "start" "-a" "015f9e3c687bf2e3717331b20b9f797c0001e9d0cb217ee8ffd527a254bcb82f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/whispr-5ceb79c63e928137) [INFO] [stdout] running 24 tests [INFO] [stdout] test client::tests::test_client_config_builder ... ok [INFO] [stdout] test models::tests::test_tts_model_serialization ... ok [INFO] [stdout] test models::tests::test_transcription_model_features ... ok [INFO] [stdout] test models::tests::test_voice_serialization ... ok [INFO] [stdout] test models::tests::test_audio_format_mime_types ... ok [INFO] [stdout] test speech::tests::test_builder_chain ... ok [INFO] [stdout] test client::tests::test_client_creation ... ok [INFO] [stdout] test speech::tests::test_builder_defaults ... ok [INFO] [stdout] test client::tests::test_client_clone ... ok [INFO] [stdout] test speech::tests::test_validate_missing_text ... ok [INFO] [stdout] test speech::tests::test_build_request_strips_instructions_for_tts1 ... ok [INFO] [stdout] test transcription::tests::test_parse_sse_delta_event ... ok [INFO] [stdout] test transcription::tests::test_parse_sse_done_event ... ok [INFO] [stdout] test speech::tests::test_build_request ... ok [INFO] [stdout] test transcription::tests::test_validate_missing_audio ... ok [INFO] [stdout] test speech::tests::test_validate_text_too_long ... ok [INFO] [stdout] test speech::tests::test_validate_success ... ok [INFO] [stdout] test transcription::tests::test_validate_prompt_with_diarize ... ok [INFO] [stdout] test transcription::tests::test_auto_chunking ... ok [INFO] [stdout] test transcription::tests::test_builder_from_bytes ... ok [INFO] [stdout] test speech::tests::test_validate_speed_out_of_range ... ok [INFO] [stdout] test transcription::tests::test_validate_temperature_out_of_range ... ok [INFO] [stdout] test transcription::tests::test_builder_defaults ... ok [INFO] [stdout] test transcription::tests::test_validate_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.29s [INFO] [stdout] [INFO] [stderr] Doc-tests whispr [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test src/client.rs - client::Client::text_to_speech (line 238) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::from_env (line 112) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 104) ... ignored [INFO] [stdout] test src/client.rs - client::Client::new (line 95) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::transcription (line 205) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::speech (line 180) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client (line 67) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::speech_to_text (line 263) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::audio_to_audio (line 292) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::with_config (line 132) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 45) - compile ... ok [INFO] [stdout] test src/speech.rs - speech::SpeechBuilder::generate_to_file (line 311) - compile ... ok [INFO] [stdout] test src/speech.rs - speech::SpeechBuilder::generate_stream (line 339) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 89) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 19) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 69) - compile ... ok [INFO] [stdout] test src/speech.rs - speech::SpeechBuilder (line 41) - compile ... ok [INFO] [stdout] test src/speech.rs - speech::SpeechBuilder::generate (line 273) - compile ... ok [INFO] [stdout] test src/transcription.rs - transcription::TranscriptionBuilder::text (line 589) - compile ... ok [INFO] [stdout] test src/transcription.rs - transcription::TranscriptionBuilder (line 21) - compile ... ok [INFO] [stdout] test src/speech.rs - speech::SpeechBuilder::stream_to_file (line 392) - compile ... ok [INFO] [stdout] test src/speech.rs - speech::SpeechBuilder::instructions (line 186) - compile ... ok [INFO] [stdout] test src/transcription.rs - transcription::TranscriptionBuilder::bytes (line 157) - compile ... ok [INFO] [stdout] test src/transcription.rs - transcription::TranscriptionBuilder::transcribe (line 437) - compile ... ok [INFO] [stdout] test src/transcription.rs - transcription::TranscriptionBuilder::transcribe_stream (line 504) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::Client::with_config (line 132) stdout ---- [INFO] [stdout] error[E0603]: module `client` is private [INFO] [stdout] --> src/client.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | use whispr::{Client, client::ClientConfig}; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `client` is defined here [INFO] [stdout] --> src/lib.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | mod client; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transcription.rs - transcription::TranscriptionBuilder::transcribe_stream (line 504) stdout ---- [INFO] [stdout] error[E0277]: `{async block@TranscriptionBuilder::transcribe_stream::{closure#0}::{closure#0}::{closure#0}}` cannot be unpinned [INFO] [stdout] --> src/transcription.rs:519:32 [INFO] [stdout] | [INFO] [stdout] 519 | while let Some(event) = stream.next().await { [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `__Origin<'_, (impl Stream>, String), ...>`, the trait `Unpin` is not implemented for `{async block@TranscriptionBuilder::transcribe_stream::{closure#0}::{closure#0}::{closure#0}}` [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required because it appears within the type `__Origin<'_, (impl Stream>, String), ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.16/src/lib.rs:1247:21 [INFO] [stdout] | [INFO] [stdout] 1247 | $vis struct __Origin<'__pin, $($impl_generics)*> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/unfold_state.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pin_project! { [INFO] [stdout] 6 | | /// UnfoldState used for stream and sink unfolds [INFO] [stdout] 7 | | #[project = UnfoldStateProj] [INFO] [stdout] 8 | | #[project_replace = UnfoldStateProjReplace] [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: required for `UnfoldState<(impl Stream>, String), ...>` to implement `Unpin` [INFO] [stdout] note: required because it appears within the type `__Origin<'_, (impl Stream>, ...), ..., ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.16/src/lib.rs:1247:21 [INFO] [stdout] | [INFO] [stdout] 1247 | $vis struct __Origin<'__pin, $($impl_generics)*> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/unfold.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / pin_project! { [INFO] [stdout] 59 | | /// Stream for the [`unfold`] function. [INFO] [stdout] 60 | | #[must_use = "streams do nothing unless polled"] [INFO] [stdout] 61 | | pub struct Unfold { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: required for `Unfold<(impl Stream>, String), ..., ...>` to implement `Unpin` [INFO] [stdout] note: required because it appears within the type `impl Stream> + Send` [INFO] [stdout] --> src/transcription.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | ) -> Result> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `futures::StreamExt::next` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/mod.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 273 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 274 | where [INFO] [stdout] 275 | Self: Unpin, [INFO] [stdout] | ^^^^^ required by this bound in `StreamExt::next` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctesto5h5fK/rust_out.long-type-5703068257472602384.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: `{async block@TranscriptionBuilder::transcribe_stream::{closure#0}::{closure#0}::{closure#0}}` cannot be unpinned [INFO] [stdout] --> src/transcription.rs:519:39 [INFO] [stdout] | [INFO] [stdout] 519 | while let Some(event) = stream.next().await { [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `__Origin<'_, (impl Stream>, String), ...>`, the trait `Unpin` is not implemented for `{async block@TranscriptionBuilder::transcribe_stream::{closure#0}::{closure#0}::{closure#0}}` [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required because it appears within the type `__Origin<'_, (impl Stream>, String), ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.16/src/lib.rs:1247:21 [INFO] [stdout] | [INFO] [stdout] 1247 | $vis struct __Origin<'__pin, $($impl_generics)*> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/unfold_state.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pin_project! { [INFO] [stdout] 6 | | /// UnfoldState used for stream and sink unfolds [INFO] [stdout] 7 | | #[project = UnfoldStateProj] [INFO] [stdout] 8 | | #[project_replace = UnfoldStateProjReplace] [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: required for `UnfoldState<(impl Stream>, String), ...>` to implement `Unpin` [INFO] [stdout] note: required because it appears within the type `__Origin<'_, (impl Stream>, ...), ..., ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.16/src/lib.rs:1247:21 [INFO] [stdout] | [INFO] [stdout] 1247 | $vis struct __Origin<'__pin, $($impl_generics)*> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/unfold.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / pin_project! { [INFO] [stdout] 59 | | /// Stream for the [`unfold`] function. [INFO] [stdout] 60 | | #[must_use = "streams do nothing unless polled"] [INFO] [stdout] 61 | | pub struct Unfold { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: required for `Unfold<(impl Stream>, String), ..., ...>` to implement `Unpin` [INFO] [stdout] note: required because it appears within the type `impl Stream> + Send` [INFO] [stdout] --> src/transcription.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | ) -> Result> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Next<'_, impl Stream> + Send>` to implement `futures::Future` [INFO] [stdout] = note: required for `Next<'_, impl Stream> + Send>` to implement `std::future::IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctesto5h5fK/rust_out.long-type-12133102430223740642.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 519 - while let Some(event) = stream.next().await { [INFO] [stdout] 519 + while let Some(event) = stream.next() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::Client::with_config (line 132) [INFO] [stdout] src/transcription.rs - transcription::TranscriptionBuilder::transcribe_stream (line 504) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.74s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "015f9e3c687bf2e3717331b20b9f797c0001e9d0cb217ee8ffd527a254bcb82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015f9e3c687bf2e3717331b20b9f797c0001e9d0cb217ee8ffd527a254bcb82f", kill_on_drop: false }` [INFO] [stdout] 015f9e3c687bf2e3717331b20b9f797c0001e9d0cb217ee8ffd527a254bcb82f