Build Information
Failed to build ServerCrypto, reference master (4ee876
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 07:06:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexaubry/ServerCrypto.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexaubry/ServerCrypto
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4ee8761 Fix Linux pointer type errors
Cloned https://github.com/alexaubry/ServerCrypto.git
Revision (git rev-parse @):
4ee87617153c84d6ca2ca6e8b3181848d6b3277a
SUCCESS checkout https://github.com/alexaubry/ServerCrypto.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexaubry/ServerCrypto.git
https://github.com/alexaubry/ServerCrypto.git
{
"dependencies" : [
{
"identity" : "ctls",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/ctls"
}
],
"manifest_display_name" : "ServerCrypto",
"name" : "ServerCrypto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CryptoSupport",
"targets" : [
"CryptoSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Hash",
"targets" : [
"Hash"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Signature",
"targets" : [
"Signature"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Signature",
"module_type" : "SwiftTarget",
"name" : "Signature",
"path" : "Sources/Signature",
"product_memberships" : [
"Signature"
],
"sources" : [
"AsymmetricKey.swift",
"Exports.swift",
"HMACKey.swift",
"Signer.swift"
],
"target_dependencies" : [
"CryptoSupport",
"Hash"
],
"type" : "library"
},
{
"c99name" : "ServerCryptoTests",
"module_type" : "SwiftTarget",
"name" : "ServerCryptoTests",
"path" : "Tests/ServerCryptoTests",
"sources" : [
"CryptoSupport/CryptoErrorTests.swift",
"CryptoSupport/HexTests.swift",
"Hash/HashTestData.swift",
"Hash/HashTests.swift",
"Signature/ECDSA/ECDSASignatures.swift",
"Signature/ECDSA/ECDSATests.swift",
"Signature/HMAC/HMACSignatures.swift",
"Signature/HMAC/HMACTests.swift",
"Signature/RSA/RSATestVectors.swift",
"Signature/RSA/RSATests.swift",
"Signature/SignatureTestsCoordinator.swift"
],
"target_dependencies" : [
"CryptoSupport",
"Hash",
"Signature"
],
"type" : "test"
},
{
"c99name" : "Hash",
"module_type" : "SwiftTarget",
"name" : "Hash",
"path" : "Sources/Hash",
"product_memberships" : [
"Hash",
"Signature"
],
"sources" : [
"Exports.swift",
"Hasher.swift"
],
"target_dependencies" : [
"CryptoSupport"
],
"type" : "library"
},
{
"c99name" : "CryptoSupport",
"module_type" : "SwiftTarget",
"name" : "CryptoSupport",
"path" : "Sources/CryptoSupport",
"product_memberships" : [
"CryptoSupport",
"Hash",
"Signature"
],
"sources" : [
"CryptoError.swift",
"CryptoProvider.swift",
"Hex.swift",
"Protocols.swift"
],
"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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module CryptoSupport
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
[6/9] Compiling CryptoSupport Protocols.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
[7/9] Compiling CryptoSupport Hex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
[8/9] Compiling CryptoSupport CryptoError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
[9/9] Compiling CryptoSupport CryptoProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
Fetching https://github.com/vapor/ctls
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls from cache (0.63s)
Computing version for https://github.com/vapor/ctls
Computed https://github.com/vapor/ctls at 1.1.3 (1.23s)
Creating working copy for https://github.com/vapor/ctls
Working copy of https://github.com/vapor/ctls resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'spi-builder-workspace': dependency 'ctls' 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 ctls using your system-packager:
brew install openssl
warning: you may be able to install ctls using your system-packager:
brew install openssl
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling CryptoSupport Protocols.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
[3/6] Compiling CryptoSupport Hex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module CryptoSupport
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
[5/6] Compiling CryptoSupport CryptoProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
[6/6] Compiling CryptoSupport CryptoError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build Objective-C module 'CTLS'
8 |
9 | /**
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'spi-builder-workspace': dependency 'ctls' 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 ctls using your system-packager:
brew install openssl
warning: you may be able to install ctls using your system-packager:
brew install openssl
BUILD FAILURE 6.1 macosSpm