[INFO] fetching crate speechmatics 0.4.0... [INFO] testing speechmatics-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate speechmatics 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate speechmatics 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate speechmatics 0.4.0 [INFO] tweaked toml for crates.io crate speechmatics 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate speechmatics 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate speechmatics 0.4.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d81116ed3d1c2398e1ddba9f75085a1ec6d4769572f0e128fc0a4084601c9a1 [INFO] running `Command { std: "docker" "start" "-a" "9d81116ed3d1c2398e1ddba9f75085a1ec6d4769572f0e128fc0a4084601c9a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d81116ed3d1c2398e1ddba9f75085a1ec6d4769572f0e128fc0a4084601c9a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d81116ed3d1c2398e1ddba9f75085a1ec6d4769572f0e128fc0a4084601c9a1", kill_on_drop: false }` [INFO] [stdout] 9d81116ed3d1c2398e1ddba9f75085a1ec6d4769572f0e128fc0a4084601c9a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca03a061f19c9a660d83076bd959089baac1db3d3f9e305dec3b47cce8044296 [INFO] running `Command { std: "docker" "start" "-a" "ca03a061f19c9a660d83076bd959089baac1db3d3f9e305dec3b47cce8044296", kill_on_drop: false }` [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling speechmatics v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.89s [INFO] running `Command { std: "docker" "inspect" "ca03a061f19c9a660d83076bd959089baac1db3d3f9e305dec3b47cce8044296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca03a061f19c9a660d83076bd959089baac1db3d3f9e305dec3b47cce8044296", kill_on_drop: false }` [INFO] [stdout] ca03a061f19c9a660d83076bd959089baac1db3d3f9e305dec3b47cce8044296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e30d121e8d0a710d5bf4b1047ffbe675960e65ab3b994f4ecd172fe4bff5d3f2 [INFO] running `Command { std: "docker" "start" "-a" "e30d121e8d0a710d5bf4b1047ffbe675960e65ab3b994f4ecd172fe4bff5d3f2", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling speechmatics v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `batch` in `speechmatics` [INFO] [stdout] --> examples/tokio-batch.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use speechmatics::batch::{ [INFO] [stdout] | ^^^^^ could not find `batch` in `speechmatics` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "batch")] [INFO] [stdout] | ----------------- the item is gated behind the `batch` feature [INFO] [stdout] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `speechmatics::batch` [INFO] [stdout] --> examples/tokio-batch.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use speechmatics::batch::{ [INFO] [stdout] | ^^^^^ could not find `batch` in `speechmatics` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "batch")] [INFO] [stdout] | ----------------- the item is gated behind the `batch` feature [INFO] [stdout] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> examples/tokio-batch.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio; [INFO] [stdout] | ^^^^^ no external crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `speechmatics::realtime` [INFO] [stdout] --> examples/realtime-basic.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use speechmatics::realtime::*; [INFO] [stdout] | ^^^^^^^^ could not find `realtime` in `speechmatics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> examples/realtime-basic.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{self, fs::File, try_join}; [INFO] [stdout] | ^^^^ no external crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `batch` in `speechmatics` [INFO] [stdout] --> examples/async-std-batch.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use speechmatics::batch::{ [INFO] [stdout] | ^^^^^ could not find `batch` in `speechmatics` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "batch")] [INFO] [stdout] | ----------------- the item is gated behind the `batch` feature [INFO] [stdout] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `speechmatics::batch` [INFO] [stdout] --> examples/async-std-batch.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use speechmatics::batch::{ [INFO] [stdout] | ^^^^^ could not find `batch` in `speechmatics` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "batch")] [INFO] [stdout] | ----------------- the item is gated behind the `batch` feature [INFO] [stdout] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/tokio-batch.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `speechmatics` (example "tokio-batch") due to 4 previous errors [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/realtime-basic.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `speechmatics` (example "async-std-batch") due to 2 previous errors [INFO] [stderr] error: could not compile `speechmatics` (example "realtim-basic") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e30d121e8d0a710d5bf4b1047ffbe675960e65ab3b994f4ecd172fe4bff5d3f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e30d121e8d0a710d5bf4b1047ffbe675960e65ab3b994f4ecd172fe4bff5d3f2", kill_on_drop: false }` [INFO] [stdout] e30d121e8d0a710d5bf4b1047ffbe675960e65ab3b994f4ecd172fe4bff5d3f2