[INFO] fetching crate variant-rs 0.4.0... [INFO] testing variant-rs-0.4.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate variant-rs 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate variant-rs 0.4.0 [INFO] finished tweaking crates.io crate variant-rs 0.4.0 [INFO] tweaked toml for crates.io crate variant-rs 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate variant-rs 0.4.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding windows v0.52.0 (available: v0.62.1) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d6ea508edba2e44b0f718c6d173654f5bfa3cddee689d380f67dd1bdd2f05299 [INFO] running `Command { std: "docker" "start" "-a" "d6ea508edba2e44b0f718c6d173654f5bfa3cddee689d380f67dd1bdd2f05299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6ea508edba2e44b0f718c6d173654f5bfa3cddee689d380f67dd1bdd2f05299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ea508edba2e44b0f718c6d173654f5bfa3cddee689d380f67dd1bdd2f05299", kill_on_drop: false }` [INFO] [stdout] d6ea508edba2e44b0f718c6d173654f5bfa3cddee689d380f67dd1bdd2f05299 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b6ae3204e72ae1423ecde8c89f842d6ec7e2f9de2109ca99e20252ecb8a1ee06 [INFO] running `Command { std: "docker" "start" "-a" "b6ae3204e72ae1423ecde8c89f842d6ec7e2f9de2109ca99e20252ecb8a1ee06", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling widestring v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-core v0.52.0 [INFO] [stderr] Compiling windows v0.52.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling variant-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.05s [INFO] running `Command { std: "docker" "inspect" "b6ae3204e72ae1423ecde8c89f842d6ec7e2f9de2109ca99e20252ecb8a1ee06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ae3204e72ae1423ecde8c89f842d6ec7e2f9de2109ca99e20252ecb8a1ee06", kill_on_drop: false }` [INFO] [stdout] b6ae3204e72ae1423ecde8c89f842d6ec7e2f9de2109ca99e20252ecb8a1ee06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05ffa8fbd9fbe8c658b8694fd1c6869b0558773febc34d177f724780f85679e6 [INFO] running `Command { std: "docker" "start" "-a" "05ffa8fbd9fbe8c658b8694fd1c6869b0558773febc34d177f724780f85679e6", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling rust_decimal_macros v1.38.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling variant-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc6q5cZk/symbols.o" "<3 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/{libwidestring-701a6875bb1fd8f8,libthiserror-e32bb2689c017788,libchrono-a132833ad24628da,libiana_time_zone-54997521cde77023,librust_decimal-81d7f6fe2b72a8b5,libserde-b2c48e027aef1894,libserde_core-89637146ece38bd9,libarrayvec-e69e5f78daccaf57,libnum_traits-272fd80bc072735a,libwindows-d8ccc27df993798c,libwindows_core-7bfa28f138b77fe7,libwindows_targets-7cf54f82ed486ad1}.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/rustc6q5cZk/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/variant_rs-734abb4107415b7f" "-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: FormatMessageW [INFO] [stdout] >>> referenced by hresult.rs:88 (src/hresult.rs:88) [INFO] [stdout] >>> windows_core-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.3.rcgu.o:(windows_core::hresult::HRESULT::message::h2e1fc77ef85f5507) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.0.rcgu.o:(windows_core::imp::com_bindings::GetErrorInfo::h157bb033f3db262e) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.7.rcgu.o:(windows_core::imp::heap::heap_alloc::h1f1f8e3a0099d8b9) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.rlib [INFO] [stdout] >>> referenced by heap.rs:34 (src/imp/heap.rs:34) [INFO] [stdout] >>> windows_core-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.7.rcgu.o:(windows_core::imp::heap::heap_free::h691d2b8713e2fffc) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.7.rcgu.o:(windows_core::imp::heap::heap_alloc::h1f1f8e3a0099d8b9) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.7.rcgu.o:(windows_core::imp::heap::heap_free::h691d2b8713e2fffc) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.rlib [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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.7.rcgu.o:(windows_core::strings::bstr::BSTR::len::h1d513cb418a70cbb) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysAllocStringLen [INFO] [stdout] >>> referenced by bstr.rs:45 (src/strings/bstr.rs:45) [INFO] [stdout] >>> windows_core-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.7.rcgu.o:(windows_core::strings::bstr::BSTR::from_wide::h8a0db39d32b99a30) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysFreeString [INFO] [stdout] >>> referenced by bstr.rs:155 (src/strings/bstr.rs:155) [INFO] [stdout] >>> windows_core-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.7.rcgu.o:(_$LT$windows_core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h3cd0ef77a85f3122) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h4a01ce5e4bd2fb86) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h4a01ce5e4bd2fb86) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.rlib [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-7bfa28f138b77fe7.windows_core.75effd4ad0f2ff2a-cgu.5.rcgu.o:(windows_core::imp::delay_load::delay_load::h4a01ce5e4bd2fb86) in archive /opt/rustwide/target/debug/deps/libwindows_core-7bfa28f138b77fe7.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `variant-rs` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "05ffa8fbd9fbe8c658b8694fd1c6869b0558773febc34d177f724780f85679e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ffa8fbd9fbe8c658b8694fd1c6869b0558773febc34d177f724780f85679e6", kill_on_drop: false }` [INFO] [stdout] 05ffa8fbd9fbe8c658b8694fd1c6869b0558773febc34d177f724780f85679e6