[INFO] fetching crate speechmatics 0.4.0... [INFO] checking speechmatics-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate speechmatics 0.4.0 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate speechmatics 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.19.0 [INFO] [stderr] Downloaded zerovec v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3743ccb74126af8ae2d31a4ec9ac65e68096e43d71915596698629b4bb80f658 [INFO] running `Command { std: "docker" "start" "-a" "3743ccb74126af8ae2d31a4ec9ac65e68096e43d71915596698629b4bb80f658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3743ccb74126af8ae2d31a4ec9ac65e68096e43d71915596698629b4bb80f658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3743ccb74126af8ae2d31a4ec9ac65e68096e43d71915596698629b4bb80f658", kill_on_drop: false }` [INFO] [stdout] 3743ccb74126af8ae2d31a4ec9ac65e68096e43d71915596698629b4bb80f658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 585fdeb5d7afb7d5cd35a0584a79cf65184b871bb142f2a25197cc0d702e67b9 [INFO] running `Command { std: "docker" "start" "-a" "585fdeb5d7afb7d5cd35a0584a79cf65184b871bb142f2a25197cc0d702e67b9", kill_on_drop: false }` [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.1 [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] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.3 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking 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)]` 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/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[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::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[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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `speechmatics` (example "async-std-batch") due to 2 previous errors [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] running `Command { std: "docker" "inspect" "585fdeb5d7afb7d5cd35a0584a79cf65184b871bb142f2a25197cc0d702e67b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585fdeb5d7afb7d5cd35a0584a79cf65184b871bb142f2a25197cc0d702e67b9", kill_on_drop: false }` [INFO] [stdout] 585fdeb5d7afb7d5cd35a0584a79cf65184b871bb142f2a25197cc0d702e67b9