The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Crypto, reference 3.4.1 (105c2f), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 13:26:49 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/open-crypto.git
Reference: 3.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor/open-crypto
 * tag               3.4.1      -> FETCH_HEAD
HEAD is now at 105c2f8 fix openssl 1.0 / 1.1 error
Cloned https://github.com/vapor/open-crypto.git
Revision (git rev-parse @):
105c2f875588bf40dd24c00cef3644bf8e327770
SUCCESS checkout https://github.com/vapor/open-crypto.git at 3.4.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vapor/open-crypto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/21] Write sources
[9/21] Write swift-version-1EA4D86E10B52AF.txt
[9/21] Write sources
[12/24] Compiling CNIOLinux ifaddrs-android.c
[13/24] Compiling CNIOLinux shim.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CCryptoOpenSSL/shim.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h:4:10: fatal error: 'openssl/conf.h' file not found
    4 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[14/24] Compiling CCryptoOpenSSL shim.c
[14/24] Compiling CBase32 base32.c
[14/24] Compiling CBcrypt bcrypt.c
[14/24] Compiling c-atomics.c
[14/24] Compiling CNIODarwin shim.c
[14/24] Compiling CBcrypt blf.c
[14/24] Compiling CNIOSHA1 c_nio_sha1.c
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
[17/20159] Fetching swift-nio-ssl-support, core
Fetched https://github.com/vapor/core.git from cache (1.69s)
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (1.69s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (2.20s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.49s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (12.25s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.59s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.12s)
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'spi-builder-workspace': dependency 'swift-nio-ssl-support' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install libressl
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
    brew install libressl
warning: couldn't find pc file for zlib
BUILD FAILURE 6.2 macosSpm