[INFO] fetching crate win_subst 0.0.3... [INFO] testing win_subst-0.0.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate win_subst 0.0.3 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate win_subst 0.0.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding windows v0.48.0 (available: v0.62.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1edd9bd1cc5030991233bdfb489a7ec71d13e4be4c476ed454136881005ea8b [INFO] running `Command { std: "docker" "start" "-a" "a1edd9bd1cc5030991233bdfb489a7ec71d13e4be4c476ed454136881005ea8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1edd9bd1cc5030991233bdfb489a7ec71d13e4be4c476ed454136881005ea8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1edd9bd1cc5030991233bdfb489a7ec71d13e4be4c476ed454136881005ea8b", kill_on_drop: false }` [INFO] [stdout] a1edd9bd1cc5030991233bdfb489a7ec71d13e4be4c476ed454136881005ea8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 097a4b3abf3dbfb3fb8cb78e489fc142b0bd478bcb95fce6061002ad37394210 [INFO] running `Command { std: "docker" "start" "-a" "097a4b3abf3dbfb3fb8cb78e489fc142b0bd478bcb95fce6061002ad37394210", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [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.10s [INFO] running `Command { std: "docker" "inspect" "097a4b3abf3dbfb3fb8cb78e489fc142b0bd478bcb95fce6061002ad37394210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097a4b3abf3dbfb3fb8cb78e489fc142b0bd478bcb95fce6061002ad37394210", kill_on_drop: false }` [INFO] [stdout] 097a4b3abf3dbfb3fb8cb78e489fc142b0bd478bcb95fce6061002ad37394210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2a3ed1dc4229eb68763a336e9d16e7816d336c7d65a50926865f20ce4d6620e [INFO] running `Command { std: "docker" "start" "-a" "c2a3ed1dc4229eb68763a336e9d16e7816d336c7d65a50926865f20ce4d6620e", 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] [stderr] error: could not compile `win_subst` (lib test) due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc6OnUSi/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libwindows-c40d0885f55de1e5,libwindows_targets-5362dbc33763d67f}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc6OnUSi/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/win_subst-93c45e55045c63aa" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: DefineDosDeviceW [INFO] [stdout] >>> referenced by mod.rs:703 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.48.0/src/Windows/Win32/Storage/FileSystem/mod.rs:703) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/win_subst-93c45e55045c63aa.win_subst.9b8e9664fe13390e-cgu.0.rcgu.o:(windows::Windows::Win32::Storage::FileSystem::DefineDosDeviceW::h22972acbb7a8e7f2) [INFO] [stdout] >>> referenced by mod.rs:703 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.48.0/src/Windows/Win32/Storage/FileSystem/mod.rs:703) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/win_subst-93c45e55045c63aa.win_subst.9b8e9664fe13390e-cgu.0.rcgu.o:(windows::Windows::Win32::Storage::FileSystem::DefineDosDeviceW::h19d9d4118e3709f3) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysStringLen [INFO] [stdout] >>> referenced by bstr.rs:27 (src/core/strings/bstr.rs:27) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.4.rcgu.o:(windows::core::strings::bstr::BSTR::len::h5e5785af7ea1d9f6) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysFreeString [INFO] [stdout] >>> referenced by bstr.rs:154 (src/core/strings/bstr.rs:154) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.4.rcgu.o:(_$LT$windows..core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h1606a30be5b6718d) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetErrorInfo [INFO] [stdout] >>> referenced by error.rs:154 (src/core/error.rs:154) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.4.rcgu.o:(windows::core::error::GetErrorInfo::h40ef33c51aefab00) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: LoadLibraryA [INFO] [stdout] >>> referenced by delay_load.rs:11 (src/imp/delay_load.rs:11) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.3.rcgu.o:(windows::imp::delay_load::delay_load::hd829804f23968058) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcAddress [INFO] [stdout] >>> referenced by delay_load.rs:17 (src/imp/delay_load.rs:17) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.3.rcgu.o:(windows::imp::delay_load::delay_load::hd829804f23968058) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: FreeLibrary [INFO] [stdout] >>> referenced by delay_load.rs:23 (src/imp/delay_load.rs:23) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.3.rcgu.o:(windows::imp::delay_load::delay_load::hd829804f23968058) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcessHeap [INFO] [stdout] >>> referenced by heap.rs:34 (src/imp/heap.rs:34) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.3.rcgu.o:(windows::imp::heap::heap_free::hbf6160b1337cc8d6) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] >>> referenced by heap.rs:10 (src/imp/heap.rs:10) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.3.rcgu.o:(windows::imp::heap::heap_alloc::hc0af8dae34a274d0) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: HeapFree [INFO] [stdout] >>> referenced by heap.rs:34 (src/imp/heap.rs:34) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.3.rcgu.o:(windows::imp::heap::heap_free::hbf6160b1337cc8d6) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: HeapAlloc [INFO] [stdout] >>> referenced by heap.rs:10 (src/imp/heap.rs:10) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.3.rcgu.o:(windows::imp::heap::heap_alloc::hc0af8dae34a274d0) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: FormatMessageW [INFO] [stdout] >>> referenced by hresult.rs:89 (src/core/hresult.rs:89) [INFO] [stdout] >>> windows-c40d0885f55de1e5.windows.a333ee158b20166a-cgu.7.rcgu.o:(windows::core::hresult::HRESULT::message::h58d551fc6e63eea8) in archive /opt/rustwide/target/debug/deps/libwindows-c40d0885f55de1e5.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c2a3ed1dc4229eb68763a336e9d16e7816d336c7d65a50926865f20ce4d6620e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a3ed1dc4229eb68763a336e9d16e7816d336c7d65a50926865f20ce4d6620e", kill_on_drop: false }` [INFO] [stdout] c2a3ed1dc4229eb68763a336e9d16e7816d336c7d65a50926865f20ce4d6620e