[INFO] cloning repository https://github.com/rodolfoul/default-audio-switcher-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rodolfoul/default-audio-switcher-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodolfoul%2Fdefault-audio-switcher-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodolfoul%2Fdefault-audio-switcher-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8474e9dda48cca5e098bd5884af44c5deafee2d5 [INFO] testing rodolfoul/default-audio-switcher-rs against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodolfoul%2Fdefault-audio-switcher-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rodolfoul/default-audio-switcher-rs [INFO] finished tweaking git repo https://github.com/rodolfoul/default-audio-switcher-rs [INFO] tweaked toml for git repo https://github.com/rodolfoul/default-audio-switcher-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rodolfoul/default-audio-switcher-rs 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 git repo https://github.com/rodolfoul/default-audio-switcher-rs 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 hound v3.5.1 [INFO] [stderr] Downloaded coreaudio-sys v0.2.15 [INFO] [stderr] Downloaded dasp_sample v0.11.0 [INFO] [stderr] Downloaded proc-macro-crate v3.1.0 [INFO] [stderr] Downloaded mach2 v0.4.2 [INFO] [stderr] Downloaded ogg v0.8.0 [INFO] [stderr] Downloaded coreaudio-rs v0.11.3 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded ndk v0.8.0 [INFO] [stderr] Downloaded toml_edit v0.21.1 [INFO] [stderr] Downloaded rodio v0.19.0 [INFO] [stderr] Downloaded oboe-sys v0.6.1 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] [stderr] Downloaded alsa v0.9.1 [INFO] [stderr] Downloaded bindgen v0.69.4 [INFO] [stderr] Downloaded indexmap v2.4.0 [INFO] [stderr] Downloaded syn v2.0.75 [INFO] [stderr] Downloaded lewton v0.10.2 [INFO] [stderr] Downloaded oboe v0.6.1 [INFO] [stderr] Downloaded windows-core v0.54.0 [INFO] [stderr] Downloaded cpal v0.15.3 [INFO] [stderr] Downloaded bytemuck v1.17.0 [INFO] [stderr] Downloaded windows v0.54.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2d3012dfdd56480148981510f7acb4d04cd0a8145f28473dc3ca4f1d9428098c [INFO] running `Command { std: "docker" "start" "-a" "2d3012dfdd56480148981510f7acb4d04cd0a8145f28473dc3ca4f1d9428098c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d3012dfdd56480148981510f7acb4d04cd0a8145f28473dc3ca4f1d9428098c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3012dfdd56480148981510f7acb4d04cd0a8145f28473dc3ca4f1d9428098c", kill_on_drop: false }` [INFO] [stdout] 2d3012dfdd56480148981510f7acb4d04cd0a8145f28473dc3ca4f1d9428098c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 290421dae9567d4ff2d67eef262a3b89117c0662aea251f8df87d19df122554f [INFO] running `Command { std: "docker" "start" "-a" "290421dae9567d4ff2d67eef262a3b89117c0662aea251f8df87d19df122554f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytemuck v1.17.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling rodio v0.19.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling default-audio-switcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/audio_controller.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::core::imp::CoTaskMemFree; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/audio_controller.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Devices::FunctionDiscovery::PKEY_Device_FriendlyName; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/audio_controller.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Media::Audio::{eCommunications, eConsole, eMultimedia, eRender, IMMDevice, IMMDeviceEnumerator, MMDeviceEnumerat... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/audio_controller.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Com::{CoCreateInstance, CLSCTX_ALL, STGM_READ}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/audio_controller.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::core::{Interface, Result, GUID, HSTRING, PCWSTR, PWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/audio_ses_definitions.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Media::Audio::ERole; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/com_guard.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::System::Com::{CoInitializeEx, CoUninitialize, COINIT_APARTMENTTHREADED}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/audio_ses_definitions.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::{IUnknown, Interface, GUID, HRESULT, PCWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/com_guard.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::Result; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/audio_ses_definitions.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub base__: windows::core::IUnknown_Vtbl, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/application_errors.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | WinError(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/application_errors.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl From for ApplicationError { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/application_errors.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn from(e: windows::core::Error) -> Self { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [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 `default-audio-switcher` (bin "default-audio-switcher") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "290421dae9567d4ff2d67eef262a3b89117c0662aea251f8df87d19df122554f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290421dae9567d4ff2d67eef262a3b89117c0662aea251f8df87d19df122554f", kill_on_drop: false }` [INFO] [stdout] 290421dae9567d4ff2d67eef262a3b89117c0662aea251f8df87d19df122554f