[INFO] cloning repository https://github.com/Cinimajig/wingui-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cinimajig/wingui-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCinimajig%2Fwingui-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCinimajig%2Fwingui-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 029645e17d5d041b057e2c4157c7f0795956d58d [INFO] building Cinimajig/wingui-sample against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCinimajig%2Fwingui-sample" "/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/Cinimajig/wingui-sample [INFO] finished tweaking git repo https://github.com/Cinimajig/wingui-sample [INFO] tweaked toml for git repo https://github.com/Cinimajig/wingui-sample written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Cinimajig/wingui-sample 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/Cinimajig/wingui-sample 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] ef094bb36bdd8cbd89032b94d1678c57a1e6962ac02368397131d90a19e217cb [INFO] running `Command { std: "docker" "start" "-a" "ef094bb36bdd8cbd89032b94d1678c57a1e6962ac02368397131d90a19e217cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef094bb36bdd8cbd89032b94d1678c57a1e6962ac02368397131d90a19e217cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef094bb36bdd8cbd89032b94d1678c57a1e6962ac02368397131d90a19e217cb", kill_on_drop: false }` [INFO] [stdout] ef094bb36bdd8cbd89032b94d1678c57a1e6962ac02368397131d90a19e217cb [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] db151928249ef8fcc8a6ce8e372d101c35597fc3de018af30e0630f6ce5074fd [INFO] running `Command { std: "docker" "start" "-a" "db151928249ef8fcc8a6ce8e372d101c35597fc3de018af30e0630f6ce5074fd", kill_on_drop: false }` [INFO] [stderr] Compiling windows-targets v0.48.5 [INFO] [stderr] Compiling windows-core v0.51.1 [INFO] [stderr] Compiling windows v0.51.1 [INFO] [stderr] Compiling win_gui_template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wparam` [INFO] [stdout] --> src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wparam` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lparam` [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wparam` [INFO] [stdout] --> src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wparam` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lparam` [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lparam` [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/{libwindows-bc3d9b220c1ff8be,libwindows_core-77955204a53339ab,libwindows_targets-51d858082147995c}.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/win_gui_template-ebe052f9759a3e52.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/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: ShowWindow [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: GetMessageW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: LoadCursorW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: GetClientRect [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: DefWindowProcW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: GetWindowLongW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: SetWindowLongW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: CreateWindowExW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: LoadIconW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: SetProcessDpiAwarenessContext [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: GetModuleHandleW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: BeginPaint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: UpdateWindow [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: EndPaint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: DrawTextW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: TranslateMessage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: DispatchMessageW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: PostQuitMessage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_gui_template-ebe052f9759a3e52.win_gui_template.43ef1e05b071ac12-cgu.0.rcgu.o: undefined symbol: RegisterClassExW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_core-77955204a53339ab.rlib(windows_core-77955204a53339ab.windows_core.c57e7a4c238e9d01-cgu.0.rcgu.o): undefined symbol: GetErrorInfo [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win_gui_template` (bin "win_gui_template") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db151928249ef8fcc8a6ce8e372d101c35597fc3de018af30e0630f6ce5074fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db151928249ef8fcc8a6ce8e372d101c35597fc3de018af30e0630f6ce5074fd", kill_on_drop: false }` [INFO] [stdout] db151928249ef8fcc8a6ce8e372d101c35597fc3de018af30e0630f6ce5074fd