[INFO] cloning repository https://github.com/ffkjjj/windows_switcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ffkjjj/windows_switcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffkjjj%2Fwindows_switcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffkjjj%2Fwindows_switcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b6d44f93da45c390d838f400c4c30b9d320d094 [INFO] building ffkjjj/windows_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%2Fffkjjj%2Fwindows_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/ffkjjj/windows_switcher [INFO] finished tweaking git repo https://github.com/ffkjjj/windows_switcher [INFO] tweaked toml for git repo https://github.com/ffkjjj/windows_switcher written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ffkjjj/windows_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/ffkjjj/windows_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] 839c3c98c90cc7e6351486a57af2f0da418c443298d707fc949fbb6244613629 [INFO] running `Command { std: "docker" "start" "-a" "839c3c98c90cc7e6351486a57af2f0da418c443298d707fc949fbb6244613629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839c3c98c90cc7e6351486a57af2f0da418c443298d707fc949fbb6244613629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839c3c98c90cc7e6351486a57af2f0da418c443298d707fc949fbb6244613629", kill_on_drop: false }` [INFO] [stdout] 839c3c98c90cc7e6351486a57af2f0da418c443298d707fc949fbb6244613629 [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] 0e4e92f68d4069b1ac066f22149121a39e4363f80d884c0a550a393aaaf47049 [INFO] running `Command { std: "docker" "start" "-a" "0e4e92f68d4069b1ac066f22149121a39e4363f80d884c0a550a393aaaf47049", kill_on_drop: false }` [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.1.2 [INFO] [stderr] Compiling windows-core v0.54.0 [INFO] [stderr] Compiling windows v0.54.0 [INFO] [stderr] Compiling window_switcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | UnregisterHotKey(HWND(0), HOTKEY_LEFT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = UnregisterHotKey(HWND(0), HOTKEY_LEFT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | UnregisterHotKey(HWND(0), HOTKEY_RIGHT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = UnregisterHotKey(HWND(0), HOTKEY_RIGHT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / EnumWindows( [INFO] [stdout] 64 | | Some(enum_windows_proc), [INFO] [stdout] 65 | | LPARAM(&mut windows as *mut _ as isize), [INFO] [stdout] 66 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = EnumWindows( [INFO] [stdout] | +++++++ [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" "<3 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libwindows-7b960d370b38084b,libwindows_core-9282453d39554ec6,libwindows_result-17a95eae8b177231,libwindows_targets-8b88292d3f35a37d}.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/window_switcher-f5824dad7f4d4efd.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/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: EnumWindows [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetMessageW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetClassNameW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetWindowRect [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetWindowLongW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetWindowTextW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: IsWindowVisible [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: SetForegroundWindow [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetWindowThreadProcessId [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: IsIconic [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetWindow [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: Process32NextW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: Process32FirstW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: DispatchMessageW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: TranslateMessage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: GetForegroundWindow [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.0.rcgu.o: undefined symbol: CreateToolhelp32Snapshot [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.1.rcgu.o: undefined symbol: RegisterHotKey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/window_switcher-f5824dad7f4d4efd.window_switcher.8dad0d54da5ba365-cgu.1.rcgu.o: undefined symbol: UnregisterHotKey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-17a95eae8b177231.rlib(windows_result-17a95eae8b177231.windows_result.4a496a5730def65f-cgu.0.rcgu.o): undefined symbol: GetLastError [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `window_switcher` (bin "window_switcher") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e4e92f68d4069b1ac066f22149121a39e4363f80d884c0a550a393aaaf47049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e4e92f68d4069b1ac066f22149121a39e4363f80d884c0a550a393aaaf47049", kill_on_drop: false }` [INFO] [stdout] 0e4e92f68d4069b1ac066f22149121a39e4363f80d884c0a550a393aaaf47049