==== rust-openssl-test ==== cp /home/src/regress/lib/libssl/rust-openssl/Cargo.toml /home/src/regress/lib/libssl/rust-openssl/obj/ mkdir -p .cargo cp /home/src/regress/lib/libssl/rust-openssl/config.toml .cargo/ cd /home/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 /home/src/regress/lib/libssl/rust-openssl/obj && env CC=cc cargo test --offline --color=never -- --color=never Locking 101 packages to latest compatible versions Compiling proc-macro2 v1.0.95 Compiling unicode-ident v1.0.18 Compiling libc v0.2.174 Compiling shlex v1.3.0 Compiling vcpkg v0.2.15 Compiling cc v1.2.27 Compiling pkg-config v0.3.32 Compiling quote v1.0.40 Compiling serde v1.0.219 Compiling syn v2.0.104 Compiling dirs-sys v0.3.7 Compiling cfg-if v1.0.1 Compiling cfg-if v0.1.10 Compiling foreign-types-shared v0.1.1 Compiling openssl v0.10.73 (/home/obj/regress/lib/libssl/rust-openssl/openssl) Compiling foreign-types v0.3.2 Compiling dirs v2.0.2 Compiling once_cell v1.21.3 Compiling serde_json v1.0.140 Compiling semver v1.0.26 Compiling bitflags v2.9.1 Compiling term v0.6.1 Compiling memchr v2.7.5 Compiling openssl-sys v0.9.109 (/home/obj/regress/lib/libssl/rust-openssl/openssl-sys) Compiling unicode-xid v0.2.6 Compiling itoa v1.0.15 Compiling ryu v1.0.20 Compiling openssl-errors v0.2.0 (/home/obj/regress/lib/libssl/rust-openssl/openssl-errors) Compiling log v0.4.27 Compiling bitflags v1.3.2 Compiling rustc_version v0.4.1 Compiling indoc v2.0.6 Compiling hex v0.4.3 warning: implicit autoref creates a reference to the dereference of a raw pointer --> openssl-sys/src/lib.rs:170:26 | 170 | let mutex = &(*MUTEXES)[n as usize]; | ^^^^^^^^^^^^^^^^^^^^^^ | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: `#[warn(dangerous_implicit_autorefs)]` on by default help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 170 | let mutex = &(&(*MUTEXES))[n as usize]; | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> openssl-sys/src/lib.rs:173:17 | 173 | (*GUARDS)[n as usize] = Some(mutex.lock().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^ | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 173 | (&mut (*GUARDS))[n as usize] = Some(mutex.lock().unwrap()); | +++++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> openssl-sys/src/lib.rs:175:31 | 175 | if let None = (*GUARDS)[n as usize].take() { | ^^^^^^^^^^^^^^^^^^^^^ | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 175 | if let None = (&mut (*GUARDS))[n as usize].take() { | +++++ + warning: `openssl-sys` (lib) generated 3 warnings warning: `openssl-sys` (lib test) generated 3 warnings (3 duplicates) Compiling serde_derive v1.0.219 Compiling openssl-macros v0.1.1 (/home/obj/regress/lib/libssl/rust-openssl/openssl-macros) Compiling garando_pos v0.1.0 Compiling garando_errors v0.1.0 Compiling garando_syntax v0.1.1 Compiling ctest v0.4.11 Compiling systest v0.1.0 (/home/obj/regress/lib/libssl/rust-openssl/systest) warning: systest@0.1.0: /home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1967:12: error: incompatible function pointer types returning 'RSA *(const EVP_PKEY *)' (aka 'struct rsa_st *(const struct evp_pkey_st *)') from a function with result type 'RSA *(*)(EVP_PKEY *)' (aka 'struct rsa_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] warning: systest@0.1.0: 1967 | return EVP_PKEY_get1_RSA; warning: systest@0.1.0: | ^~~~~~~~~~~~~~~~~ warning: systest@0.1.0: /home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1973:12: error: incompatible function pointer types returning 'DSA *(const EVP_PKEY *)' (aka 'struct dsa_st *(const struct evp_pkey_st *)') from a function with result type 'DSA *(*)(EVP_PKEY *)' (aka 'struct dsa_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] warning: systest@0.1.0: 1973 | return EVP_PKEY_get1_DSA; warning: systest@0.1.0: | ^~~~~~~~~~~~~~~~~ warning: systest@0.1.0: /home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1979:12: error: incompatible function pointer types returning 'DH *(const EVP_PKEY *)' (aka 'struct dh_st *(const struct evp_pkey_st *)') from a function with result type 'DH *(*)(EVP_PKEY *)' (aka 'struct dh_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] warning: systest@0.1.0: 1979 | return EVP_PKEY_get1_DH; warning: systest@0.1.0: | ^~~~~~~~~~~~~~~~ warning: systest@0.1.0: /home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1985:12: error: incompatible function pointer types returning 'EC_KEY *(const EVP_PKEY *)' (aka 'struct ec_key_st *(const struct evp_pkey_st *)') from a function with result type 'EC_KEY *(*)(EVP_PKEY *)' (aka 'struct ec_key_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] warning: systest@0.1.0: 1985 | return EVP_PKEY_get1_EC_KEY; warning: systest@0.1.0: | ^~~~~~~~~~~~~~~~~~~~ warning: systest@0.1.0: 4 errors generated. error: failed to run custom build command for `systest v0.1.0 (/home/obj/regress/lib/libssl/rust-openssl/systest)` Caused by: process didn't exit successfully: `/home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-554cfa5f44730f77/build-script-build` (exit status: 1) --- stdout ----------------------------------------- cargo:rerun-if-changed=../openssl-sys/src/lib.rs cargo:rerun-if-changed=../openssl-sys/src/./macros.rs cargo:rerun-if-changed=../openssl-sys/src/./aes.rs cargo:rerun-if-changed=../openssl-sys/src/./asn1.rs cargo:rerun-if-changed=../openssl-sys/src/./bio.rs cargo:rerun-if-changed=../openssl-sys/src/./bn.rs cargo:rerun-if-changed=../openssl-sys/src/./cms.rs cargo:rerun-if-changed=../openssl-sys/src/./crypto.rs cargo:rerun-if-changed=../openssl-sys/src/./dtls1.rs cargo:rerun-if-changed=../openssl-sys/src/./ec.rs cargo:rerun-if-changed=../openssl-sys/src/./err.rs cargo:rerun-if-changed=../openssl-sys/src/./evp.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/mod.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/aes.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/asn1.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/bio.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/bn.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/cmac.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/cms.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/conf.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/crypto.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/dh.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/dsa.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/ec.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/err.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/evp.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/hmac.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/kdf.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/object.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/ocsp.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/params.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/pem.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/pkcs12.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/pkcs7.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/poly1305.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/provider.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/rand.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/rsa.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/sha.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/srtp.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/ssl.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/stack.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/tls1.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/types.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/x509.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/x509_vfy.rs cargo:rerun-if-changed=../openssl-sys/src/./handwritten/x509v3.rs cargo:rerun-if-changed=../openssl-sys/src/./obj_mac.rs cargo:rerun-if-changed=../openssl-sys/src/./ocsp.rs cargo:rerun-if-changed=../openssl-sys/src/./pem.rs cargo:rerun-if-changed=../openssl-sys/src/./pkcs7.rs cargo:rerun-if-changed=../openssl-sys/src/./rsa.rs cargo:rerun-if-changed=../openssl-sys/src/./sha.rs cargo:rerun-if-changed=../openssl-sys/src/./srtp.rs cargo:rerun-if-changed=../openssl-sys/src/./ssl.rs cargo:rerun-if-changed=../openssl-sys/src/./ssl3.rs cargo:rerun-if-changed=../openssl-sys/src/./tls1.rs cargo:rerun-if-changed=../openssl-sys/src/./types.rs cargo:rerun-if-changed=../openssl-sys/src/./x509.rs cargo:rerun-if-changed=../openssl-sys/src/./x509_vfy.rs cargo:rerun-if-changed=../openssl-sys/src/./x509v3.rs TARGET = Some(x86_64-unknown-openbsd) OPT_LEVEL = Some(0) HOST = Some(x86_64-unknown-openbsd) cargo:rerun-if-env-changed=CC_x86_64-unknown-openbsd CC_x86_64-unknown-openbsd = None cargo:rerun-if-env-changed=CC_x86_64_unknown_openbsd CC_x86_64_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 CFLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_openbsd CFLAGS_x86_64_unknown_openbsd = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-openbsd CFLAGS_x86_64-unknown-openbsd = None CARGO_ENCODED_RUSTFLAGS = Some() cargo:warning=/home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1967:12: error: incompatible function pointer types returning 'RSA *(const EVP_PKEY *)' (aka 'struct rsa_st *(const struct evp_pkey_st *)') from a function with result type 'RSA *(*)(EVP_PKEY *)' (aka 'struct rsa_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] cargo:warning= 1967 | return EVP_PKEY_get1_RSA; cargo:warning= | ^~~~~~~~~~~~~~~~~ cargo:warning=/home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1973:12: error: incompatible function pointer types returning 'DSA *(const EVP_PKEY *)' (aka 'struct dsa_st *(const struct evp_pkey_st *)') from a function with result type 'DSA *(*)(EVP_PKEY *)' (aka 'struct dsa_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] cargo:warning= 1973 | return EVP_PKEY_get1_DSA; cargo:warning= | ^~~~~~~~~~~~~~~~~ cargo:warning=/home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1979:12: error: incompatible function pointer types returning 'DH *(const EVP_PKEY *)' (aka 'struct dh_st *(const struct evp_pkey_st *)') from a function with result type 'DH *(*)(EVP_PKEY *)' (aka 'struct dh_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] cargo:warning= 1979 | return EVP_PKEY_get1_DH; cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=/home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c:1985:12: error: incompatible function pointer types returning 'EC_KEY *(const EVP_PKEY *)' (aka 'struct ec_key_st *(const struct evp_pkey_st *)') from a function with result type 'EC_KEY *(*)(EVP_PKEY *)' (aka 'struct ec_key_st *(*)(struct evp_pkey_st *)') [-Werror,-Wincompatible-function-pointer-types] cargo:warning= 1985 | return EVP_PKEY_get1_EC_KEY; cargo:warning= | ^~~~~~~~~~~~~~~~~~~~ cargo:warning=4 errors generated. --- stderr rust version: 1.88.0 error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "--target=x86_64-unknown-openbsd" "-I" "/usr/include" "-Wall" "-Wextra" "-Wall" "-Wextra" "-Werror" "-Wno-unused-parameter" "-Wno-type-limits" "-Wno-address-of-packed-member" "-Wno-unknown-warning-option" "-Wno-deprecated-declarations" "-o" "/home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/f7dd568f93f4b03d-all.o" "-c" "/home/obj/regress/lib/libssl/rust-openssl/target/debug/build/systest-879dbdeb89622465/out/all.c" *** Error 101 in . (Makefile:44 'rust-openssl-test') FAILED