[INFO] fetching crate rustls-cng 0.6.0... [INFO] testing rustls-cng-0.6.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rustls-cng 0.6.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustls-cng 0.6.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-lc-rs v1.11.1 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38b11e3f1588675ea03078d73126e13db17f5c9f64f2739651d296598315b0d1 [INFO] running `Command { std: "docker" "start" "-a" "38b11e3f1588675ea03078d73126e13db17f5c9f64f2739651d296598315b0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38b11e3f1588675ea03078d73126e13db17f5c9f64f2739651d296598315b0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b11e3f1588675ea03078d73126e13db17f5c9f64f2739651d296598315b0d1", kill_on_drop: false }` [INFO] [stdout] 38b11e3f1588675ea03078d73126e13db17f5c9f64f2739651d296598315b0d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 080371366df89c8167560c7194423686d8d94060dcb9ea763bae768b95cde1d9 [INFO] running `Command { std: "docker" "start" "-a" "080371366df89c8167560c7194423686d8d94060dcb9ea763bae768b95cde1d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling aws-lc-rs v1.11.1 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling windows-targets v0.52.6 [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 28.93s [INFO] running `Command { std: "docker" "inspect" "080371366df89c8167560c7194423686d8d94060dcb9ea763bae768b95cde1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080371366df89c8167560c7194423686d8d94060dcb9ea763bae768b95cde1d9", kill_on_drop: false }` [INFO] [stdout] 080371366df89c8167560c7194423686d8d94060dcb9ea763bae768b95cde1d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3c098beffeeffcb20d54d2d175367fd9fe6ca5914d5243ab65a0ab01c1f2b4c [INFO] running `Command { std: "docker" "start" "-a" "f3c098beffeeffcb20d54d2d175367fd9fe6ca5914d5243ab65a0ab01c1f2b4c", kill_on_drop: false }` [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_builder v4.5.23 [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] [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/rustceZQduQ/symbols.o" "<2 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/{librustls_cng-395562710a5637f4,librustls-fe6afa1a9d0b79f7,libsubtle-ca7024fc66e4388f,libwebpki-e4c90f4759a8b834,libuntrusted-3420b86308bec153,libaws_lc_rs-28fcd5b609dfc983,libaws_lc_sys-284641bae67f465d,libzeroize-ead98f074a37f829,librustls_pki_types-613e103407ed47ec,liblog-5fb51f756c1191b0,libwindows_sys-c03f599c2c389a83,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/rustceZQduQ/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-a4a72259fd9600a4/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-a92058909e97f3a9" "-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: CertFreeCertificateContext [INFO] [stdout] >>> referenced by cert.rs:33 (src/cert.rs:33) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7fe2940445ec217) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h7f0330508a72e62c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c63837b32e730ed) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::find_by_name::hbe762912fd8608da) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by store.rs:266 (src/store.rs:266) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::find_by_name::hbe762912fd8608da) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::hd946913e4b8ee332) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by store.rs:190 (src/store.rs:190) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::hd946913e4b8ee332) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::hd946913e4b8ee332) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by store.rs:195 (src/store.rs:195) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h46ee36f6e8f85443) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [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/rustcYJQhh0/symbols.o" "<2 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/{librustls_cng-395562710a5637f4,libwindows_sys-c03f599c2c389a83,libwindows_targets-7cf54f82ed486ad1,librustls-fe6afa1a9d0b79f7,libsubtle-ca7024fc66e4388f,libwebpki-e4c90f4759a8b834,libuntrusted-3420b86308bec153,libaws_lc_rs-28fcd5b609dfc983,libaws_lc_sys-284641bae67f465d,libzeroize-ead98f074a37f829,librustls_pki_types-613e103407ed47ec,liblog-5fb51f756c1191b0}.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/rustcYJQhh0/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-a4a72259fd9600a4/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-5c0e5f4be8210415" "-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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::hea6bc81fc3cdca31) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hd4d0550f7a7edc39) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h0558018f6b54866c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hc43c4cd9027e54b5) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7fe2940445ec217) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h7f0330508a72e62c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c63837b32e730ed) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h46ee36f6e8f85443) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc3BZl8D/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libanyhow-7c6c4967043ac346,librustls_cng-395562710a5637f4,libwindows_sys-c03f599c2c389a83,libwindows_targets-7cf54f82ed486ad1,librustls-fe6afa1a9d0b79f7,libsubtle-ca7024fc66e4388f,libwebpki-e4c90f4759a8b834,libuntrusted-3420b86308bec153,libaws_lc_rs-28fcd5b609dfc983,libaws_lc_sys-284641bae67f465d,libzeroize-ead98f074a37f829,librustls_pki_types-613e103407ed47ec,liblog-5fb51f756c1191b0,libclap-2c27fb4ad3709281,libclap_builder-fe6641bff6b6c432,libstrsim-24acdad2526b95b7,libanstream-3a5850ea78bcd0e3,libanstyle_query-f0be367a66cb0b02,libis_terminal_polyfill-c14c9d53c4f80a97,libcolorchoice-dfb6701820ae12a0,libanstyle_parse-80647c630cc5391e,libutf8parse-8828ddbb63eb8bad,libclap_lex-8f7e36dc12b04c16,libanstyle-df82d657645c4a5c}.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/rustc3BZl8D/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-a4a72259fd9600a4/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-79aaf7fdab571bf5" "-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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::hea6bc81fc3cdca31) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::ha18c91f6cac9d76b) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hd4d0550f7a7edc39) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h0558018f6b54866c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hc43c4cd9027e54b5) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7fe2940445ec217) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h7f0330508a72e62c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c63837b32e730ed) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::open::h833d0bc60d63163f) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h46ee36f6e8f85443) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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/rustcEHhxMi/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libanyhow-7c6c4967043ac346.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librustls_cng-395562710a5637f4,libwindows_sys-c03f599c2c389a83,libwindows_targets-7cf54f82ed486ad1,librustls-fe6afa1a9d0b79f7,libsubtle-ca7024fc66e4388f,libwebpki-e4c90f4759a8b834,libuntrusted-3420b86308bec153,libaws_lc_rs-28fcd5b609dfc983,libaws_lc_sys-284641bae67f465d,libzeroize-ead98f074a37f829,librustls_pki_types-613e103407ed47ec,liblog-5fb51f756c1191b0}.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/rustcEHhxMi/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-a4a72259fd9600a4/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-697469151290f62e" "-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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::hea6bc81fc3cdca31) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hd4d0550f7a7edc39) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h0558018f6b54866c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hc43c4cd9027e54b5) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7fe2940445ec217) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h7f0330508a72e62c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c63837b32e730ed) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h46ee36f6e8f85443) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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/rustcT8axn9/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libanyhow-7c6c4967043ac346,librustls_cng-395562710a5637f4,libwindows_sys-c03f599c2c389a83,libwindows_targets-7cf54f82ed486ad1,librustls-fe6afa1a9d0b79f7,libsubtle-ca7024fc66e4388f,libwebpki-e4c90f4759a8b834,libuntrusted-3420b86308bec153,libaws_lc_rs-28fcd5b609dfc983,libaws_lc_sys-284641bae67f465d,libzeroize-ead98f074a37f829,librustls_pki_types-613e103407ed47ec,liblog-5fb51f756c1191b0,libclap-2c27fb4ad3709281,libclap_builder-fe6641bff6b6c432,libstrsim-24acdad2526b95b7,libanstream-3a5850ea78bcd0e3,libanstyle_query-f0be367a66cb0b02,libis_terminal_polyfill-c14c9d53c4f80a97,libcolorchoice-dfb6701820ae12a0,libanstyle_parse-80647c630cc5391e,libutf8parse-8828ddbb63eb8bad,libclap_lex-8f7e36dc12b04c16,libanstyle-df82d657645c4a5c}.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/rustcT8axn9/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-a4a72259fd9600a4/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-758e7e2910c648a9" "-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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h7f0330508a72e62c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h2c63837b32e730ed) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::open::h833d0bc60d63163f) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::h5bfbdd95b5a17c86) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h46ee36f6e8f85443) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:110 (src/key.rs:110) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h7d153e3d0302be89) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:131 (src/key.rs:131) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::hea6bc81fc3cdca31) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by key.rs:221 (src/key.rs:221) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::ha11ad9360483e6d8) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::ha18c91f6cac9d76b) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hd4d0550f7a7edc39) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h1cf4f1b7d804295e) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h0558018f6b54866c) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hc43c4cd9027e54b5) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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-395562710a5637f4.rustls_cng.c63dac81ab304382-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7fe2940445ec217) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.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" "f3c098beffeeffcb20d54d2d175367fd9fe6ca5914d5243ab65a0ab01c1f2b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c098beffeeffcb20d54d2d175367fd9fe6ca5914d5243ab65a0ab01c1f2b4c", kill_on_drop: false }` [INFO] [stdout] f3c098beffeeffcb20d54d2d175367fd9fe6ca5914d5243ab65a0ab01c1f2b4c