[INFO] fetching crate win_subst 0.0.3... [INFO] building win_subst-0.0.3 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate win_subst 0.0.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate win_subst 0.0.3 [INFO] finished tweaking crates.io crate win_subst 0.0.3 [INFO] tweaked toml for crates.io crate win_subst 0.0.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate win_subst 0.0.3 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding windows v0.48.0 (available: v0.62.2) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4caf8f43805ce8381c07f92f3be5f7a86a79b886f9e3e59e18c037b428c76f95 [INFO] running `Command { std: "docker" "start" "-a" "4caf8f43805ce8381c07f92f3be5f7a86a79b886f9e3e59e18c037b428c76f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4caf8f43805ce8381c07f92f3be5f7a86a79b886f9e3e59e18c037b428c76f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4caf8f43805ce8381c07f92f3be5f7a86a79b886f9e3e59e18c037b428c76f95", kill_on_drop: false }` [INFO] [stdout] 4caf8f43805ce8381c07f92f3be5f7a86a79b886f9e3e59e18c037b428c76f95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1f4f164f4d29709b24874a51f67925b7684f4d68c0cbf0e20a787599d16575d2 [INFO] running `Command { std: "docker" "start" "-a" "1f4f164f4d29709b24874a51f67925b7684f4d68c0cbf0e20a787599d16575d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling windows-targets v0.48.5 [INFO] [stderr] Compiling windows v0.48.0 [INFO] [stderr] Compiling win_subst v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "1f4f164f4d29709b24874a51f67925b7684f4d68c0cbf0e20a787599d16575d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f4f164f4d29709b24874a51f67925b7684f4d68c0cbf0e20a787599d16575d2", kill_on_drop: false }` [INFO] [stdout] 1f4f164f4d29709b24874a51f67925b7684f4d68c0cbf0e20a787599d16575d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 1ceddd86561a64f140578231d2fd1139a9a31311d2c4d14a562cf7fe21e66eeb [INFO] running `Command { std: "docker" "start" "-a" "1ceddd86561a64f140578231d2fd1139a9a31311d2c4d14a562cf7fe21e66eeb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling win_subst v0.0.3 (/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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libwindows-7990d76d3096384b,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_subst-2056589e1bd839c5.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_subst-2056589e1bd839c5.win_subst.6751c1a04b2be193-cgu.0.rcgu.o: undefined symbol: DefineDosDeviceW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/win_subst-2056589e1bd839c5.win_subst.6751c1a04b2be193-cgu.0.rcgu.o: undefined symbol: DefineDosDeviceW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.5.rcgu.o): undefined symbol: GetErrorInfo [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.5.rcgu.o): undefined symbol: FormatMessageW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.6.rcgu.o): undefined symbol: LoadLibraryA [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.6.rcgu.o): undefined symbol: GetProcAddress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.6.rcgu.o): undefined symbol: FreeLibrary [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.6.rcgu.o): undefined symbol: SysStringLen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.6.rcgu.o): undefined symbol: SysFreeString [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.7.rcgu.o): undefined symbol: GetProcessHeap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.7.rcgu.o): undefined symbol: HeapAlloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.7.rcgu.o): undefined symbol: GetProcessHeap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows-7990d76d3096384b.rlib(windows-7990d76d3096384b.windows.86d157c07cafd956-cgu.7.rcgu.o): undefined symbol: HeapFree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win_subst` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1ceddd86561a64f140578231d2fd1139a9a31311d2c4d14a562cf7fe21e66eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ceddd86561a64f140578231d2fd1139a9a31311d2c4d14a562cf7fe21e66eeb", kill_on_drop: false }` [INFO] [stdout] 1ceddd86561a64f140578231d2fd1139a9a31311d2c4d14a562cf7fe21e66eeb