[INFO] fetching crate win_ocr 0.1.3... [INFO] testing win_ocr-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate win_ocr 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate win_ocr 0.1.3 [INFO] finished tweaking crates.io crate win_ocr 0.1.3 [INFO] tweaked toml for crates.io crate win_ocr 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate win_ocr 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding windows v0.51.1 (available: v0.61.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d51c5bd75e851476e7aa1bc700aa10d7da2e185813d509b1347385e1d9c4a8d [INFO] running `Command { std: "docker" "start" "-a" "5d51c5bd75e851476e7aa1bc700aa10d7da2e185813d509b1347385e1d9c4a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d51c5bd75e851476e7aa1bc700aa10d7da2e185813d509b1347385e1d9c4a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d51c5bd75e851476e7aa1bc700aa10d7da2e185813d509b1347385e1d9c4a8d", kill_on_drop: false }` [INFO] [stdout] 5d51c5bd75e851476e7aa1bc700aa10d7da2e185813d509b1347385e1d9c4a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 513aab1cb5482e4bfcfd0ed2e43ccb3fd5437b91b3aca0733cb243eb9b7d4bce [INFO] running `Command { std: "docker" "start" "-a" "513aab1cb5482e4bfcfd0ed2e43ccb3fd5437b91b3aca0733cb243eb9b7d4bce", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling windows-targets v0.48.5 [INFO] [stderr] Compiling windows-core v0.51.1 [INFO] [stderr] Compiling windows v0.51.1 [INFO] [stderr] Compiling win_ocr v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.99s [INFO] running `Command { std: "docker" "inspect" "513aab1cb5482e4bfcfd0ed2e43ccb3fd5437b91b3aca0733cb243eb9b7d4bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "513aab1cb5482e4bfcfd0ed2e43ccb3fd5437b91b3aca0733cb243eb9b7d4bce", kill_on_drop: false }` [INFO] [stdout] 513aab1cb5482e4bfcfd0ed2e43ccb3fd5437b91b3aca0733cb243eb9b7d4bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc40bcc77fafbcd99498d92546034f82755d2e5da89a432879f5262f63ba4afc [INFO] running `Command { std: "docker" "start" "-a" "dc40bcc77fafbcd99498d92546034f82755d2e5da89a432879f5262f63ba4afc", kill_on_drop: false }` [INFO] [stderr] Compiling win_ocr v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcSLEdv5/symbols.o" "<5 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-f305192eb4a0db29,libwindows_core-622649d643bdd9a0,libwindows_targets-5362dbc33763d67f}.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/rustcSLEdv5/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_ocr-cb4c7db0569f2462" "-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: GetErrorInfo [INFO] [stdout] >>> referenced by com_bindings.rs:23 (src/imp/com_bindings.rs:23) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.0.rcgu.o:(windows_core::imp::com_bindings::GetErrorInfo::h668b794734f7a435) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SetErrorInfo [INFO] [stdout] >>> referenced by com_bindings.rs:31 (src/imp/com_bindings.rs:31) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.0.rcgu.o:(windows_core::imp::com_bindings::SetErrorInfo::h8155d3d821d4593b) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcessHeap [INFO] [stdout] >>> referenced by heap.rs:10 (src/imp/heap.rs:10) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(windows_core::imp::heap::heap_alloc::h5232b79099117ff2) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced by heap.rs:34 (src/imp/heap.rs:34) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(windows_core::imp::heap::heap_free::h4fbfc64fdeb3b766) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.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_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(windows_core::imp::heap::heap_alloc::h5232b79099117ff2) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.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_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(windows_core::imp::heap::heap_free::h4fbfc64fdeb3b766) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SetEvent [INFO] [stdout] >>> referenced by waiter.rs:28 (src/imp/waiter.rs:28) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(windows_core::imp::waiter::WaiterSignaler::signal::hff754c394e605c1e) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateEventW [INFO] [stdout] >>> referenced by waiter.rs:10 (src/imp/waiter.rs:10) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(windows_core::imp::waiter::Waiter::new::h8c450d7be3b61c6f) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: FormatMessageW [INFO] [stdout] >>> referenced by hresult.rs:88 (src/hresult.rs:88) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(windows_core::hresult::HRESULT::message::h5ffc63e4095cb946) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: WaitForSingleObject [INFO] [stdout] >>> referenced by waiter.rs:35 (src/imp/waiter.rs:35) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(_$LT$windows_core..imp..waiter..Waiter$u20$as$u20$core..ops..drop..Drop$GT$::drop::h3e7a07abeafda9b8) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CloseHandle [INFO] [stdout] >>> referenced by waiter.rs:36 (src/imp/waiter.rs:36) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.6.rcgu.o:(_$LT$windows_core..imp..waiter..Waiter$u20$as$u20$core..ops..drop..Drop$GT$::drop::h3e7a07abeafda9b8) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetLastError [INFO] [stdout] >>> referenced by error.rs:27 (src/error.rs:27) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.7.rcgu.o:(windows_core::error::Error::from_win32::h395ffa26a7b53cfc) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: LoadLibraryExA [INFO] [stdout] >>> referenced by delay_load.rs:11 (src/imp/delay_load.rs:11) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h19a0ee877fc94fcd) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced by delay_load.rs:11 (src/imp/delay_load.rs:11) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h254c759b86f6070e) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced by delay_load.rs:11 (src/imp/delay_load.rs:11) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h4655d32d4c2a85c0) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced 1 more times [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_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h19a0ee877fc94fcd) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced by delay_load.rs:17 (src/imp/delay_load.rs:17) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h254c759b86f6070e) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced by delay_load.rs:17 (src/imp/delay_load.rs:17) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h4655d32d4c2a85c0) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced 1 more times [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_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h19a0ee877fc94fcd) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced by delay_load.rs:23 (src/imp/delay_load.rs:23) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h254c759b86f6070e) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced by delay_load.rs:23 (src/imp/delay_load.rs:23) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h4655d32d4c2a85c0) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysStringLen [INFO] [stdout] >>> referenced by bstr.rs:26 (src/strings/bstr.rs:26) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(windows_core::strings::bstr::BSTR::len::h32c90503b11cc7a2) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysFreeString [INFO] [stdout] >>> referenced by bstr.rs:153 (src/strings/bstr.rs:153) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.e172f543e35e8bfc-cgu.5.rcgu.o:(_$LT$windows_core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h26dc7d3e2b532dde) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win_ocr` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "dc40bcc77fafbcd99498d92546034f82755d2e5da89a432879f5262f63ba4afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc40bcc77fafbcd99498d92546034f82755d2e5da89a432879f5262f63ba4afc", kill_on_drop: false }` [INFO] [stdout] dc40bcc77fafbcd99498d92546034f82755d2e5da89a432879f5262f63ba4afc