[INFO] fetching crate win-stdio-handle-dbg 0.1.0... [INFO] testing win-stdio-handle-dbg-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate win-stdio-handle-dbg 0.1.0 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate win-stdio-handle-dbg 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 789c21dcb23eef30404458555b71f2851a14e64fd18cf24210384b4c63db9ab4 [INFO] running `Command { std: "docker" "start" "-a" "789c21dcb23eef30404458555b71f2851a14e64fd18cf24210384b4c63db9ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "789c21dcb23eef30404458555b71f2851a14e64fd18cf24210384b4c63db9ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "789c21dcb23eef30404458555b71f2851a14e64fd18cf24210384b4c63db9ab4", kill_on_drop: false }` [INFO] [stdout] 789c21dcb23eef30404458555b71f2851a14e64fd18cf24210384b4c63db9ab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06965d57dd67d6435c41092f1945028e4549b16a6ac144c7b10f3054ec9a2a51 [INFO] running `Command { std: "docker" "start" "-a" "06965d57dd67d6435c41092f1945028e4549b16a6ac144c7b10f3054ec9a2a51", 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/rustc5Kayuq/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/rustc5Kayuq/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.5677a8d9f8edfe36-cgu.0.rcgu.o:(windows::Windows::Win32::System::Console::GetStdHandle::h25e161ad31b9b2a5) [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.5677a8d9f8edfe36-cgu.0.rcgu.o:(windows::Windows::Win32::System::Console::GetConsoleMode::ha32bda928c586b21) [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.5677a8d9f8edfe36-cgu.0.rcgu.o:(windows::Windows::Win32::Storage::FileSystem::GetFileType::h0e00ca9e6ca8469d) [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.2e7d35db5d5b271f-cgu.3.rcgu.o:(_$LT$windows..core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h41d4c871a2e4dbe5) 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.2e7d35db5d5b271f-cgu.3.rcgu.o:(windows::core::strings::bstr::BSTR::len::hf2d16520a810a45e) 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.2e7d35db5d5b271f-cgu.4.rcgu.o:(windows::core::heap::heap_alloc::hd4826aeefcf54030) 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.2e7d35db5d5b271f-cgu.4.rcgu.o:(windows::core::heap::heap_free::h6925ea055c22517b) 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.2e7d35db5d5b271f-cgu.4.rcgu.o:(windows::core::heap::heap_alloc::hd4826aeefcf54030) 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.2e7d35db5d5b271f-cgu.4.rcgu.o:(windows::core::heap::heap_free::h6925ea055c22517b) 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.2e7d35db5d5b271f-cgu.7.rcgu.o:(windows::core::delay_load::delay_load::hf8c5be28c210b16b) 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.2e7d35db5d5b271f-cgu.7.rcgu.o:(windows::core::delay_load::delay_load::hf8c5be28c210b16b) 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.2e7d35db5d5b271f-cgu.7.rcgu.o:(windows::core::delay_load::delay_load::hf8c5be28c210b16b) 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.2e7d35db5d5b271f-cgu.7.rcgu.o:(windows::core::error::GetErrorInfo::h96fcd5a4f5760475) 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.2e7d35db5d5b271f-cgu.7.rcgu.o:(windows::core::error::Error::from_win32::hc1a2f183b41432fd) 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.2e7d35db5d5b271f-cgu.7.rcgu.o:(windows::core::hresult::HRESULT::message::h06e6b849894c28d6) 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" "06965d57dd67d6435c41092f1945028e4549b16a6ac144c7b10f3054ec9a2a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06965d57dd67d6435c41092f1945028e4549b16a6ac144c7b10f3054ec9a2a51", kill_on_drop: false }` [INFO] [stdout] 06965d57dd67d6435c41092f1945028e4549b16a6ac144c7b10f3054ec9a2a51