Build Information
Failed to build Crypto, reference 3.4.1 (105c2f
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 22:46:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
[16/20159] Fetching swift-nio-ssl-support, core
Fetched https://github.com/vapor/core.git from cache (1.47s)
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (1.47s)
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.08s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.58s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.97s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.59s)
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.51s)
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.10s)
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
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "open-crypto",
"name": "Crypto",
"url": "https://github.com/vapor/open-crypto.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/open-crypto",
"dependencies": [
{
"identity": "core",
"name": "Core",
"url": "https://github.com/vapor/core.git",
"version": "3.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
}
]
},
{
"identity": "swift-nio-ssl-support",
"name": "swift-nio-ssl-support",
"url": "https://github.com/apple/swift-nio-ssl-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl-support",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/vapor/open-crypto.git
[1/2786] Fetching open-crypto
Fetched https://github.com/vapor/open-crypto.git from cache (0.83s)
Fetching https://github.com/apple/swift-nio-ssl-support.git from cache
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/core.git from cache (0.55s)
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.55s)
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 (0.60s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.03s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.82s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.45s)
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 (0.50s)
Creating working copy for https://github.com/vapor/open-crypto.git
Working copy of https://github.com/vapor/open-crypto.git resolved at 3.4.1 (105c2f8)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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-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-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
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: '.resolve-product-dependencies': dependency 'open-crypto' is not used by any target
Found 2 product dependencies
- Core
- swift-nio-ssl-support
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/open-crypto.git
https://github.com/vapor/open-crypto.git
{
"dependencies" : [
{
"identity" : "core",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/core.git"
},
{
"identity" : "swift-nio-ssl-support",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl-support.git"
}
],
"manifest_display_name" : "Crypto",
"name" : "Crypto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Crypto",
"targets" : [
"Crypto"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Random",
"targets" : [
"Random"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RandomTests",
"module_type" : "SwiftTarget",
"name" : "RandomTests",
"path" : "Tests/RandomTests",
"sources" : [
"RandomTests.swift"
],
"target_dependencies" : [
"Random"
],
"type" : "test"
},
{
"c99name" : "Random",
"module_type" : "SwiftTarget",
"name" : "Random",
"path" : "Sources/Random",
"product_dependencies" : [
"Bits"
],
"product_memberships" : [
"Crypto",
"Random"
],
"sources" : [
"Array+Random.swift",
"OSRandom.swift",
"RandomProtocol.swift",
"URandom.swift"
],
"type" : "library"
},
{
"c99name" : "CryptoTests",
"module_type" : "SwiftTarget",
"name" : "CryptoTests",
"path" : "Tests/CryptoTests",
"sources" : [
"BCryptTests.swift",
"CipherTests.swift",
"MD5Tests.swift",
"OTPTests.swift",
"RSATests.swift",
"SHA1Tests.swift",
"SHA2Tests.swift"
],
"target_dependencies" : [
"Crypto"
],
"type" : "test"
},
{
"c99name" : "Crypto",
"module_type" : "SwiftTarget",
"name" : "Crypto",
"path" : "Sources/Crypto",
"product_dependencies" : [
"Async",
"Bits",
"Core",
"COperatingSystem",
"Debugging"
],
"product_memberships" : [
"Crypto"
],
"sources" : [
"BCrypt/BCryptDigest.swift",
"Cipher/AuthenticatedCipher.swift",
"Cipher/AuthenticatedCipherAlgorithm.swift",
"Cipher/Cipher.swift",
"Cipher/CipherAlgorithm.swift",
"Cipher/OpenSSLCipherAlgorithm.swift",
"Cipher/OpenSSLStreamCipher.swift",
"Digest/Digest.swift",
"Digest/DigestAlgorithm.swift",
"MAC/HMAC.swift",
"MAC/OTP.swift",
"RSA/RSA.swift",
"RSA/RSAKey.swift",
"RSA/RSAPadding.swift",
"Random/CryptoRandom.swift",
"Utilities/Base32.swift",
"Utilities/CryptoError.swift",
"Utilities/Deprecated.swift",
"Utilities/Exports.swift"
],
"target_dependencies" : [
"CBase32",
"CBcrypt",
"CCryptoOpenSSL",
"Random"
],
"type" : "library"
},
{
"c99name" : "CCryptoOpenSSL",
"module_type" : "ClangTarget",
"name" : "CCryptoOpenSSL",
"path" : "Sources/CCryptoOpenSSL",
"product_memberships" : [
"Crypto"
],
"sources" : [
"shim.c"
],
"type" : "library"
},
{
"c99name" : "CBcrypt",
"module_type" : "ClangTarget",
"name" : "CBcrypt",
"path" : "Sources/CBcrypt",
"product_memberships" : [
"Crypto"
],
"sources" : [
"bcrypt.c",
"blf.c"
],
"type" : "library"
},
{
"c99name" : "CBase32",
"module_type" : "ClangTarget",
"name" : "CBase32",
"path" : "Sources/CBase32",
"product_memberships" : [
"Crypto"
],
"sources" : [
"base32.c"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/21] Write sources
[9/21] Write swift-version-2F0A5646E1D333AE.txt
[9/21] Write sources
[12/21] Compiling CNIOLinux shim.c
[13/21] Compiling CNIOLinux ifaddrs-android.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/21] Compiling CCryptoOpenSSL shim.c
[14/21] Compiling CBcrypt blf.c
[14/21] Compiling CBase32 base32.c
[14/21] Compiling CBcrypt bcrypt.c
[14/21] Compiling CNIODarwin shim.c
[14/21] Compiling CNIOSHA1 c_nio_sha1.c
[14/21] Compiling c-atomics.c
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
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.
[0/8] Compiling CCryptoOpenSSL shim.c
[0/8] Write swift-version-2F0A5646E1D333AE.txt
[0/8] Compiling CBcrypt blf.c
[0/8] Compiling CNIOSHA1 c_nio_sha1.c
[0/8] Compiling CBcrypt bcrypt.c
[0/8] Compiling CNIODarwin shim.c
[0/8] Compiling c-atomics.c
[0/8] Compiling CBase32 base32.c
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.1 macosSpm