[INFO] cloning repository https://github.com/lukewberg/rwav [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukewberg/rwav" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewberg%2Frwav", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewberg%2Frwav'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d68c935cb45faabdc521a5c67e1ef9068316f7cd [INFO] testing lukewberg/rwav against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewberg%2Frwav" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/lukewberg/rwav [INFO] finished tweaking git repo https://github.com/lukewberg/rwav [INFO] tweaked toml for git repo https://github.com/lukewberg/rwav written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukewberg/rwav on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukewberg/rwav 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded windows-result v0.1.0 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded clang-sys v1.7.0 [INFO] [stderr] Downloaded prettyplease v0.2.17 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 063320c4a1c20f0327e5783b5a2b6bbc99f3c4a1e9c891456f442c45766e02d5 [INFO] running `Command { std: "docker" "start" "-a" "063320c4a1c20f0327e5783b5a2b6bbc99f3c4a1e9c891456f442c45766e02d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "063320c4a1c20f0327e5783b5a2b6bbc99f3c4a1e9c891456f442c45766e02d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063320c4a1c20f0327e5783b5a2b6bbc99f3c4a1e9c891456f442c45766e02d5", kill_on_drop: false }` [INFO] [stdout] 063320c4a1c20f0327e5783b5a2b6bbc99f3c4a1e9c891456f442c45766e02d5 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a6757870472a92eedb21894e954b9626393615d75b0e6718ce262bd662b99a20 [INFO] running `Command { std: "docker" "start" "-a" "a6757870472a92eedb21894e954b9626393615d75b0e6718ce262bd662b99a20", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling windows-targets v0.52.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling windows-result v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling malloc_buf v0.0.6 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling windows-core v0.54.0 [INFO] [stderr] Compiling objc v0.2.7 [INFO] [stderr] Compiling block v0.1.6 [INFO] [stderr] Compiling windows v0.54.0 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling rwav v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `env`, `path::PathBuf`, and `process::Command` [INFO] [stdout] --> build.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, path::PathBuf, process::Command}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set_output_device(device_id: &AudioDeviceId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_devices() -> Result, AudioOperationError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | impl Audio { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | device_id: &AudioDeviceId, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:202:41 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn is_output_device(device_id: &AudioDeviceId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:290:43 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn get_device_ids() -> Result, AudioOperationError> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | impl Audio { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn get_device_name(id: &AudioDeviceId) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | pub id: AudioDeviceId, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioDeviceId` in this scope [INFO] [stdout] --> src/audio.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | pub device: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 409 | pub struct AudioSession { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFStringRef` in this scope [INFO] [stdout] --> src/lib.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_cfstring_from_rust(rust_str: &str) -> CFStringRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kCFStringEncodingUTF8` in this scope [INFO] [stdout] --> src/lib.rs:21:73 [INFO] [stdout] | [INFO] [stdout] 21 | CFStringCreateWithCString(std::ptr::null(), c_str.as_ptr(), kCFStringEncodingUTF8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFStringRef` in this scope [INFO] [stdout] --> src/lib.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn release_cfstring(string: CFStringRef) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem::size_of` and `ptr` [INFO] [stdout] --> src/audio.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem::size_of, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::audio::Audio` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::audio::Audio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod tests; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `strict_provenance` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(strict_provenance)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/audio.rs:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set_output_device(device_id: &AudioDeviceId) -> Result { [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/audio.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn set_device_volume( [INFO] [stdout] | ----------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 151 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/audio.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_device_names() -> Result, AudioOperationError> { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result, AudioOperationError>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, AudioOperationError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/audio.rs:202:59 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn is_output_device(device_id: &AudioDeviceId) -> Result { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/audio.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn num_devices() -> Result { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_device_name_darwin` found for struct `Audio` in the current scope [INFO] [stdout] --> src/audio.rs:356:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Audio(()); [INFO] [stdout] | ---------------- function or associated item `get_device_name_darwin` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 356 | return Self::get_device_name_darwin(id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Audio` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `get_device_name` with a similar name [INFO] [stdout] | [INFO] [stdout] 356 - return Self::get_device_name_darwin(id).unwrap(); [INFO] [stdout] 356 + return Self::get_device_name(id).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/wav.rs:88:55 [INFO] [stdout] | [INFO] [stdout] 88 | fn read_from_offset(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CFStringCreateWithCString` in this scope [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | CFStringCreateWithCString(std::ptr::null(), c_str.as_ptr(), kCFStringEncodingUTF8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CFRelease` in this scope [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | CFRelease(string as *const std::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rwav` (lib) due to 20 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6757870472a92eedb21894e954b9626393615d75b0e6718ce262bd662b99a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6757870472a92eedb21894e954b9626393615d75b0e6718ce262bd662b99a20", kill_on_drop: false }` [INFO] [stdout] a6757870472a92eedb21894e954b9626393615d75b0e6718ce262bd662b99a20