[INFO] fetching crate win-stdio-handle-dbg 0.1.0... [INFO] testing win-stdio-handle-dbg-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate win-stdio-handle-dbg 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate win-stdio-handle-dbg 0.1.0 [INFO] finished tweaking crates.io crate win-stdio-handle-dbg 0.1.0 [INFO] tweaked toml for crates.io crate win-stdio-handle-dbg 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate win-stdio-handle-dbg 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate win-stdio-handle-dbg 0.1.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows v0.43.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b940d15cf337731308f27af34be21996df7773357812f21e963a70165138f73 [INFO] running `Command { std: "docker" "start" "-a" "5b940d15cf337731308f27af34be21996df7773357812f21e963a70165138f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b940d15cf337731308f27af34be21996df7773357812f21e963a70165138f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b940d15cf337731308f27af34be21996df7773357812f21e963a70165138f73", kill_on_drop: false }` [INFO] [stdout] 5b940d15cf337731308f27af34be21996df7773357812f21e963a70165138f73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3ac7fb052136273176005601b734f01cfa3b5191564b3e59f89f751b75e598a [INFO] running `Command { std: "docker" "start" "-a" "b3ac7fb052136273176005601b734f01cfa3b5191564b3e59f89f751b75e598a", kill_on_drop: false }` [INFO] [stderr] Compiling windows v0.43.0 [INFO] [stderr] Compiling win-stdio-handle-dbg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustch2BJxj/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustch2BJxj/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_stdio_handle_dbg-93b1a7d2eae1ee10" "-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: GetStdHandle [INFO] [stdout] >>> referenced by mod.rs:584 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/System/Console/mod.rs:584) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/win_stdio_handle_dbg-93b1a7d2eae1ee10.win_stdio_handle_dbg.1ed29b286b7a3962-cgu.0.rcgu.o:(windows::Windows::Win32::System::Console::GetStdHandle::h798eaf8eb6b0d4e7) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetConsoleMode [INFO] [stdout] >>> referenced by mod.rs:410 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/System/Console/mod.rs:410) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/win_stdio_handle_dbg-93b1a7d2eae1ee10.win_stdio_handle_dbg.1ed29b286b7a3962-cgu.0.rcgu.o:(windows::Windows::Win32::System::Console::GetConsoleMode::h895ddf2e3570e8be) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetFileType [INFO] [stdout] >>> referenced by mod.rs:2053 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/Storage/FileSystem/mod.rs:2053) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/win_stdio_handle_dbg-93b1a7d2eae1ee10.win_stdio_handle_dbg.1ed29b286b7a3962-cgu.0.rcgu.o:(windows::Windows::Win32::Storage::FileSystem::GetFileType::h34f3963797b846a0) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysFreeString [INFO] [stdout] >>> referenced by bstr.rs:127 (src/core/strings/bstr.rs:127) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.4.rcgu.o:(_$LT$windows..core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h3d17f16cc187f84a) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.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-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.4.rcgu.o:(windows::core::hresult::HRESULT::message::h01e6099364317856) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysStringLen [INFO] [stdout] >>> referenced by bstr.rs:20 (src/core/strings/bstr.rs:20) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.4.rcgu.o:(windows::core::strings::bstr::BSTR::len::hb240ca9c64d1394e) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcessHeap [INFO] [stdout] >>> referenced by heap.rs:11 (src/core/heap.rs:11) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.5.rcgu.o:(windows::core::heap::heap_alloc::h80123086bd74bdb6) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] >>> referenced by heap.rs:35 (src/core/heap.rs:35) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.5.rcgu.o:(windows::core::heap::heap_free::h1f771b2d386243cf) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: HeapAlloc [INFO] [stdout] >>> referenced by heap.rs:11 (src/core/heap.rs:11) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.5.rcgu.o:(windows::core::heap::heap_alloc::h80123086bd74bdb6) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: HeapFree [INFO] [stdout] >>> referenced by heap.rs:35 (src/core/heap.rs:35) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.5.rcgu.o:(windows::core::heap::heap_free::h1f771b2d386243cf) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: LoadLibraryA [INFO] [stdout] >>> referenced by delay_load.rs:12 (src/core/delay_load.rs:12) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.7.rcgu.o:(windows::core::delay_load::delay_load::hcfc3d9f185188bb2) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcAddress [INFO] [stdout] >>> referenced by delay_load.rs:18 (src/core/delay_load.rs:18) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.7.rcgu.o:(windows::core::delay_load::delay_load::hcfc3d9f185188bb2) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: FreeLibrary [INFO] [stdout] >>> referenced by delay_load.rs:25 (src/core/delay_load.rs:25) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.7.rcgu.o:(windows::core::delay_load::delay_load::hcfc3d9f185188bb2) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetErrorInfo [INFO] [stdout] >>> referenced by error.rs:156 (src/core/error.rs:156) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.7.rcgu.o:(windows::core::error::GetErrorInfo::hc94a60042992c38a) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetLastError [INFO] [stdout] >>> referenced by error.rs:29 (src/core/error.rs:29) [INFO] [stdout] >>> windows-f900b34ae834e0b7.windows.8a074fa537f34daa-cgu.7.rcgu.o:(windows::core::error::Error::from_win32::h7c4d6966aefa3104) in archive /opt/rustwide/target/debug/deps/libwindows-f900b34ae834e0b7.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win-stdio-handle-dbg` (bin "win-stdio-handle-dbg") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b3ac7fb052136273176005601b734f01cfa3b5191564b3e59f89f751b75e598a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ac7fb052136273176005601b734f01cfa3b5191564b3e59f89f751b75e598a", kill_on_drop: false }` [INFO] [stdout] b3ac7fb052136273176005601b734f01cfa3b5191564b3e59f89f751b75e598a