[INFO] fetching crate clipboard-win-html 0.2.0... [INFO] testing clipboard-win-html-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate clipboard-win-html 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate clipboard-win-html 0.2.0 [INFO] finished tweaking crates.io crate clipboard-win-html 0.2.0 [INFO] tweaked toml for crates.io crate clipboard-win-html 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clipboard-win-html 0.2.0 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 12 packages to latest compatible versions [INFO] [stderr] Adding windows v0.54.0 (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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d16194ebe0ce46c89a6a93179a5e8f51188c1de62a74ad97b433cd0240de60c5 [INFO] running `Command { std: "docker" "start" "-a" "d16194ebe0ce46c89a6a93179a5e8f51188c1de62a74ad97b433cd0240de60c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d16194ebe0ce46c89a6a93179a5e8f51188c1de62a74ad97b433cd0240de60c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16194ebe0ce46c89a6a93179a5e8f51188c1de62a74ad97b433cd0240de60c5", kill_on_drop: false }` [INFO] [stdout] d16194ebe0ce46c89a6a93179a5e8f51188c1de62a74ad97b433cd0240de60c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c7aa7bf4f2ab1598987c696ae18701f2bce7f8e1955f6de0a457e0d2ba7bb5d0 [INFO] running `Command { std: "docker" "start" "-a" "c7aa7bf4f2ab1598987c696ae18701f2bce7f8e1955f6de0a457e0d2ba7bb5d0", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.1.2 [INFO] [stderr] Compiling windows-core v0.54.0 [INFO] [stderr] Compiling windows v0.54.0 [INFO] [stderr] Compiling clipboard-win-html v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.68s [INFO] running `Command { std: "docker" "inspect" "c7aa7bf4f2ab1598987c696ae18701f2bce7f8e1955f6de0a457e0d2ba7bb5d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7aa7bf4f2ab1598987c696ae18701f2bce7f8e1955f6de0a457e0d2ba7bb5d0", kill_on_drop: false }` [INFO] [stdout] c7aa7bf4f2ab1598987c696ae18701f2bce7f8e1955f6de0a457e0d2ba7bb5d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 68e9b2b20fd7f3d603b613eb2e13362d1b148ce2de6e2193f3b9f8691e148340 [INFO] running `Command { std: "docker" "start" "-a" "68e9b2b20fd7f3d603b613eb2e13362d1b148ce2de6e2193f3b9f8691e148340", kill_on_drop: false }` [INFO] [stderr] Compiling clipboard-win-html v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcd4mUps/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libclipboard_win_html-2d2a42b9de6653a1,libwindows-4b151bc952d2f0c9,libwindows_core-4407ac7d4c8c428e,libwindows_result-17e20fcd099c7851,libwindows_targets-7cf54f82ed486ad1}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,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/rustcd4mUps/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows_x86_64_gnu-0.52.6/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test_simple-5387a1d6e6205be0" "-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: OpenClipboard [INFO] [stdout] >>> referenced by mod.rs:483 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/DataExchange/mod.rs:483) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::DataExchange::OpenClipboard::h4be195d24749ba77) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CloseClipboard [INFO] [stdout] >>> referenced by mod.rs:37 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/DataExchange/mod.rs:37) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::DataExchange::CloseClipboard::hfd2526cb6e960b3f) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: EmptyClipboard [INFO] [stdout] >>> referenced by mod.rs:308 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/DataExchange/mod.rs:308) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::DataExchange::EmptyClipboard::h1fdb51c84b1aab51) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SetClipboardData [INFO] [stdout] >>> referenced by mod.rs:528 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/DataExchange/mod.rs:528) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::DataExchange::SetClipboardData::h49d73c7829e3a563) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: RegisterClipboardFormatW [INFO] [stdout] >>> referenced by mod.rs:504 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/DataExchange/mod.rs:504) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::DataExchange::RegisterClipboardFormatW::h8185f42472a0c197) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GlobalLock [INFO] [stdout] >>> referenced by mod.rs:187 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/Memory/mod.rs:187) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::Memory::GlobalLock::h97dcefe181e234fd) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GlobalAlloc [INFO] [stdout] >>> referenced by mod.rs:164 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/Memory/mod.rs:164) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::Memory::GlobalAlloc::hfc4dcc500e6d2baa) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GlobalUnlock [INFO] [stdout] >>> referenced by mod.rs:212 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/Memory/mod.rs:212) [INFO] [stdout] >>> clipboard_win_html-2d2a42b9de6653a1.clipboard_win_html.7332d2ebe1ae9a07-cgu.0.rcgu.o:(windows::Win32::System::Memory::GlobalUnlock::hcbcffe52b66ab7b1) in archive /opt/rustwide/target/debug/deps/libclipboard_win_html-2d2a42b9de6653a1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetLastError [INFO] [stdout] >>> referenced by error.rs:43 (src/error.rs:43) [INFO] [stdout] >>> windows_result-17e20fcd099c7851.windows_result.2fed6cf05e161ece-cgu.0.rcgu.o:(windows_result::error::Error::from_win32::had7ae3dbc7feaf07) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clipboard-win-html` (test "test_simple") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "68e9b2b20fd7f3d603b613eb2e13362d1b148ce2de6e2193f3b9f8691e148340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e9b2b20fd7f3d603b613eb2e13362d1b148ce2de6e2193f3b9f8691e148340", kill_on_drop: false }` [INFO] [stdout] 68e9b2b20fd7f3d603b613eb2e13362d1b148ce2de6e2193f3b9f8691e148340