[INFO] fetching crate rsaber_hackedcpal 0.1.0... [INFO] testing rsaber_hackedcpal-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rsaber_hackedcpal 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rsaber_hackedcpal 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rsaber_hackedcpal 0.1.0 [INFO] tweaked toml for crates.io crate rsaber_hackedcpal 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsaber_hackedcpal 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsaber_hackedcpal 0.1.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.1 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded jack-sys v0.5.1 [INFO] [stderr] Downloaded audio_thread_priority v0.33.0 [INFO] [stderr] Downloaded parse_cfg v4.1.1 [INFO] [stderr] Downloaded asio-sys v0.2.2 [INFO] [stderr] Downloaded objc2-core-audio v0.3.1 [INFO] [stderr] Downloaded dbus v0.6.5 [INFO] [stderr] Downloaded jack v0.13.3 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded libdbus-sys v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f5c185012980f287d908e6acfaef57374b0ca2a33ee879fdfb29efce896ea7 [INFO] running `Command { std: "docker" "start" "-a" "38f5c185012980f287d908e6acfaef57374b0ca2a33ee879fdfb29efce896ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f5c185012980f287d908e6acfaef57374b0ca2a33ee879fdfb29efce896ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f5c185012980f287d908e6acfaef57374b0ca2a33ee879fdfb29efce896ea7", kill_on_drop: false }` [INFO] [stdout] 38f5c185012980f287d908e6acfaef57374b0ca2a33ee879fdfb29efce896ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a8ac1a931534c73172df58f6afd69b434ff6de150dac07a3c5bdbeb500b3c12 [INFO] running `Command { std: "docker" "start" "-a" "8a8ac1a931534c73172df58f6afd69b434ff6de150dac07a3c5bdbeb500b3c12", kill_on_drop: false }` [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rsaber_hackedcpal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "8a8ac1a931534c73172df58f6afd69b434ff6de150dac07a3c5bdbeb500b3c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a8ac1a931534c73172df58f6afd69b434ff6de150dac07a3c5bdbeb500b3c12", kill_on_drop: false }` [INFO] [stdout] 8a8ac1a931534c73172df58f6afd69b434ff6de150dac07a3c5bdbeb500b3c12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db0bb99d10aa8624150af53bdff7f5eeff18640b522864be8e2de837251dcce0 [INFO] running `Command { std: "docker" "start" "-a" "db0bb99d10aa8624150af53bdff7f5eeff18640b522864be8e2de837251dcce0", kill_on_drop: false }` [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling ringbuf v0.4.8 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling rsaber_hackedcpal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cpal::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cpal` [INFO] [stdout] --> examples/beep.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cpal::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | cpal::SampleFormat::I8 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - cpal::SampleFormat::I8 => run::(&device, &config.into()), [INFO] [stdout] 79 + SampleFormat::I8 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | cpal::SampleFormat::I16 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - cpal::SampleFormat::I16 => run::(&device, &config.into()), [INFO] [stdout] 80 + SampleFormat::I16 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | cpal::SampleFormat::I24 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - cpal::SampleFormat::I24 => run::(&device, &config.into()), [INFO] [stdout] 81 + SampleFormat::I24 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | cpal::SampleFormat::I32 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - cpal::SampleFormat::I32 => run::(&device, &config.into()), [INFO] [stdout] 82 + SampleFormat::I32 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | cpal::SampleFormat::I64 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - cpal::SampleFormat::I64 => run::(&device, &config.into()), [INFO] [stdout] 84 + SampleFormat::I64 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | cpal::SampleFormat::U8 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - cpal::SampleFormat::U8 => run::(&device, &config.into()), [INFO] [stdout] 85 + SampleFormat::U8 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | cpal::SampleFormat::U16 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 86 - cpal::SampleFormat::U16 => run::(&device, &config.into()), [INFO] [stdout] 86 + SampleFormat::U16 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | cpal::SampleFormat::U32 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 88 - cpal::SampleFormat::U32 => run::(&device, &config.into()), [INFO] [stdout] 88 + SampleFormat::U32 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | cpal::SampleFormat::U64 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 90 - cpal::SampleFormat::U64 => run::(&device, &config.into()), [INFO] [stdout] 90 + SampleFormat::U64 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | cpal::SampleFormat::F32 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 91 - cpal::SampleFormat::F32 => run::(&device, &config.into()), [INFO] [stdout] 91 + SampleFormat::F32 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | cpal::SampleFormat::F64 => run::(&device, &config.into()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 1 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - cpal::SampleFormat::F64 => run::(&device, &config.into()), [INFO] [stdout] 92 + SampleFormat::F64 => run::(&device, &config.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsaber_hackedcpal` (example "beep") due to 17 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | let host = cpal::default_host(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn run(device: &cpal::Device, config: &cpal::StreamConfig) -> Result<(), anyhow::Error> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:97:47 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn run(device: &cpal::Device, config: &cpal::StreamConfig) -> Result<(), anyhow::Error> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/beep.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | move |data: &mut [T], _: &cpal::OutputCallbackInfo| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [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[E0463]: can't find crate for `cpal` [INFO] [stdout] --> examples/enumerate.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate cpal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/enumerate.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | println!("{}", host_id.name()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/enumerate.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | let default_in = host.default_input_device().map(|e| e.name().unwrap()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let default_in = host.default_input_device().map(|e: /* Type */| e.name().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/enumerate.rs:16:61 [INFO] [stdout] | [INFO] [stdout] 16 | let default_out = host.default_output_device().map(|e| e.name().unwrap()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let default_out = host.default_output_device().map(|e: /* Type */| e.name().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/enumerate.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | println!(" {}. \"{}\"", device_index + 1, device.name()?); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/enumerate.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(f) => f.collect(), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/enumerate.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(f) => f.collect(), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cpal::traits::{DeviceTrait, HostTrait, StreamTrait}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `cpal` [INFO] [stdout] --> examples/synth_tones.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate cpal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cpal` [INFO] [stdout] --> examples/record_wav.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cpal::{FromSample, Sample}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsaber_hackedcpal` (example "enumerate") due to 7 previous errors [INFO] [stderr] error: could not compile `rsaber_hackedcpal` (example "synth_tones") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/feedback.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cpal::traits::{DeviceTrait, HostTrait, StreamTrait}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/feedback.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let host = cpal::default_host(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/feedback.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | .find(|x| x.name().map(|y| y == opt.input_device).unwrap_or(false)) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | .find(|x: /* Type */| x.name().map(|y| y == opt.input_device).unwrap_or(false)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/feedback.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | .find(|x| x.name().map(|y| y == opt.output_device).unwrap_or(false)) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 96 | .find(|x: /* Type */| x.name().map(|y| y == opt.output_device).unwrap_or(false)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/feedback.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | fn err_fn(err: cpal::StreamError) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/feedback.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let config: cpal::StreamConfig = input_device.default_input_config()?.into(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/feedback.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | let input_data_fn = move |data: &[f32], _: &cpal::InputCallbackInfo| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/feedback.rs:133:54 [INFO] [stdout] | [INFO] [stdout] 133 | let output_data_fn = move |data: &mut [f32], _: &cpal::OutputCallbackInfo| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsaber_hackedcpal` (example "feedback") due to 8 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | cpal::SampleFormat::I8 => device.build_input_stream( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 5 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - cpal::SampleFormat::I8 => device.build_input_stream( [INFO] [stdout] 104 + SampleFormat::I8 => device.build_input_stream( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | cpal::SampleFormat::I16 => device.build_input_stream( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 5 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 110 - cpal::SampleFormat::I16 => device.build_input_stream( [INFO] [stdout] 110 + SampleFormat::I16 => device.build_input_stream( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | cpal::SampleFormat::I32 => device.build_input_stream( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 5 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 116 - cpal::SampleFormat::I32 => device.build_input_stream( [INFO] [stdout] 116 + SampleFormat::I32 => device.build_input_stream( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | cpal::SampleFormat::F32 => device.build_input_stream( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use hound::SampleFormat; [INFO] [stdout] | [INFO] [stdout] 5 + use rsaber_hackedcpal::SampleFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `SampleFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 122 - cpal::SampleFormat::F32 => device.build_input_stream( [INFO] [stdout] 122 + SampleFormat::F32 => device.build_input_stream( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | let host = cpal::default_host(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | fn sample_format(format: cpal::SampleFormat) -> hound::SampleFormat { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cpal` [INFO] [stdout] --> examples/record_wav.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | fn wav_spec_from_config(config: &cpal::SupportedStreamConfig) -> hound::WavSpec { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `cpal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cpal`, use `cargo add cpal` to add it to your `Cargo.toml` [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] error: could not compile `rsaber_hackedcpal` (example "record_wav") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "db0bb99d10aa8624150af53bdff7f5eeff18640b522864be8e2de837251dcce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0bb99d10aa8624150af53bdff7f5eeff18640b522864be8e2de837251dcce0", kill_on_drop: false }` [INFO] [stdout] db0bb99d10aa8624150af53bdff7f5eeff18640b522864be8e2de837251dcce0