[INFO] fetching crate speechmatics 0.3.3... [INFO] checking speechmatics-0.3.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate speechmatics 0.3.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate speechmatics 0.3.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate speechmatics 0.3.3 [INFO] tweaked toml for crates.io crate speechmatics 0.3.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate speechmatics 0.3.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate speechmatics 0.3.3 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0297047ec2837721e5cd372a228e5dac5384bef71db4054a0a0e1d2356f9cee3 [INFO] running `Command { std: "docker" "start" "-a" "0297047ec2837721e5cd372a228e5dac5384bef71db4054a0a0e1d2356f9cee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0297047ec2837721e5cd372a228e5dac5384bef71db4054a0a0e1d2356f9cee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0297047ec2837721e5cd372a228e5dac5384bef71db4054a0a0e1d2356f9cee3", kill_on_drop: false }` [INFO] [stdout] 0297047ec2837721e5cd372a228e5dac5384bef71db4054a0a0e1d2356f9cee3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f6714bb46a39682ff0085adbe20a18c50b893b9010268ee75489dc9f1034515 [INFO] running `Command { std: "docker" "start" "-a" "8f6714bb46a39682ff0085adbe20a18c50b893b9010268ee75489dc9f1034515", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking polling v3.7.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking speechmatics v0.3.3 (/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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `batch` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "batch")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `batch` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "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] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `batch` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "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] 9 | pub mod batch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `batch` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "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[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] 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] 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] [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] error: could not compile `speechmatics` (example "async-std-batch") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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, 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 "realtim-basic") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8f6714bb46a39682ff0085adbe20a18c50b893b9010268ee75489dc9f1034515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6714bb46a39682ff0085adbe20a18c50b893b9010268ee75489dc9f1034515", kill_on_drop: false }` [INFO] [stdout] 8f6714bb46a39682ff0085adbe20a18c50b893b9010268ee75489dc9f1034515