[INFO] fetching crate win-stdio-handle-dbg 0.1.0... [INFO] building win-stdio-handle-dbg-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate win-stdio-handle-dbg 0.1.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate win-stdio-handle-dbg 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 891b58443226482f34d13efe9cc92a15f0c228bc5c3c269ca5fb8666ce531df9 [INFO] running `Command { std: "docker" "start" "-a" "891b58443226482f34d13efe9cc92a15f0c228bc5c3c269ca5fb8666ce531df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "891b58443226482f34d13efe9cc92a15f0c228bc5c3c269ca5fb8666ce531df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891b58443226482f34d13efe9cc92a15f0c228bc5c3c269ca5fb8666ce531df9", kill_on_drop: false }` [INFO] [stdout] 891b58443226482f34d13efe9cc92a15f0c228bc5c3c269ca5fb8666ce531df9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8527f2eef7a977fd527a52a35f7515b5ef1d73231233904b3e9421af0b9cce8 [INFO] running `Command { std: "docker" "start" "-a" "b8527f2eef7a977fd527a52a35f7515b5ef1d73231233904b3e9421af0b9cce8", 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/rustcfcwQrY/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/rustcfcwQrY/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.ecae8a68235599e1-cgu.0.rcgu.o:(windows::Windows::Win32::System::Console::GetStdHandle::h2295970f67867fcd) [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.ecae8a68235599e1-cgu.0.rcgu.o:(windows::Windows::Win32::System::Console::GetConsoleMode::he307285ac1b17c1e) [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.ecae8a68235599e1-cgu.0.rcgu.o:(windows::Windows::Win32::Storage::FileSystem::GetFileType::h36ac40696477bf0c) [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.691c834a01d173d2-cgu.6.rcgu.o:(_$LT$windows..core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h3d62c95ce723c517) 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.691c834a01d173d2-cgu.6.rcgu.o:(windows::core::delay_load::delay_load::h5e199bc8718de5dc) 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.691c834a01d173d2-cgu.6.rcgu.o:(windows::core::delay_load::delay_load::h5e199bc8718de5dc) 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.691c834a01d173d2-cgu.6.rcgu.o:(windows::core::delay_load::delay_load::h5e199bc8718de5dc) 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.691c834a01d173d2-cgu.6.rcgu.o:(windows::core::strings::bstr::BSTR::len::hfb6c64d791c8e9aa) 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.691c834a01d173d2-cgu.5.rcgu.o:(windows::core::heap::heap_alloc::he7906e0c87616958) 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.691c834a01d173d2-cgu.5.rcgu.o:(windows::core::heap::heap_free::hc49e27b16e81becf) 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.691c834a01d173d2-cgu.5.rcgu.o:(windows::core::heap::heap_alloc::he7906e0c87616958) 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.691c834a01d173d2-cgu.5.rcgu.o:(windows::core::heap::heap_free::hc49e27b16e81becf) 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.691c834a01d173d2-cgu.5.rcgu.o:(windows::core::hresult::HRESULT::message::h49561da4dfb74f69) 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.691c834a01d173d2-cgu.7.rcgu.o:(windows::core::error::GetErrorInfo::h75767394376fdce6) 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.691c834a01d173d2-cgu.7.rcgu.o:(windows::core::error::Error::from_win32::h25b93daa52fa5e46) 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" "b8527f2eef7a977fd527a52a35f7515b5ef1d73231233904b3e9421af0b9cce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8527f2eef7a977fd527a52a35f7515b5ef1d73231233904b3e9421af0b9cce8", kill_on_drop: false }` [INFO] [stdout] b8527f2eef7a977fd527a52a35f7515b5ef1d73231233904b3e9421af0b9cce8