[INFO] fetching crate win_ocr 0.1.3... [INFO] testing win_ocr-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate win_ocr 0.1.3 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate win_ocr 0.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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.62.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69184bd42a85e83d776ac13b8f681f8a8ecf5fae6b065f9065a87cd8f891ca70 [INFO] running `Command { std: "docker" "start" "-a" "69184bd42a85e83d776ac13b8f681f8a8ecf5fae6b065f9065a87cd8f891ca70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69184bd42a85e83d776ac13b8f681f8a8ecf5fae6b065f9065a87cd8f891ca70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69184bd42a85e83d776ac13b8f681f8a8ecf5fae6b065f9065a87cd8f891ca70", kill_on_drop: false }` [INFO] [stdout] 69184bd42a85e83d776ac13b8f681f8a8ecf5fae6b065f9065a87cd8f891ca70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25b8012d7df1910b830b1766f6abfae9d3758cd85c45ff19c517c90e72aabb72 [INFO] running `Command { std: "docker" "start" "-a" "25b8012d7df1910b830b1766f6abfae9d3758cd85c45ff19c517c90e72aabb72", 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.04s [INFO] running `Command { std: "docker" "inspect" "25b8012d7df1910b830b1766f6abfae9d3758cd85c45ff19c517c90e72aabb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b8012d7df1910b830b1766f6abfae9d3758cd85c45ff19c517c90e72aabb72", kill_on_drop: false }` [INFO] [stdout] 25b8012d7df1910b830b1766f6abfae9d3758cd85c45ff19c517c90e72aabb72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33a050ae2f7579acadb72074f57e2578ea0cf9f2b380de890e541e8e81aadcb5 [INFO] running `Command { std: "docker" "start" "-a" "33a050ae2f7579acadb72074f57e2578ea0cf9f2b380de890e541e8e81aadcb5", 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/rustcuJCRbO/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,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/rustcuJCRbO/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: SysStringLen [INFO] [stdout] >>> referenced by bstr.rs:26 (src/strings/bstr.rs:26) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.29b6e598df802a70-cgu.5.rcgu.o:(windows_core::strings::bstr::BSTR::len::hd03ce03b97a51285) 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.29b6e598df802a70-cgu.4.rcgu.o:(windows_core::error::Error::from_win32::hef9b23e399032937) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.rlib [INFO] [stdout] [INFO] [stdout] 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.29b6e598df802a70-cgu.0.rcgu.o:(windows_core::imp::com_bindings::GetErrorInfo::h16b3ece1aa511015) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h3d13383eb5bead42) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h8d13ac2fb5e0ed61) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h911e852d7af93d55) 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: SetErrorInfo [INFO] [stdout] >>> referenced by com_bindings.rs:31 (src/imp/com_bindings.rs:31) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.29b6e598df802a70-cgu.0.rcgu.o:(windows_core::imp::com_bindings::SetErrorInfo::hb551cc1552b8f967) in archive /opt/rustwide/target/debug/deps/libwindows_core-622649d643bdd9a0.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_core-622649d643bdd9a0.windows_core.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h3d13383eb5bead42) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h8d13ac2fb5e0ed61) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h911e852d7af93d55) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h3d13383eb5bead42) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h8d13ac2fb5e0ed61) 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.29b6e598df802a70-cgu.3.rcgu.o:(windows_core::imp::delay_load::delay_load::h911e852d7af93d55) 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: SysFreeString [INFO] [stdout] >>> referenced by bstr.rs:153 (src/strings/bstr.rs:153) [INFO] [stdout] >>> windows_core-622649d643bdd9a0.windows_core.29b6e598df802a70-cgu.5.rcgu.o:(_$LT$windows_core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h85d7dc135d43c243) 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.29b6e598df802a70-cgu.7.rcgu.o:(windows_core::imp::heap::heap_alloc::hf6199f2508b44da0) 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.29b6e598df802a70-cgu.7.rcgu.o:(windows_core::imp::heap::heap_free::hd5f7d61cf1c017c4) 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.29b6e598df802a70-cgu.7.rcgu.o:(windows_core::imp::heap::heap_alloc::hf6199f2508b44da0) 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.29b6e598df802a70-cgu.7.rcgu.o:(windows_core::imp::heap::heap_free::hd5f7d61cf1c017c4) 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.29b6e598df802a70-cgu.7.rcgu.o:(windows_core::imp::waiter::WaiterSignaler::signal::hfda4fe2212ae447e) 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.29b6e598df802a70-cgu.7.rcgu.o:(windows_core::imp::waiter::Waiter::new::hd52cc02baf2c2b55) 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.29b6e598df802a70-cgu.6.rcgu.o:(windows_core::hresult::HRESULT::message::h5dd82fd99f6b979f) 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.29b6e598df802a70-cgu.7.rcgu.o:(_$LT$windows_core..imp..waiter..Waiter$u20$as$u20$core..ops..drop..Drop$GT$::drop::hc3c0c08901fbce0e) 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.29b6e598df802a70-cgu.7.rcgu.o:(_$LT$windows_core..imp..waiter..Waiter$u20$as$u20$core..ops..drop..Drop$GT$::drop::hc3c0c08901fbce0e) 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" "33a050ae2f7579acadb72074f57e2578ea0cf9f2b380de890e541e8e81aadcb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a050ae2f7579acadb72074f57e2578ea0cf9f2b380de890e541e8e81aadcb5", kill_on_drop: false }` [INFO] [stdout] 33a050ae2f7579acadb72074f57e2578ea0cf9f2b380de890e541e8e81aadcb5