[INFO] cloning repository https://github.com/crescentrose/audio_switcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crescentrose/audio_switcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrescentrose%2Faudio_switcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrescentrose%2Faudio_switcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e64e4c3044e9635bc958b917690832e870300903 [INFO] building crescentrose/audio_switcher against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrescentrose%2Faudio_switcher" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crescentrose/audio_switcher [INFO] finished tweaking git repo https://github.com/crescentrose/audio_switcher [INFO] tweaked toml for git repo https://github.com/crescentrose/audio_switcher written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crescentrose/audio_switcher on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crescentrose/audio_switcher 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c03736985b0e5fb05dbce323675dcd0f199cd5d71cf6901dfc74ead62fde4527 [INFO] running `Command { std: "docker" "start" "-a" "c03736985b0e5fb05dbce323675dcd0f199cd5d71cf6901dfc74ead62fde4527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c03736985b0e5fb05dbce323675dcd0f199cd5d71cf6901dfc74ead62fde4527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c03736985b0e5fb05dbce323675dcd0f199cd5d71cf6901dfc74ead62fde4527", kill_on_drop: false }` [INFO] [stdout] c03736985b0e5fb05dbce323675dcd0f199cd5d71cf6901dfc74ead62fde4527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] ba90fbf14dc1ab04e637e7e7ab1a864fe7fdfe6bb47a1db3d4885249baca7287 [INFO] running `Command { std: "docker" "start" "-a" "ba90fbf14dc1ab04e637e7e7ab1a864fe7fdfe6bb47a1db3d4885249baca7287", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling windows-targets v0.42.2 [INFO] [stderr] Compiling windows v0.46.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling audio_switcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bluetooth/device.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | mem::{self, size_of}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BluetoothSetServiceState` [INFO] [stdout] --> src/bluetooth/device.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | BluetoothFindFirstDevice, BluetoothFindNextDevice, BluetoothSetServiceState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_guid` [INFO] [stdout] --> src/bluetooth/device.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn set_service_state(&self, service_guid: &str, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_guid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/bluetooth/device.rs:79:57 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn set_service_state(&self, service_guid: &str, mode: Mode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bluetooth/device.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | mem::{self, size_of}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BluetoothSetServiceState` [INFO] [stdout] --> src/bluetooth/device.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | BluetoothFindFirstDevice, BluetoothFindNextDevice, BluetoothSetServiceState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_guid` [INFO] [stdout] --> src/bluetooth/device.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn set_service_state(&self, service_guid: &str, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_guid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/bluetooth/device.rs:79:57 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn set_service_state(&self, service_guid: &str, mode: Mode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libchrono-e83ae7ecbcd55b84,libnum_integer-bae06283a7608e0a,libnum_traits-7a22b99a5449717d,libtime-64044978c97498f9,libwasi-e8918ae1b8252f97,libwindows-be5f72c140d495f9}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: CloseHandle [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: BluetoothGetRadioInfo [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: BluetoothEnumerateInstalledServices [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: BluetoothFindFirstRadio [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: BluetoothFindRadioClose [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: BluetoothFindFirstDevice [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: BluetoothFindNextDevice [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/audio_switcher-190593525c0916fb.audio_switcher.841fdbeca40a3e3d-cgu.0.rcgu.o: undefined symbol: BluetoothFindDeviceClose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `audio_switcher` (bin "audio_switcher") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba90fbf14dc1ab04e637e7e7ab1a864fe7fdfe6bb47a1db3d4885249baca7287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba90fbf14dc1ab04e637e7e7ab1a864fe7fdfe6bb47a1db3d4885249baca7287", kill_on_drop: false }` [INFO] [stdout] ba90fbf14dc1ab04e637e7e7ab1a864fe7fdfe6bb47a1db3d4885249baca7287