START lib/libssl/rust-openssl 2024-09-05T06:00:55Z ==== rust-openssl-test ==== cp /usr/src/regress/lib/libssl/rust-openssl/Cargo.toml /usr/src/regress/lib/libssl/rust-openssl/obj/ mkdir -p .cargo cp /usr/src/regress/lib/libssl/rust-openssl/config.toml .cargo/ cd /usr/src/regress/lib/libssl/rust-openssl/obj && ln -sf /usr/local/share/rust-openssl-tests/openssl /usr/local/share/rust-openssl-tests/openssl-errors /usr/local/share/rust-openssl-tests/openssl-macros /usr/local/share/rust-openssl-tests/openssl-sys /usr/local/share/rust-openssl-tests/systest . touch .workspace cd /usr/src/regress/lib/libssl/rust-openssl/obj && env CC=cc cargo test --offline --color=never -- --color=never warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions Locking 85 packages to latest compatible versions Adding bitflags v1.3.2 (latest: v2.6.0) Adding cfg-if v0.1.10 (latest: v1.0.0) Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.12 Compiling libc v0.2.158 Compiling shlex v1.3.0 Compiling vcpkg v0.2.15 Compiling cc v1.1.14 Compiling pkg-config v0.3.30 Compiling quote v1.0.37 Compiling serde v1.0.209 Compiling syn v2.0.76 Compiling dirs-sys v0.3.7 Compiling foreign-types-shared v0.1.1 Compiling cfg-if v0.1.10 Compiling openssl v0.10.66 (/usr/obj/regress/lib/libssl/rust-openssl/openssl) Compiling cfg-if v1.0.0 Compiling dirs v2.0.2 Compiling foreign-types v0.3.2 Compiling once_cell v1.19.0 Compiling semver v1.0.23 Compiling openssl-sys v0.9.103 (/usr/obj/regress/lib/libssl/rust-openssl/openssl-sys) Compiling serde_json v1.0.127 Compiling bitflags v2.6.0 Compiling term v0.6.1 Compiling itoa v1.0.11 Compiling unicode-xid v0.2.5 Compiling memchr v2.7.4 error: failed to run custom build command for `openssl-sys v0.9.103 (/usr/obj/regress/lib/libssl/rust-openssl/openssl-sys)` Caused by: process didn't exit successfully: `/usr/obj/regress/lib/libssl/rust-openssl/target/debug/build/openssl-sys-b95894348361b070/build-script-main` (exit status: 101) --- stdout cargo:rustc-check-cfg=cfg(osslconf, values("OPENSSL_NO_OCB", "OPENSSL_NO_SM4", "OPENSSL_NO_SEED", "OPENSSL_NO_CHACHA", "OPENSSL_NO_CAST", "OPENSSL_NO_IDEA", "OPENSSL_NO_CAMELLIA", "OPENSSL_NO_RC4", "OPENSSL_NO_BF", "OPENSSL_NO_PSK", "OPENSSL_NO_DEPRECATED_3_0", "OPENSSL_NO_SCRYPT", "OPENSSL_NO_SM3", "OPENSSL_NO_RMD160", "OPENSSL_NO_EC2M", "OPENSSL_NO_OCSP", "OPENSSL_NO_CMS", "OPENSSL_NO_COMP", "OPENSSL_NO_SOCK", "OPENSSL_NO_STDIO", "OPENSSL_NO_EC", "OPENSSL_NO_SSL3_METHOD", "OPENSSL_NO_KRB5", "OPENSSL_NO_TLSEXT", "OPENSSL_NO_SRP", "OPENSSL_NO_RFC3779", "OPENSSL_NO_SHA", "OPENSSL_NO_NEXTPROTONEG", "OPENSSL_NO_ENGINE", "OPENSSL_NO_BUF_FREELISTS")) cargo:rustc-check-cfg=cfg(openssl) cargo:rustc-check-cfg=cfg(libressl) cargo:rustc-check-cfg=cfg(boringssl) cargo:rustc-check-cfg=cfg(libressl250) cargo:rustc-check-cfg=cfg(libressl251) cargo:rustc-check-cfg=cfg(libressl252) cargo:rustc-check-cfg=cfg(libressl261) cargo:rustc-check-cfg=cfg(libressl270) cargo:rustc-check-cfg=cfg(libressl271) cargo:rustc-check-cfg=cfg(libressl273) cargo:rustc-check-cfg=cfg(libressl280) cargo:rustc-check-cfg=cfg(libressl281) cargo:rustc-check-cfg=cfg(libressl291) cargo:rustc-check-cfg=cfg(libressl310) cargo:rustc-check-cfg=cfg(libressl321) cargo:rustc-check-cfg=cfg(libressl332) cargo:rustc-check-cfg=cfg(libressl340) cargo:rustc-check-cfg=cfg(libressl350) cargo:rustc-check-cfg=cfg(libressl360) cargo:rustc-check-cfg=cfg(libressl361) cargo:rustc-check-cfg=cfg(libressl370) cargo:rustc-check-cfg=cfg(libressl380) cargo:rustc-check-cfg=cfg(libressl381) cargo:rustc-check-cfg=cfg(libressl382) cargo:rustc-check-cfg=cfg(libressl390) cargo:rustc-check-cfg=cfg(libressl400) cargo:rustc-check-cfg=cfg(ossl101) cargo:rustc-check-cfg=cfg(ossl102) cargo:rustc-check-cfg=cfg(ossl102f) cargo:rustc-check-cfg=cfg(ossl102h) cargo:rustc-check-cfg=cfg(ossl110) cargo:rustc-check-cfg=cfg(ossl110f) cargo:rustc-check-cfg=cfg(ossl110g) cargo:rustc-check-cfg=cfg(ossl110h) cargo:rustc-check-cfg=cfg(ossl111) cargo:rustc-check-cfg=cfg(ossl111b) cargo:rustc-check-cfg=cfg(ossl111c) cargo:rustc-check-cfg=cfg(ossl111d) cargo:rustc-check-cfg=cfg(ossl300) cargo:rustc-check-cfg=cfg(ossl310) cargo:rustc-check-cfg=cfg(ossl320) cargo:rustc-check-cfg=cfg(ossl330) cargo:rerun-if-env-changed=AARCH64_UNKNOWN_OPENBSD_OPENSSL_LIB_DIR AARCH64_UNKNOWN_OPENBSD_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=AARCH64_UNKNOWN_OPENBSD_OPENSSL_INCLUDE_DIR AARCH64_UNKNOWN_OPENBSD_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=AARCH64_UNKNOWN_OPENBSD_OPENSSL_DIR AARCH64_UNKNOWN_OPENBSD_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=SYSROOT cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rustc-link-lib=ssl cargo:rustc-link-lib=crypto cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-changed=build/expando.c OPT_LEVEL = Some(0) TARGET = Some(aarch64-unknown-openbsd) OUT_DIR = Some(/usr/obj/regress/lib/libssl/rust-openssl/target/debug/build/openssl-sys-5fd93a13d3e34aa2/out) HOST = Some(aarch64-unknown-openbsd) cargo:rerun-if-env-changed=CC_aarch64-unknown-openbsd CC_aarch64-unknown-openbsd = None cargo:rerun-if-env-changed=CC_aarch64_unknown_openbsd CC_aarch64_unknown_openbsd = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = Some(cc) cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM CC_KNOWN_WRAPPER_CUSTOM = None RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(true) cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-openbsd CFLAGS_aarch64-unknown-openbsd = None cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_openbsd CFLAGS_aarch64_unknown_openbsd = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rustc-cfg=osslconf="OPENSSL_NO_BUF_FREELISTS" cargo:rustc-cfg=osslconf="OPENSSL_NO_COMP" cargo:rustc-cfg=osslconf="OPENSSL_NO_EC2M" cargo:rustc-cfg=osslconf="OPENSSL_NO_ENGINE" cargo:rustc-cfg=osslconf="OPENSSL_NO_KRB5" cargo:rustc-cfg=osslconf="OPENSSL_NO_PSK" cargo:rustc-cfg=osslconf="OPENSSL_NO_SRP" cargo:rustc-cfg=osslconf="OPENSSL_NO_SSL3_METHOD" cargo:rustc-cfg=osslconf="OPENSSL_NO_SEED" cargo:rustc-cfg=osslconf="OPENSSL_NO_SCRYPT" cargo:conf=OPENSSL_NO_BUF_FREELISTS,OPENSSL_NO_COMP,OPENSSL_NO_EC2M,OPENSSL_NO_ENGINE,OPENSSL_NO_KRB5,OPENSSL_NO_PSK,OPENSSL_NO_SRP,OPENSSL_NO_SSL3_METHOD,OPENSSL_NO_SEED,OPENSSL_NO_SCRYPT cargo:rustc-cfg=openssl cargo:rustc-cfg=libressl cargo:rustc-cfg=libressl251 cargo:rustc-cfg=libressl252 cargo:rustc-cfg=libressl261 cargo:rustc-cfg=libressl270 cargo:rustc-cfg=libressl271 cargo:rustc-cfg=libressl273 cargo:rustc-cfg=libressl280 cargo:rustc-cfg=libressl281 cargo:rustc-cfg=libressl291 cargo:rustc-cfg=libressl310 cargo:rustc-cfg=libressl321 cargo:rustc-cfg=libressl332 cargo:rustc-cfg=libressl340 cargo:rustc-cfg=libressl350 cargo:rustc-cfg=libressl360 cargo:rustc-cfg=libressl370 cargo:rustc-cfg=libressl380 cargo:rustc-cfg=libressl381 cargo:rustc-cfg=libressl382 cargo:rustc-cfg=libressl390 cargo:rustc-cfg=libressl400 cargo:libressl_version_number=4000000f --- stderr thread 'main' panicked at openssl-sys/build/main.rs:420:5: This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5 through 3.9.x, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... *** Error 101 in . (Makefile:44 'rust-openssl-test') FAILED FAIL lib/libssl/rust-openssl *** Error 101 in . (Makefile:44 'rust-openssl-test')