[INFO] fetching crate rustls-cng 0.6.0... [INFO] testing rustls-cng-0.6.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rustls-cng 0.6.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustls-cng 0.6.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46d911222cb1e67e1e00581e49554943e2b05c3b45ec31bee9deb0e112a2c53f [INFO] running `Command { std: "docker" "start" "-a" "46d911222cb1e67e1e00581e49554943e2b05c3b45ec31bee9deb0e112a2c53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46d911222cb1e67e1e00581e49554943e2b05c3b45ec31bee9deb0e112a2c53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d911222cb1e67e1e00581e49554943e2b05c3b45ec31bee9deb0e112a2c53f", kill_on_drop: false }` [INFO] [stdout] 46d911222cb1e67e1e00581e49554943e2b05c3b45ec31bee9deb0e112a2c53f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f25e4ce4ab7fe80cadb92a68a83551c6e99fb3f5cdc4a12ff23982163deec886 [INFO] running `Command { std: "docker" "start" "-a" "f25e4ce4ab7fe80cadb92a68a83551c6e99fb3f5cdc4a12ff23982163deec886", 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 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 rustls-pki-types v1.10.1 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.20.2 [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 30.42s [INFO] running `Command { std: "docker" "inspect" "f25e4ce4ab7fe80cadb92a68a83551c6e99fb3f5cdc4a12ff23982163deec886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f25e4ce4ab7fe80cadb92a68a83551c6e99fb3f5cdc4a12ff23982163deec886", kill_on_drop: false }` [INFO] [stdout] f25e4ce4ab7fe80cadb92a68a83551c6e99fb3f5cdc4a12ff23982163deec886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f09fe74d2410a14e7a9e2e31eec6836f54796a15dfc90ac54503b05ad4a9ec8 [INFO] running `Command { std: "docker" "start" "-a" "2f09fe74d2410a14e7a9e2e31eec6836f54796a15dfc90ac54503b05ad4a9ec8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [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/rustcg7HuO7/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-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcg7HuO7/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: GetLastError [INFO] [stdout] >>> referenced by error.rs:33 (src/error.rs:33) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcb0912121b68709f) 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.333a6670197c2e03-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h87a219c8e14de699) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by store.rs:211 (src/store.rs:211) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::he80d399911ec9362) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) in archive /opt/rustwide/target/debug/deps/librustls_cng-395562710a5637f4.rlib [INFO] [stdout] >>> referenced by store.rs:233 (src/store.rs:233) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::he80d399911ec9362) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h706e6acdf6051eaa) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::find_by_name::h379196811ff33ee8) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::find_by_name::h379196811ff33ee8) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::he80d399911ec9362) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h236b1927d2a0e81a) 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_find") 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/rustc5mGmdQ/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-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc5mGmdQ/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: GetLastError [INFO] [stdout] >>> referenced by error.rs:33 (src/error.rs:33) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcb0912121b68709f) 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.333a6670197c2e03-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h87a219c8e14de699) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h706e6acdf6051eaa) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h350c87d04bf20784) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcaa4554e069cd02b) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h236b1927d2a0e81a) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h66df9be346bfc6ce) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8881a9785a6eccfb) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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/rustcV8UuOx/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-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcV8UuOx/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: BCryptHash [INFO] [stdout] >>> referenced by signer.rs:141 (src/signer.rs:141) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h350c87d04bf20784) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcaa4554e069cd02b) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h236b1927d2a0e81a) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h66df9be346bfc6ce) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8881a9785a6eccfb) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::h6475e594a8d6fa40) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcb0912121b68709f) 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.333a6670197c2e03-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h87a219c8e14de699) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h706e6acdf6051eaa) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::open::hc6634e2fbeb1acb2) 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/rustcXVzg0s/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-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcXVzg0s/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: BCryptHash [INFO] [stdout] >>> referenced by signer.rs:141 (src/signer.rs:141) [INFO] [stdout] >>> rustls_cng-395562710a5637f4.rustls_cng.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h350c87d04bf20784) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcaa4554e069cd02b) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h236b1927d2a0e81a) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h66df9be346bfc6ce) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8881a9785a6eccfb) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcb0912121b68709f) 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.333a6670197c2e03-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h87a219c8e14de699) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h706e6acdf6051eaa) 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] [stderr] error: could not compile `rustls-cng` (example "client") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc7G7y6a/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-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc7G7y6a/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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::hcb0912121b68709f) 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.333a6670197c2e03-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h87a219c8e14de699) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::ha0c8c297cf7db6e1) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::h706e6acdf6051eaa) 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.333a6670197c2e03-cgu.1.rcgu.o:(rustls_cng::store::CertStore::open::hc6634e2fbeb1acb2) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::h350c87d04bf20784) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::hcaa4554e069cd02b) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h2a62297113dbd424) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h236b1927d2a0e81a) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::hdb4237c291b3b7d0) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h66df9be346bfc6ce) 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.333a6670197c2e03-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8881a9785a6eccfb) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h9e12aa792a5aef41) 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.333a6670197c2e03-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::h6475e594a8d6fa40) 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] running `Command { std: "docker" "inspect" "2f09fe74d2410a14e7a9e2e31eec6836f54796a15dfc90ac54503b05ad4a9ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f09fe74d2410a14e7a9e2e31eec6836f54796a15dfc90ac54503b05ad4a9ec8", kill_on_drop: false }` [INFO] [stdout] 2f09fe74d2410a14e7a9e2e31eec6836f54796a15dfc90ac54503b05ad4a9ec8