[INFO] fetching crate windows-native-keyring-store 0.1.0... [INFO] building windows-native-keyring-store-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate windows-native-keyring-store 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate windows-native-keyring-store 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate windows-native-keyring-store 0.1.0 [INFO] tweaked toml for crates.io crate windows-native-keyring-store 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows-native-keyring-store 0.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows-native-keyring-store 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 617a9e1fa38bed9f6563408d3b50bf812ea1c289b53376920174d7eae63a8035 [INFO] running `Command { std: "docker" "start" "-a" "617a9e1fa38bed9f6563408d3b50bf812ea1c289b53376920174d7eae63a8035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "617a9e1fa38bed9f6563408d3b50bf812ea1c289b53376920174d7eae63a8035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "617a9e1fa38bed9f6563408d3b50bf812ea1c289b53376920174d7eae63a8035", kill_on_drop: false }` [INFO] [stdout] 617a9e1fa38bed9f6563408d3b50bf812ea1c289b53376920174d7eae63a8035 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bfd03ee8a0d1f901e17e9ac7e4680a8cd4eea80a1e9d7b73f1e8454ce87932d [INFO] running `Command { std: "docker" "start" "-a" "9bfd03ee8a0d1f901e17e9ac7e4680a8cd4eea80a1e9d7b73f1e8454ce87932d", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Compiling keyring-core v0.5.0 [INFO] [stderr] Compiling windows-targets v0.53.3 [INFO] [stderr] Compiling windows-sys v0.60.2 [INFO] [stderr] Compiling windows-native-keyring-store v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "9bfd03ee8a0d1f901e17e9ac7e4680a8cd4eea80a1e9d7b73f1e8454ce87932d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfd03ee8a0d1f901e17e9ac7e4680a8cd4eea80a1e9d7b73f1e8454ce87932d", kill_on_drop: false }` [INFO] [stdout] 9bfd03ee8a0d1f901e17e9ac7e4680a8cd4eea80a1e9d7b73f1e8454ce87932d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0781e3c026d6e8a8c930e44cf851120373e1676bb11f94d0988345d0430fd282 [INFO] running `Command { std: "docker" "start" "-a" "0781e3c026d6e8a8c930e44cf851120373e1676bb11f94d0988345d0430fd282", kill_on_drop: false }` [INFO] [stderr] Compiling windows-native-keyring-store v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc7xdcy6/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows_native_keyring_store-5c5bf7ea423e3cbd,libwindows_sys-a96c8a853d7aead5,libwindows_targets-e30fc1e5ecb34e33,libbyteorder-1efcbe4f07366651,libzeroize-ead98f074a37f829,libkeyring_core-0ed5e5360f8b241a,liblog-394b918668cad64a}.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/rustc7xdcy6/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.53.0/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/example-7579d65bb518603c" "-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: GetLastError [INFO] [stdout] >>> referenced by utils.rs:288 (src/utils.rs:288) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::decode_error::hc8c5b34e571fda63) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredWriteW [INFO] [stdout] >>> referenced by utils.rs:129 (src/utils.rs:129) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::save_credential::h25ca37f8c4969b48) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredDeleteW [INFO] [stdout] >>> referenced by utils.rs:142 (src/utils.rs:142) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::delete_credential::h11a3dc9d7808628d) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredReadW [INFO] [stdout] >>> referenced by utils.rs:159 (src/utils.rs:159) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h3a0675d23b68adcf) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] >>> referenced by utils.rs:159 (src/utils.rs:159) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h81df5765106cb20a) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] >>> referenced by utils.rs:159 (src/utils.rs:159) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::he570aa489431c037) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredFree [INFO] [stdout] >>> referenced by utils.rs:172 (src/utils.rs:172) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h3a0675d23b68adcf) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] >>> referenced by utils.rs:172 (src/utils.rs:172) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h81df5765106cb20a) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] >>> referenced by utils.rs:172 (src/utils.rs:172) [INFO] [stdout] >>> windows_native_keyring_store-5c5bf7ea423e3cbd.windows_native_keyring_store.fadf9935c619534b-cgu.0.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::he570aa489431c037) in archive /opt/rustwide/target/debug/deps/libwindows_native_keyring_store-5c5bf7ea423e3cbd.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-native-keyring-store` (example "example") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcRHQt3M/symbols.o" "<10 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/{libbyteorder-1efcbe4f07366651,libfastrand-503f12a96d791409,libwindows_sys-a96c8a853d7aead5,libwindows_targets-e30fc1e5ecb34e33,libkeyring_core-0ed5e5360f8b241a,liblog-394b918668cad64a,libzeroize-ead98f074a37f829}.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/rustcRHQt3M/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.53.0/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d" "-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: GetLastError [INFO] [stdout] >>> referenced by utils.rs:288 (src/utils.rs:288) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::decode_error::h4f6d1279e25ba87d) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredWriteW [INFO] [stdout] >>> referenced by utils.rs:129 (src/utils.rs:129) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::save_credential::hfe9a5f71eb1052f3) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredDeleteW [INFO] [stdout] >>> referenced by utils.rs:142 (src/utils.rs:142) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::delete_credential::h82c247ec2df35b8a) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredReadW [INFO] [stdout] >>> referenced by utils.rs:159 (src/utils.rs:159) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h29531f8cc8a4e0fd) [INFO] [stdout] >>> referenced by utils.rs:159 (src/utils.rs:159) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h77fcddb41c3497a1) [INFO] [stdout] >>> referenced by utils.rs:159 (src/utils.rs:159) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h8380ca438f0c18a3) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CredFree [INFO] [stdout] >>> referenced by utils.rs:172 (src/utils.rs:172) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h29531f8cc8a4e0fd) [INFO] [stdout] >>> referenced by utils.rs:172 (src/utils.rs:172) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h77fcddb41c3497a1) [INFO] [stdout] >>> referenced by utils.rs:172 (src/utils.rs:172) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_native_keyring_store-f1ff7455156ba46d.windows_native_keyring_store.930d6909820be631-cgu.8.rcgu.o:(windows_native_keyring_store::utils::extract_from_credential::h8380ca438f0c18a3) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-native-keyring-store` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0781e3c026d6e8a8c930e44cf851120373e1676bb11f94d0988345d0430fd282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0781e3c026d6e8a8c930e44cf851120373e1676bb11f94d0988345d0430fd282", kill_on_drop: false }` [INFO] [stdout] 0781e3c026d6e8a8c930e44cf851120373e1676bb11f94d0988345d0430fd282