[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] checking rodolfoul/default-audio-switcher-rs/8474e9dda48cca5e098bd5884af44c5deafee2d5 against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodolfoul%2Fdefault-audio-switcher-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rodolfoul/default-audio-switcher-rs on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.17.0 [INFO] [stderr] Downloaded syn v2.0.75 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 365fe67af637d83ee7257b61ac84a498a4d5f58a2f56e7232eeda7fc430b1b05 [INFO] running `Command { std: "docker" "start" "-a" "365fe67af637d83ee7257b61ac84a498a4d5f58a2f56e7232eeda7fc430b1b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "365fe67af637d83ee7257b61ac84a498a4d5f58a2f56e7232eeda7fc430b1b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "365fe67af637d83ee7257b61ac84a498a4d5f58a2f56e7232eeda7fc430b1b05", kill_on_drop: false }` [INFO] [stdout] 365fe67af637d83ee7257b61ac84a498a4d5f58a2f56e7232eeda7fc430b1b05 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e395448a09e94a54b77af189add17435d0701b1e2847e2e61f524cab27b99f [INFO] running `Command { std: "docker" "start" "-a" "44e395448a09e94a54b77af189add17435d0701b1e2847e2e61f524cab27b99f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking 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] Checking windows-core v0.58.0 [INFO] [stderr] Checking rodio v0.19.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking 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 `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, MMDeviceEnumerator, D... [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, MMDeviceEnumerator, D... [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_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[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[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/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[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[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 `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/application_errors.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | use windows::core::HRESULT; [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/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: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: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] 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] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/application_errors.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let win_err = windows::core::Error::from(hresult); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 44 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 44 + use crate::application_errors::Error; [INFO] [stdout] | [INFO] [stdout] 44 + use crate::application_errors::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 44 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - let win_err = windows::core::Error::from(hresult); [INFO] [stdout] 58 + let win_err = Error::from(hresult); [INFO] [stdout] | [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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `default-audio-switcher` (bin "default-audio-switcher" test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "44e395448a09e94a54b77af189add17435d0701b1e2847e2e61f524cab27b99f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e395448a09e94a54b77af189add17435d0701b1e2847e2e61f524cab27b99f", kill_on_drop: false }` [INFO] [stdout] 44e395448a09e94a54b77af189add17435d0701b1e2847e2e61f524cab27b99f