[INFO] cloning repository https://github.com/debapamdas/sample-screen-capture [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/debapamdas/sample-screen-capture" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebapamdas%2Fsample-screen-capture", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebapamdas%2Fsample-screen-capture'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 138c1a4e0ee377f8c7f8456d8f5178cb70717069 [INFO] building debapamdas/sample-screen-capture against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebapamdas%2Fsample-screen-capture" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/debapamdas/sample-screen-capture [INFO] finished tweaking git repo https://github.com/debapamdas/sample-screen-capture [INFO] tweaked toml for git repo https://github.com/debapamdas/sample-screen-capture written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/debapamdas/sample-screen-capture 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/debapamdas/sample-screen-capture 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 93eee077b43801d6d47651ced93d5281b984a59a184f7f884ed852caa5a748f7 [INFO] running `Command { std: "docker" "start" "-a" "93eee077b43801d6d47651ced93d5281b984a59a184f7f884ed852caa5a748f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93eee077b43801d6d47651ced93d5281b984a59a184f7f884ed852caa5a748f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93eee077b43801d6d47651ced93d5281b984a59a184f7f884ed852caa5a748f7", kill_on_drop: false }` [INFO] [stdout] 93eee077b43801d6d47651ced93d5281b984a59a184f7f884ed852caa5a748f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 326a590b58bf2cffc9cfdf65d054c6e26331cca75f474dbbd49a2e53fd32e758 [INFO] running `Command { std: "docker" "start" "-a" "326a590b58bf2cffc9cfdf65d054c6e26331cca75f474dbbd49a2e53fd32e758", kill_on_drop: false }` [INFO] [stderr] Compiling windows v0.42.0 [INFO] [stderr] Compiling sample-screen-capture v0.1.0 (/opt/rustwide/workdir) [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" "<9 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.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/sample_screen_capture-2d3ff25de3495e49.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/sample_screen_capture-2d3ff25de3495e49.sample_screen_capture.32b2202cd791be5f-cgu.2.rcgu.o: undefined symbol: D3D11CreateDevice [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/sample_screen_capture-2d3ff25de3495e49.sample_screen_capture.32b2202cd791be5f-cgu.2.rcgu.o: undefined symbol: CreateDirect3D11DeviceFromDXGIDevice [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/sample_screen_capture-2d3ff25de3495e49.sample_screen_capture.32b2202cd791be5f-cgu.4.rcgu.o: undefined symbol: EnumDisplayMonitors [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: WaitForSingleObject [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: CloseHandle [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: SysFreeString [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: CreateEventW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: FormatMessageW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: SysStringLen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: SetEvent [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.07.rcgu.o): undefined symbol: SetErrorInfo [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.08.rcgu.o): undefined symbol: GetLastError [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.08.rcgu.o): undefined symbol: LoadLibraryA [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.08.rcgu.o): undefined symbol: GetProcAddress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.08.rcgu.o): undefined symbol: FreeLibrary [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.08.rcgu.o): undefined symbol: GetErrorInfo [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.15.rcgu.o): undefined symbol: GetProcessHeap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.15.rcgu.o): undefined symbol: HeapAlloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.15.rcgu.o): undefined symbol: GetProcessHeap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-b5731f580265da01.rlib(windows-b5731f580265da01.windows.eb9df720401d555d-cgu.15.rcgu.o): undefined symbol: HeapFree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sample-screen-capture` (bin "sample-screen-capture") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "326a590b58bf2cffc9cfdf65d054c6e26331cca75f474dbbd49a2e53fd32e758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326a590b58bf2cffc9cfdf65d054c6e26331cca75f474dbbd49a2e53fd32e758", kill_on_drop: false }` [INFO] [stdout] 326a590b58bf2cffc9cfdf65d054c6e26331cca75f474dbbd49a2e53fd32e758