[INFO] fetching crate rustls-cng 0.6.0... [INFO] testing rustls-cng-0.6.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rustls-cng 0.6.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rustls-cng 0.6.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustls-cng 0.6.0 [INFO] tweaked toml for crates.io crate rustls-cng 0.6.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustls-cng 0.6.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-lc-rs v1.11.1 [INFO] [stderr] Downloaded aws-lc-fips-sys v0.12.15 [INFO] [stderr] Downloaded aws-lc-sys v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 205bb31e8cb76852d2953b1c50fb1c58d1f52d54beba09aae694acb3672464ed [INFO] running `Command { std: "docker" "start" "-a" "205bb31e8cb76852d2953b1c50fb1c58d1f52d54beba09aae694acb3672464ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "205bb31e8cb76852d2953b1c50fb1c58d1f52d54beba09aae694acb3672464ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "205bb31e8cb76852d2953b1c50fb1c58d1f52d54beba09aae694acb3672464ed", kill_on_drop: false }` [INFO] [stdout] 205bb31e8cb76852d2953b1c50fb1c58d1f52d54beba09aae694acb3672464ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2c6b15d2842bc5f83cdc02a7b3d18b594053b646c6e7ee4e6f0be03c8a6567dc [INFO] running `Command { std: "docker" "start" "-a" "2c6b15d2842bc5f83cdc02a7b3d18b594053b646c6e7ee4e6f0be03c8a6567dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling aws-lc-rs v1.11.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [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 27.21s [INFO] running `Command { std: "docker" "inspect" "2c6b15d2842bc5f83cdc02a7b3d18b594053b646c6e7ee4e6f0be03c8a6567dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6b15d2842bc5f83cdc02a7b3d18b594053b646c6e7ee4e6f0be03c8a6567dc", kill_on_drop: false }` [INFO] [stdout] 2c6b15d2842bc5f83cdc02a7b3d18b594053b646c6e7ee4e6f0be03c8a6567dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 583203faf3a633a69fa4c4e3d4eb8c2b322170bf9cd0de64bdf81ca537189467 [INFO] running `Command { std: "docker" "start" "-a" "583203faf3a633a69fa4c4e3d4eb8c2b322170bf9cd0de64bdf81ca537189467", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcb6ALkM/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librustls_cng-a0130f2c70a4a3dc.rlib,librustls-c80a45cc5411ee99.rlib,libsubtle-1fb68ce8837fb783.rlib,libwebpki-7866847b7327465e.rlib,libuntrusted-d5b84143af217070.rlib,libaws_lc_rs-9e03e609aca3de3c.rlib,libaws_lc_sys-3dcd444e696cb305.rlib,libzeroize-09c21d3143f2b564.rlib,librustls_pki_types-6e80d4bddfbb1715.rlib,liblog-0d69b46059aa6af5.rlib,libwindows_sys-7124750bc66ac29e.rlib,libwindows_targets-45dd631e1844f059.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcb6ALkM/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/aws-lc-sys-991195dd4a5e0d00/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_find-26ce12d95bd1890d" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::error::CngError::from_win32_error': [INFO] [stdout] /opt/rustwide/workdir/src/error.rs:33:(.text._ZN10rustls_cng5error8CngError16from_win32_error17h095eda51b5310542E+0x4): undefined reference to `GetLastError' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::from_pkcs12': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:82:(.text._ZN10rustls_cng5store9CertStore11from_pkcs1217h1ac1bb0e3494550eE+0x120): undefined reference to `PFXImportCertStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::do_find': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:190:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0x8b): undefined reference to `CertFindCertificateInStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:195:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0xc3): undefined reference to `CertDuplicateCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::do_find_by_sha256_property': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:211:(.text._ZN10rustls_cng5store9CertStore26do_find_by_sha256_property17h7d2958631a3a8d9fE+0x122): undefined reference to `CertFindCertificateInStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:225:(.text._ZN10rustls_cng5store9CertStore26do_find_by_sha256_property17h7d2958631a3a8d9fE+0x228): undefined reference to `CertGetCertificateContextProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:233:(.text._ZN10rustls_cng5store9CertStore26do_find_by_sha256_property17h7d2958631a3a8d9fE+0x2e7): undefined reference to `CertDuplicateCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::find_by_name': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:252:(.text._ZN10rustls_cng5store9CertStore12find_by_name17h9136de65b2c91182E+0x14c): undefined reference to `CertStrToNameW' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:266:(.text._ZN10rustls_cng5store9CertStore12find_by_name17h9136de65b2c91182E+0x24a): undefined reference to `CertStrToNameW' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:291:(.text._ZN70_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$4drop17he5eb87ab3eb0e960E+0xc): undefined reference to `CertCloseStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:33:(.text._ZN72_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h761228ad88a0288dE+0x31): undefined reference to `CertFreeCertificateContext' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc8K0CZ0/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librustls_cng-a0130f2c70a4a3dc.rlib,libwindows_sys-7124750bc66ac29e.rlib,libwindows_targets-45dd631e1844f059.rlib,librustls-c80a45cc5411ee99.rlib,libsubtle-1fb68ce8837fb783.rlib,libwebpki-7866847b7327465e.rlib,libuntrusted-d5b84143af217070.rlib,libaws_lc_rs-9e03e609aca3de3c.rlib,libaws_lc_sys-3dcd444e696cb305.rlib,libzeroize-09c21d3143f2b564.rlib,librustls_pki_types-6e80d4bddfbb1715.rlib,liblog-0d69b46059aa6af5.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc8K0CZ0/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/aws-lc-sys-991195dd4a5e0d00/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_sign-33a9d29b8c4b2eb1" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:33:(.text._ZN72_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h761228ad88a0288dE+0x31): undefined reference to `CertFreeCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::cert::CertContext::acquire_key': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:70:(.text._ZN10rustls_cng4cert11CertContext11acquire_key17h04a432c3aedcfa24E+0x85): undefined reference to `CryptAcquireCertificatePrivateKey' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:60:(.text._ZN67_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$4drop17hff405029f78cba2dE+0x31): undefined reference to `NCryptFreeObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::get_string_property': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:99:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x5a): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:110:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x17c): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::bits': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:131:(.text._ZN10rustls_cng3key9NCryptKey4bits17hc7a716a6b409a830E+0x61): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::sign': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:208:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x23c): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:221:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x39f): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::signer::CngSigner::hash': [INFO] [stdout] /opt/rustwide/workdir/src/signer.rs:141:(.text._ZN10rustls_cng6signer9CngSigner4hash17hef575e3da203d934E+0x373): undefined reference to `BCryptHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::error::CngError::from_win32_error': [INFO] [stdout] /opt/rustwide/workdir/src/error.rs:33:(.text._ZN10rustls_cng5error8CngError16from_win32_error17h095eda51b5310542E+0x4): undefined reference to `GetLastError' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::from_pkcs12': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:82:(.text._ZN10rustls_cng5store9CertStore11from_pkcs1217h1ac1bb0e3494550eE+0x120): undefined reference to `PFXImportCertStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::do_find': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:190:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0x8b): undefined reference to `CertFindCertificateInStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:195:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0xc3): undefined reference to `CertDuplicateCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:291:(.text._ZN70_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$4drop17he5eb87ab3eb0e960E+0xc): undefined reference to `CertCloseStore' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcboQ5dX/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libanyhow-5dcdc1ac93e16c88.rlib,librustls_cng-a0130f2c70a4a3dc.rlib,libwindows_sys-7124750bc66ac29e.rlib,libwindows_targets-45dd631e1844f059.rlib,librustls-c80a45cc5411ee99.rlib,libsubtle-1fb68ce8837fb783.rlib,libwebpki-7866847b7327465e.rlib,libuntrusted-d5b84143af217070.rlib,libaws_lc_rs-9e03e609aca3de3c.rlib,libaws_lc_sys-3dcd444e696cb305.rlib,libzeroize-09c21d3143f2b564.rlib,librustls_pki_types-6e80d4bddfbb1715.rlib,liblog-0d69b46059aa6af5.rlib,libclap-906cbfe377ee5db8.rlib,libclap_builder-b89712b142a4e6fe.rlib,libstrsim-e5a1ceb0bdbece3f.rlib,libanstream-527927351f6d80a2.rlib,libanstyle_query-ebe1135144359f1f.rlib,libis_terminal_polyfill-67333c1fd864e7ce.rlib,libcolorchoice-aaa33b9b4c6e047f.rlib,libanstyle_parse-5c3251d51efe2012.rlib,libutf8parse-566e819dd32c0a03.rlib,libclap_lex-b04abc9e061f964d.rlib,libanstyle-b75f78861eab6f9d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcboQ5dX/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/aws-lc-sys-991195dd4a5e0d00/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/client-bc3c3b6f1d15f64b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:33:(.text._ZN72_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h761228ad88a0288dE+0x31): undefined reference to `CertFreeCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::cert::CertContext::acquire_key': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:70:(.text._ZN10rustls_cng4cert11CertContext11acquire_key17h04a432c3aedcfa24E+0x85): undefined reference to `CryptAcquireCertificatePrivateKey' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::cert::CertContext::as_chain_der': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:110:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x1d5): undefined reference to `CertGetCertificateContextProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/cert.rs:123:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x259): undefined reference to `CertGetCertificateChain' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/cert.rs:158:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x793): undefined reference to `CertFreeCertificateChain' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:60:(.text._ZN67_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$4drop17hff405029f78cba2dE+0x31): undefined reference to `NCryptFreeObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::get_string_property': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:99:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x5a): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:110:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x17c): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::bits': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:131:(.text._ZN10rustls_cng3key9NCryptKey4bits17hc7a716a6b409a830E+0x61): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::set_pin': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:160:(.text._ZN10rustls_cng3key9NCryptKey7set_pin17ha1c61acd974aafbfE+0x117): undefined reference to `NCryptSetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::sign': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:208:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x23c): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:221:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x39f): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::signer::CngSigner::hash': [INFO] [stdout] /opt/rustwide/workdir/src/signer.rs:141:(.text._ZN10rustls_cng6signer9CngSigner4hash17hef575e3da203d934E+0x373): undefined reference to `BCryptHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::error::CngError::from_win32_error': [INFO] [stdout] /opt/rustwide/workdir/src/error.rs:33:(.text._ZN10rustls_cng5error8CngError16from_win32_error17h095eda51b5310542E+0x4): undefined reference to `GetLastError' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::open': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:58:(.text._ZN10rustls_cng5store9CertStore4open17hae4d225dae7d47e3E+0xfb): undefined reference to `CertOpenStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::from_pkcs12': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:82:(.text._ZN10rustls_cng5store9CertStore11from_pkcs1217h1ac1bb0e3494550eE+0x120): undefined reference to `PFXImportCertStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::do_find': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:190:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0x8b): undefined reference to `CertFindCertificateInStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:195:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0xc3): undefined reference to `CertDuplicateCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:291:(.text._ZN70_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$4drop17he5eb87ab3eb0e960E+0xc): undefined reference to `CertCloseStore' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcIDBFdI/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libanyhow-5dcdc1ac93e16c88.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librustls_cng-a0130f2c70a4a3dc.rlib,libwindows_sys-7124750bc66ac29e.rlib,libwindows_targets-45dd631e1844f059.rlib,librustls-c80a45cc5411ee99.rlib,libsubtle-1fb68ce8837fb783.rlib,libwebpki-7866847b7327465e.rlib,libuntrusted-d5b84143af217070.rlib,libaws_lc_rs-9e03e609aca3de3c.rlib,libaws_lc_sys-3dcd444e696cb305.rlib,libzeroize-09c21d3143f2b564.rlib,librustls_pki_types-6e80d4bddfbb1715.rlib,liblog-0d69b46059aa6af5.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcIDBFdI/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/aws-lc-sys-991195dd4a5e0d00/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_client_server-99ebec7f6aadba6c" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:33:(.text._ZN72_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h761228ad88a0288dE+0x31): undefined reference to `CertFreeCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::cert::CertContext::acquire_key': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:70:(.text._ZN10rustls_cng4cert11CertContext11acquire_key17h04a432c3aedcfa24E+0x85): undefined reference to `CryptAcquireCertificatePrivateKey' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::cert::CertContext::as_chain_der': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:110:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x1d5): undefined reference to `CertGetCertificateContextProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/cert.rs:123:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x259): undefined reference to `CertGetCertificateChain' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/cert.rs:158:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x793): undefined reference to `CertFreeCertificateChain' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:60:(.text._ZN67_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$4drop17hff405029f78cba2dE+0x31): undefined reference to `NCryptFreeObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::get_string_property': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:99:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x5a): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:110:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x17c): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::bits': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:131:(.text._ZN10rustls_cng3key9NCryptKey4bits17hc7a716a6b409a830E+0x61): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::sign': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:208:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x23c): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:221:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x39f): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::signer::CngSigner::hash': [INFO] [stdout] /opt/rustwide/workdir/src/signer.rs:141:(.text._ZN10rustls_cng6signer9CngSigner4hash17hef575e3da203d934E+0x373): undefined reference to `BCryptHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::error::CngError::from_win32_error': [INFO] [stdout] /opt/rustwide/workdir/src/error.rs:33:(.text._ZN10rustls_cng5error8CngError16from_win32_error17h095eda51b5310542E+0x4): undefined reference to `GetLastError' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::from_pkcs12': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:82:(.text._ZN10rustls_cng5store9CertStore11from_pkcs1217h1ac1bb0e3494550eE+0x120): undefined reference to `PFXImportCertStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::do_find': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:190:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0x8b): undefined reference to `CertFindCertificateInStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:195:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0xc3): undefined reference to `CertDuplicateCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:291:(.text._ZN70_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$4drop17he5eb87ab3eb0e960E+0xc): undefined reference to `CertCloseStore' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc4ncUgK/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libanyhow-5dcdc1ac93e16c88.rlib,librustls_cng-a0130f2c70a4a3dc.rlib,libwindows_sys-7124750bc66ac29e.rlib,libwindows_targets-45dd631e1844f059.rlib,librustls-c80a45cc5411ee99.rlib,libsubtle-1fb68ce8837fb783.rlib,libwebpki-7866847b7327465e.rlib,libuntrusted-d5b84143af217070.rlib,libaws_lc_rs-9e03e609aca3de3c.rlib,libaws_lc_sys-3dcd444e696cb305.rlib,libzeroize-09c21d3143f2b564.rlib,librustls_pki_types-6e80d4bddfbb1715.rlib,liblog-0d69b46059aa6af5.rlib,libclap-906cbfe377ee5db8.rlib,libclap_builder-b89712b142a4e6fe.rlib,libstrsim-e5a1ceb0bdbece3f.rlib,libanstream-527927351f6d80a2.rlib,libanstyle_query-ebe1135144359f1f.rlib,libis_terminal_polyfill-67333c1fd864e7ce.rlib,libcolorchoice-aaa33b9b4c6e047f.rlib,libanstyle_parse-5c3251d51efe2012.rlib,libutf8parse-566e819dd32c0a03.rlib,libclap_lex-b04abc9e061f964d.rlib,libanstyle-b75f78861eab6f9d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc4ncUgK/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/aws-lc-sys-991195dd4a5e0d00/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/server-aba8bfb284d9599a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:33:(.text._ZN72_$LT$rustls_cng..cert..InnerContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h761228ad88a0288dE+0x31): undefined reference to `CertFreeCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::cert::CertContext::acquire_key': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:70:(.text._ZN10rustls_cng4cert11CertContext11acquire_key17h04a432c3aedcfa24E+0x85): undefined reference to `CryptAcquireCertificatePrivateKey' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::cert::CertContext::as_chain_der': [INFO] [stdout] /opt/rustwide/workdir/src/cert.rs:110:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x1d5): undefined reference to `CertGetCertificateContextProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/cert.rs:123:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x259): undefined reference to `CertGetCertificateChain' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/cert.rs:158:(.text._ZN10rustls_cng4cert11CertContext12as_chain_der17h1525ffbd9f3c0313E+0x793): undefined reference to `CertFreeCertificateChain' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:60:(.text._ZN67_$LT$rustls_cng..key..InnerKey$u20$as$u20$core..ops..drop..Drop$GT$4drop17hff405029f78cba2dE+0x31): undefined reference to `NCryptFreeObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::get_string_property': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:99:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x5a): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:110:(.text._ZN10rustls_cng3key9NCryptKey19get_string_property17hefff9b385f37d0e3E+0x17c): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::bits': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:131:(.text._ZN10rustls_cng3key9NCryptKey4bits17hc7a716a6b409a830E+0x61): undefined reference to `NCryptGetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::set_pin': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:160:(.text._ZN10rustls_cng3key9NCryptKey7set_pin17ha1c61acd974aafbfE+0x117): undefined reference to `NCryptSetProperty' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::key::NCryptKey::sign': [INFO] [stdout] /opt/rustwide/workdir/src/key.rs:208:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x23c): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/key.rs:221:(.text._ZN10rustls_cng3key9NCryptKey4sign17hc353b26710a32d9dE+0x39f): undefined reference to `NCryptSignHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.0.rcgu.o): in function `rustls_cng::signer::CngSigner::hash': [INFO] [stdout] /opt/rustwide/workdir/src/signer.rs:141:(.text._ZN10rustls_cng6signer9CngSigner4hash17hef575e3da203d934E+0x373): undefined reference to `BCryptHash' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::error::CngError::from_win32_error': [INFO] [stdout] /opt/rustwide/workdir/src/error.rs:33:(.text._ZN10rustls_cng5error8CngError16from_win32_error17h095eda51b5310542E+0x4): undefined reference to `GetLastError' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::open': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:58:(.text._ZN10rustls_cng5store9CertStore4open17hae4d225dae7d47e3E+0xfb): undefined reference to `CertOpenStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::from_pkcs12': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:82:(.text._ZN10rustls_cng5store9CertStore11from_pkcs1217h1ac1bb0e3494550eE+0x120): undefined reference to `PFXImportCertStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `rustls_cng::store::CertStore::do_find': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:190:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0x8b): undefined reference to `CertFindCertificateInStore' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/store.rs:195:(.text._ZN10rustls_cng5store9CertStore7do_find17h36e27104949f20eaE+0xc3): undefined reference to `CertDuplicateCertificateContext' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustls_cng-a0130f2c70a4a3dc.rlib(rustls_cng-a0130f2c70a4a3dc.rustls_cng.9ba54c320126d846-cgu.1.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/store.rs:291:(.text._ZN70_$LT$rustls_cng..store..CertStore$u20$as$u20$core..ops..drop..Drop$GT$4drop17he5eb87ab3eb0e960E+0xc): undefined reference to `CertCloseStore' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-cng` (example "server") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "583203faf3a633a69fa4c4e3d4eb8c2b322170bf9cd0de64bdf81ca537189467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583203faf3a633a69fa4c4e3d4eb8c2b322170bf9cd0de64bdf81ca537189467", kill_on_drop: false }` [INFO] [stdout] 583203faf3a633a69fa4c4e3d4eb8c2b322170bf9cd0de64bdf81ca537189467