[INFO] fetching crate rustls-cng 0.6.0... [INFO] testing rustls-cng-0.6.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate rustls-cng 0.6.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rustls-cng 0.6.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustls-cng 0.6.0 [INFO] tweaked toml for crates.io crate rustls-cng 0.6.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustls-cng 0.6.0 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustls-cng 0.6.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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colorchoice v1.0.3 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.6 [INFO] [stderr] Downloaded anstyle-query v1.1.2 [INFO] [stderr] Downloaded clap_lex v0.7.4 [INFO] [stderr] Downloaded cmake v0.1.52 [INFO] [stderr] Downloaded anstream v0.6.18 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded rustls-pki-types v1.10.1 [INFO] [stderr] Downloaded anstyle-parse v0.2.6 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded clap v4.5.23 [INFO] [stderr] Downloaded libloading v0.8.6 [INFO] [stderr] Downloaded anstyle v1.0.10 [INFO] [stderr] Downloaded clap_builder v4.5.23 [INFO] [stderr] Downloaded aws-lc-rs v1.11.1 [INFO] [stderr] Downloaded rustls-webpki v0.102.8 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded home v0.5.11 [INFO] [stderr] Downloaded dunce v1.0.5 [INFO] [stderr] Downloaded rustls v0.23.20 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] [stderr] Downloaded aws-lc-fips-sys v0.12.15 [INFO] [stderr] Downloaded aws-lc-sys v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e7db7a4bddf639d6e4f7cbf6e381782daa09f5f41a013d06766b7ed8642e824 [INFO] running `Command { std: "docker" "start" "-a" "3e7db7a4bddf639d6e4f7cbf6e381782daa09f5f41a013d06766b7ed8642e824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e7db7a4bddf639d6e4f7cbf6e381782daa09f5f41a013d06766b7ed8642e824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7db7a4bddf639d6e4f7cbf6e381782daa09f5f41a013d06766b7ed8642e824", kill_on_drop: false }` [INFO] [stdout] 3e7db7a4bddf639d6e4f7cbf6e381782daa09f5f41a013d06766b7ed8642e824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb738321c78c3b18baf06f640e057aa32d09cf7fee2287238bdec897c3ea3569 [INFO] running `Command { std: "docker" "start" "-a" "cb738321c78c3b18baf06f640e057aa32d09cf7fee2287238bdec897c3ea3569", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling aws-lc-rs v1.11.1 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling windows-sys v0.59.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling aws-lc-sys v0.23.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-cng v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.00s [INFO] running `Command { std: "docker" "inspect" "cb738321c78c3b18baf06f640e057aa32d09cf7fee2287238bdec897c3ea3569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb738321c78c3b18baf06f640e057aa32d09cf7fee2287238bdec897c3ea3569", kill_on_drop: false }` [INFO] [stdout] cb738321c78c3b18baf06f640e057aa32d09cf7fee2287238bdec897c3ea3569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f069df209bce8ac9e787d2a6226245d3689c3ff67e2f346133384d5b9adf94 [INFO] running `Command { std: "docker" "start" "-a" "b8f069df209bce8ac9e787d2a6226245d3689c3ff67e2f346133384d5b9adf94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling rustls-cng v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcOPtTAe/symbols.o" "<2 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/{librustls_cng-43620eb79d2c810f,libwindows_sys-da4e699e15fb9931,libwindows_targets-1917b5361589d0b1,librustls-26d2de074a622d61,libsubtle-7ebad0e8fd7aebee,libwebpki-c15af5cab01ec95f,libuntrusted-be2412edbd71db05,libaws_lc_rs-0d3c3632d22b3669,libaws_lc_sys-82cf44a27e199201,libzeroize-0da6aee4552d71b5,librustls_pki_types-e868c6add60e1a61,liblog-bed40425882d2bd2}.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/rustcOPtTAe/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/target/debug/build/aws-lc-sys-fda38f8152a35a11/out" "-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_sign-faa7f05218a7e0c2" "-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: NCryptGetProperty [INFO] [stdout] >>> referenced by key.rs:99 (src/key.rs:99) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h90622c323e72abea) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptSignHash [INFO] [stdout] >>> referenced by key.rs:208 (src/key.rs:208) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CryptAcquireCertificatePrivateKey [INFO] [stdout] >>> referenced by cert.rs:70 (src/cert.rs:70) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcb84418e20fd0e1d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PFXImportCertStore [INFO] [stdout] >>> referenced by store.rs:82 (src/store.rs:82) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c97858737704ccd) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFindCertificateInStore [INFO] [stdout] >>> referenced by store.rs:190 (src/store.rs:190) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertDuplicateCertificateContext [INFO] [stdout] >>> referenced by store.rs:195 (src/store.rs:195) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: BCryptHash [INFO] [stdout] >>> referenced by signer.rs:141 (src/signer.rs:141) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h12fb6204316c261b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptFreeObject [INFO] [stdout] >>> referenced by key.rs:60 (src/key.rs:60) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf200ed471475b815) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertCloseStore [INFO] [stdout] >>> referenced by store.rs:291 (src/store.rs:291) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h24a1b3dffc5e2002) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateContext [INFO] [stdout] >>> referenced by cert.rs:33 (src/cert.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h07e0477f82ebb4d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetLastError [INFO] [stdout] >>> referenced by error.rs:33 (src/error.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcd68e4b51a28322b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-cng` (test "test_sign") 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/rustcKhEDuX/symbols.o" "<2 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/{librustls_cng-43620eb79d2c810f,librustls-26d2de074a622d61,libsubtle-7ebad0e8fd7aebee,libwebpki-c15af5cab01ec95f,libuntrusted-be2412edbd71db05,libaws_lc_rs-0d3c3632d22b3669,libaws_lc_sys-82cf44a27e199201,libzeroize-0da6aee4552d71b5,librustls_pki_types-e868c6add60e1a61,liblog-bed40425882d2bd2,libwindows_sys-da4e699e15fb9931,libwindows_targets-1917b5361589d0b1}.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/rustcKhEDuX/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/target/debug/build/aws-lc-sys-fda38f8152a35a11/out" "-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_find-3a62f5fb74cb4914" "-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 error.rs:33 (src/error.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcd68e4b51a28322b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PFXImportCertStore [INFO] [stdout] >>> referenced by store.rs:82 (src/store.rs:82) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c97858737704ccd) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertStrToNameW [INFO] [stdout] >>> referenced by store.rs:252 (src/store.rs:252) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::find_by_name::h9ddf1c3873692ec1) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by store.rs:266 (src/store.rs:266) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::find_by_name::h9ddf1c3873692ec1) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFindCertificateInStore [INFO] [stdout] >>> referenced by store.rs:211 (src/store.rs:211) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::hf8a212124558f9bf) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by store.rs:190 (src/store.rs:190) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertGetCertificateContextProperty [INFO] [stdout] >>> referenced by store.rs:225 (src/store.rs:225) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::hf8a212124558f9bf) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertDuplicateCertificateContext [INFO] [stdout] >>> referenced by store.rs:233 (src/store.rs:233) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::hf8a212124558f9bf) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by store.rs:195 (src/store.rs:195) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertCloseStore [INFO] [stdout] >>> referenced by store.rs:291 (src/store.rs:291) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h24a1b3dffc5e2002) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateContext [INFO] [stdout] >>> referenced by cert.rs:33 (src/cert.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h07e0477f82ebb4d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-cng` (test "test_find") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcucRCiX/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libanyhow-f8aca6e6be0b46e2.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librustls_cng-43620eb79d2c810f,libwindows_sys-da4e699e15fb9931,libwindows_targets-1917b5361589d0b1,librustls-26d2de074a622d61,libsubtle-7ebad0e8fd7aebee,libwebpki-c15af5cab01ec95f,libuntrusted-be2412edbd71db05,libaws_lc_rs-0d3c3632d22b3669,libaws_lc_sys-82cf44a27e199201,libzeroize-0da6aee4552d71b5,librustls_pki_types-e868c6add60e1a61,liblog-bed40425882d2bd2}.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/rustcucRCiX/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/target/debug/build/aws-lc-sys-fda38f8152a35a11/out" "-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_client_server-6f1e4e6f5b9ecccb" "-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 error.rs:33 (src/error.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcd68e4b51a28322b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptGetProperty [INFO] [stdout] >>> referenced by key.rs:99 (src/key.rs:99) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h90622c323e72abea) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptSignHash [INFO] [stdout] >>> referenced by key.rs:208 (src/key.rs:208) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CryptAcquireCertificatePrivateKey [INFO] [stdout] >>> referenced by cert.rs:70 (src/cert.rs:70) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcb84418e20fd0e1d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertGetCertificateContextProperty [INFO] [stdout] >>> referenced by cert.rs:110 (src/cert.rs:110) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertGetCertificateChain [INFO] [stdout] >>> referenced by cert.rs:123 (src/cert.rs:123) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateChain [INFO] [stdout] >>> referenced by cert.rs:158 (src/cert.rs:158) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PFXImportCertStore [INFO] [stdout] >>> referenced by store.rs:82 (src/store.rs:82) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c97858737704ccd) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFindCertificateInStore [INFO] [stdout] >>> referenced by store.rs:190 (src/store.rs:190) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertDuplicateCertificateContext [INFO] [stdout] >>> referenced by store.rs:195 (src/store.rs:195) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: BCryptHash [INFO] [stdout] >>> referenced by signer.rs:141 (src/signer.rs:141) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h12fb6204316c261b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptFreeObject [INFO] [stdout] >>> referenced by key.rs:60 (src/key.rs:60) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf200ed471475b815) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertCloseStore [INFO] [stdout] >>> referenced by store.rs:291 (src/store.rs:291) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h24a1b3dffc5e2002) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateContext [INFO] [stdout] >>> referenced by cert.rs:33 (src/cert.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h07e0477f82ebb4d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-cng` (test "test_client_server") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcj3xk2Z/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libanyhow-f8aca6e6be0b46e2,librustls_cng-43620eb79d2c810f,libwindows_sys-da4e699e15fb9931,libwindows_targets-1917b5361589d0b1,librustls-26d2de074a622d61,libsubtle-7ebad0e8fd7aebee,libwebpki-c15af5cab01ec95f,libuntrusted-be2412edbd71db05,libaws_lc_rs-0d3c3632d22b3669,libaws_lc_sys-82cf44a27e199201,libzeroize-0da6aee4552d71b5,librustls_pki_types-e868c6add60e1a61,liblog-bed40425882d2bd2,libclap-034c145e669d522e,libclap_builder-cd0a0d63e757d703,libstrsim-d06c92a9dc9344bf,libanstream-b6cc5945a1aa02e1,libanstyle_query-a0e00d77dd0f77aa,libis_terminal_polyfill-2bc766009a493b8b,libcolorchoice-bfd5266073a80ed2,libanstyle_parse-f67876cbe1ecea05,libutf8parse-f6737d5b791aba93,libclap_lex-1ba46ad7564c5ef8,libanstyle-20969c867182423a}.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/rustcj3xk2Z/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/target/debug/build/aws-lc-sys-fda38f8152a35a11/out" "-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/examples/server-2def4cad9e400d67" "-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 error.rs:33 (src/error.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcd68e4b51a28322b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptGetProperty [INFO] [stdout] >>> referenced by key.rs:99 (src/key.rs:99) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h90622c323e72abea) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptSignHash [INFO] [stdout] >>> referenced by key.rs:208 (src/key.rs:208) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptSetProperty [INFO] [stdout] >>> referenced by key.rs:160 (src/key.rs:160) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::h9bf63a0d96818379) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CryptAcquireCertificatePrivateKey [INFO] [stdout] >>> referenced by cert.rs:70 (src/cert.rs:70) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcb84418e20fd0e1d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertGetCertificateContextProperty [INFO] [stdout] >>> referenced by cert.rs:110 (src/cert.rs:110) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertGetCertificateChain [INFO] [stdout] >>> referenced by cert.rs:123 (src/cert.rs:123) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateChain [INFO] [stdout] >>> referenced by cert.rs:158 (src/cert.rs:158) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PFXImportCertStore [INFO] [stdout] >>> referenced by store.rs:82 (src/store.rs:82) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c97858737704ccd) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertOpenStore [INFO] [stdout] >>> referenced by store.rs:58 (src/store.rs:58) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::open::h642d118cd054f0b9) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFindCertificateInStore [INFO] [stdout] >>> referenced by store.rs:190 (src/store.rs:190) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertDuplicateCertificateContext [INFO] [stdout] >>> referenced by store.rs:195 (src/store.rs:195) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: BCryptHash [INFO] [stdout] >>> referenced by signer.rs:141 (src/signer.rs:141) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h12fb6204316c261b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptFreeObject [INFO] [stdout] >>> referenced by key.rs:60 (src/key.rs:60) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf200ed471475b815) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertCloseStore [INFO] [stdout] >>> referenced by store.rs:291 (src/store.rs:291) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h24a1b3dffc5e2002) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateContext [INFO] [stdout] >>> referenced by cert.rs:33 (src/cert.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h07e0477f82ebb4d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-cng` (example "server") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcE77X2L/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libanyhow-f8aca6e6be0b46e2,librustls_cng-43620eb79d2c810f,libwindows_sys-da4e699e15fb9931,libwindows_targets-1917b5361589d0b1,librustls-26d2de074a622d61,libsubtle-7ebad0e8fd7aebee,libwebpki-c15af5cab01ec95f,libuntrusted-be2412edbd71db05,libaws_lc_rs-0d3c3632d22b3669,libaws_lc_sys-82cf44a27e199201,libzeroize-0da6aee4552d71b5,librustls_pki_types-e868c6add60e1a61,liblog-bed40425882d2bd2,libclap-034c145e669d522e,libclap_builder-cd0a0d63e757d703,libstrsim-d06c92a9dc9344bf,libanstream-b6cc5945a1aa02e1,libanstyle_query-a0e00d77dd0f77aa,libis_terminal_polyfill-2bc766009a493b8b,libcolorchoice-bfd5266073a80ed2,libanstyle_parse-f67876cbe1ecea05,libutf8parse-f6737d5b791aba93,libclap_lex-1ba46ad7564c5ef8,libanstyle-20969c867182423a}.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/rustcE77X2L/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/target/debug/build/aws-lc-sys-fda38f8152a35a11/out" "-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/examples/client-fe7487838141b60e" "-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 error.rs:33 (src/error.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcd68e4b51a28322b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptGetProperty [INFO] [stdout] >>> referenced by key.rs:99 (src/key.rs:99) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hf0f034b1d0adcf1c) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h90622c323e72abea) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptSignHash [INFO] [stdout] >>> referenced by key.rs:208 (src/key.rs:208) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h1bb332384968a46d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptSetProperty [INFO] [stdout] >>> referenced by key.rs:160 (src/key.rs:160) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::h9bf63a0d96818379) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CryptAcquireCertificatePrivateKey [INFO] [stdout] >>> referenced by cert.rs:70 (src/cert.rs:70) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcb84418e20fd0e1d) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertGetCertificateContextProperty [INFO] [stdout] >>> referenced by cert.rs:110 (src/cert.rs:110) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertGetCertificateChain [INFO] [stdout] >>> referenced by cert.rs:123 (src/cert.rs:123) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateChain [INFO] [stdout] >>> referenced by cert.rs:158 (src/cert.rs:158) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h481c20cf0579cf03) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PFXImportCertStore [INFO] [stdout] >>> referenced by store.rs:82 (src/store.rs:82) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c97858737704ccd) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertOpenStore [INFO] [stdout] >>> referenced by store.rs:58 (src/store.rs:58) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::open::h642d118cd054f0b9) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFindCertificateInStore [INFO] [stdout] >>> referenced by store.rs:190 (src/store.rs:190) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertDuplicateCertificateContext [INFO] [stdout] >>> referenced by store.rs:195 (src/store.rs:195) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::store::CertStore::do_find::h1df46dd90cae7a79) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: BCryptHash [INFO] [stdout] >>> referenced by signer.rs:141 (src/signer.rs:141) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h12fb6204316c261b) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NCryptFreeObject [INFO] [stdout] >>> referenced by key.rs:60 (src/key.rs:60) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf200ed471475b815) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertCloseStore [INFO] [stdout] >>> referenced by store.rs:291 (src/store.rs:291) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h24a1b3dffc5e2002) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CertFreeCertificateContext [INFO] [stdout] >>> referenced by cert.rs:33 (src/cert.rs:33) [INFO] [stdout] >>> rustls_cng-43620eb79d2c810f.rustls_cng.4b788d884cdb6788-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h07e0477f82ebb4d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-43620eb79d2c810f.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-cng` (example "client") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b8f069df209bce8ac9e787d2a6226245d3689c3ff67e2f346133384d5b9adf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f069df209bce8ac9e787d2a6226245d3689c3ff67e2f346133384d5b9adf94", kill_on_drop: false }` [INFO] [stdout] b8f069df209bce8ac9e787d2a6226245d3689c3ff67e2f346133384d5b9adf94