[INFO] fetching crate rustls-cng 0.6.0... [INFO] testing rustls-cng-0.6.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rustls-cng 0.6.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustls-cng 0.6.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cmake v0.1.52 [INFO] [stderr] Downloaded rustls-pki-types v1.10.1 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded rustls v0.23.20 [INFO] [stderr] Downloaded rustix v0.38.42 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded aws-lc-rs v1.11.1 [INFO] [stderr] Downloaded aws-lc-sys v0.23.1 [INFO] [stderr] Downloaded syn v2.0.90 [INFO] [stderr] Downloaded aws-lc-fips-sys v0.12.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca59b0e73ac465f138bb8652a55257d5fb30fbf417e244031e7bc53d23ad39cf [INFO] running `Command { std: "docker" "start" "-a" "ca59b0e73ac465f138bb8652a55257d5fb30fbf417e244031e7bc53d23ad39cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca59b0e73ac465f138bb8652a55257d5fb30fbf417e244031e7bc53d23ad39cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca59b0e73ac465f138bb8652a55257d5fb30fbf417e244031e7bc53d23ad39cf", kill_on_drop: false }` [INFO] [stdout] ca59b0e73ac465f138bb8652a55257d5fb30fbf417e244031e7bc53d23ad39cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66759b92ee0f5ba5202f3f3e682ea8426ef1eb72ee05d42651fdd1bd7b6facbd [INFO] running `Command { std: "docker" "start" "-a" "66759b92ee0f5ba5202f3f3e682ea8426ef1eb72ee05d42651fdd1bd7b6facbd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [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 zeroize v1.8.1 [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 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 29.73s [INFO] running `Command { std: "docker" "inspect" "66759b92ee0f5ba5202f3f3e682ea8426ef1eb72ee05d42651fdd1bd7b6facbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66759b92ee0f5ba5202f3f3e682ea8426ef1eb72ee05d42651fdd1bd7b6facbd", kill_on_drop: false }` [INFO] [stdout] 66759b92ee0f5ba5202f3f3e682ea8426ef1eb72ee05d42651fdd1bd7b6facbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc369329b35bee4857c14a0dbd339fc1b1c1c7c04d9ab2ef59be60b3627e216 [INFO] running `Command { std: "docker" "start" "-a" "bcc369329b35bee4857c14a0dbd339fc1b1c1c7c04d9ab2ef59be60b3627e216", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling anyhow v1.0.94 [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/rustciUZzqn/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librustls_cng-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/rustciUZzqn/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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h328fb30dfdb02ed1) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::h6a1fbd60afb09e18) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::hc7fd359f5d274aff) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7cf8c9125cea164) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6dd88686cbfd5792) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h6b80f7adefca4cd7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::hf317150ee8e678a9) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h371d2d540e601c8d) 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] [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/rustc9WmJww/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librustls_cng-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/rustc9WmJww/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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6dd88686cbfd5792) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h6b80f7adefca4cd7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::hf317150ee8e678a9) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::find_by_name::h1ec9f8871d5af05e) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::find_by_name::h1ec9f8871d5af05e) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::h0e6890bdae09edca) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::h0e6890bdae09edca) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find_by_sha256_property::h0e6890bdae09edca) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h371d2d540e601c8d) 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcPgFREY/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/rustcPgFREY/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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h328fb30dfdb02ed1) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::h2f64af301be8f858) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::h6a1fbd60afb09e18) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::hc7fd359f5d274aff) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7cf8c9125cea164) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6dd88686cbfd5792) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h6b80f7adefca4cd7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::hf317150ee8e678a9) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::open::h590792150ebbd379) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h371d2d540e601c8d) 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/rustcHJ7bKX/symbols.o" "<9 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-*,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/rustcHJ7bKX/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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h328fb30dfdb02ed1) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::h6a1fbd60afb09e18) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::hc7fd359f5d274aff) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7cf8c9125cea164) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6dd88686cbfd5792) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h6b80f7adefca4cd7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::hf317150ee8e678a9) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h371d2d540e601c8d) 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/rustcuviEML/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/rustcuviEML/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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::error::CngError::from_win32_error::h6b80f7adefca4cd7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::from_pkcs12::hf317150ee8e678a9) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::open::h590792150ebbd379) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(rustls_cng::store::CertStore::do_find::hc0c1c32636798de7) 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.9641534a4567664-cgu.1.rcgu.o:(_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$::drop::h371d2d540e601c8d) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::get_string_property::h98e4978e7c761897) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::bits::h328fb30dfdb02ed1) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::sign::h79f3f266ab1fe00f) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::key::NCryptKey::set_pin::h2f64af301be8f858) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::acquire_key::h6a1fbd60afb09e18) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::cert::CertContext::as_chain_der::h02f6c0de37dc0e7a) 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.9641534a4567664-cgu.0.rcgu.o:(rustls_cng::signer::CngSigner::hash::hc7fd359f5d274aff) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd7cf8c9125cea164) 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.9641534a4567664-cgu.0.rcgu.o:(_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6dd88686cbfd5792) 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" "bcc369329b35bee4857c14a0dbd339fc1b1c1c7c04d9ab2ef59be60b3627e216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc369329b35bee4857c14a0dbd339fc1b1c1c7c04d9ab2ef59be60b3627e216", kill_on_drop: false }` [INFO] [stdout] bcc369329b35bee4857c14a0dbd339fc1b1c1c7c04d9ab2ef59be60b3627e216