Build Information
Failed to build SecurityExtensions, reference 4.0.1 (22a6b3
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:38:44 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/svdo/swift-SecurityExtensions.git
Reference: 4.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/svdo/swift-SecurityExtensions
* tag 4.0.1 -> FETCH_HEAD
HEAD is now at 22a6b3a Merge pull request #4 from skogland/master
Cloned https://github.com/svdo/swift-SecurityExtensions.git
Revision (git rev-parse @):
22a6b3ad4afae59e8dd33b0ccb45fa50cb1deab3
SUCCESS checkout https://github.com/svdo/swift-SecurityExtensions.git at 4.0.1
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto
[1/1641] Fetching idzswiftcommoncrypto
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (1.01s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (1.60s)
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.13.1
========================================
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": "swift-securityextensions",
"name": "SecurityExtensions",
"url": "https://github.com/svdo/swift-SecurityExtensions.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-SecurityExtensions",
"dependencies": [
{
"identity": "idzswiftcommoncrypto",
"name": "IDZSwiftCommonCrypto",
"url": "https://github.com/iosdevzone/IDZSwiftCommonCrypto",
"version": "0.16.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IDZSwiftCommonCrypto",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/svdo/swift-SecurityExtensions.git
[1/1226] Fetching swift-securityextensions
Fetched https://github.com/svdo/swift-SecurityExtensions.git from cache (0.82s)
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (0.42s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.16.1 (1.01s)
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.16.1
Creating working copy for https://github.com/svdo/swift-SecurityExtensions.git
Working copy of https://github.com/svdo/swift-SecurityExtensions.git resolved at 4.0.1 (22a6b3a)
warning: '.resolve-product-dependencies': dependency 'swift-securityextensions' is not used by any target
Found 1 product dependencies
- IDZSwiftCommonCrypto
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/svdo/swift-SecurityExtensions.git
https://github.com/svdo/swift-SecurityExtensions.git
{
"dependencies" : [
{
"identity" : "idzswiftcommoncrypto",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/iosdevzone/IDZSwiftCommonCrypto"
}
],
"manifest_display_name" : "SecurityExtensions",
"name" : "SecurityExtensions",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SecurityExtensions",
"targets" : [
"SecurityExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SecurityExtensions",
"module_type" : "SwiftTarget",
"name" : "SecurityExtensions",
"path" : "SecurityExtensions",
"product_dependencies" : [
"IDZSwiftCommonCrypto"
],
"product_memberships" : [
"SecurityExtensions"
],
"sources" : [
"HexString.swift",
"SecCertificate.swift",
"SecIdentity+PrivateKey.swift",
"SecIdentity.swift",
"SecKey+Crypt.swift",
"SecKey+KeyData.swift",
"SecKey+KeyPair.swift",
"SecKey+Keychain.swift",
"SecKey+Signing.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling IDZSwiftCommonCrypto Updateable.swift
[5/14] Compiling IDZSwiftCommonCrypto Random.swift
[6/14] Compiling IDZSwiftCommonCrypto Status.swift
[7/14] Compiling IDZSwiftCommonCrypto HMAC.swift
[8/14] Compiling IDZSwiftCommonCrypto Cryptor.swift
[9/14] Compiling IDZSwiftCommonCrypto Digest.swift
[10/14] Compiling IDZSwiftCommonCrypto Crypto.swift
[11/14] Emitting module IDZSwiftCommonCrypto
[12/14] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[13/14] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[14/14] Compiling IDZSwiftCommonCrypto Utilities.swift
[15/24] Compiling SecurityExtensions SecKey+Signing.swift
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Signing.swift:23:22: error: cannot find 'SecKeyRawSign' in scope
21 | var signature = [UInt8](repeating: 0, count: 1024)
22 | var signatureLength = 1024
23 | let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
| `- error: cannot find 'SecKeyRawSign' in scope
24 | guard status == errSecSuccess else {
25 | return nil
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Signing.swift:23:43: error: cannot infer contextual base in reference to member 'PKCS1SHA1'
21 | var signature = [UInt8](repeating: 0, count: 1024)
22 | var signatureLength = 1024
23 | let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
| `- error: cannot infer contextual base in reference to member 'PKCS1SHA1'
24 | guard status == errSecSuccess else {
25 | return nil
[16/24] Compiling SecurityExtensions HexString.swift
[17/24] Emitting module SecurityExtensions
[18/24] Compiling SecurityExtensions SecKey+KeyData.swift
[19/24] Compiling SecurityExtensions SecCertificate.swift
[20/24] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[21/24] Compiling SecurityExtensions SecIdentity.swift
[22/24] Compiling SecurityExtensions SecKey+Keychain.swift
[23/24] Compiling SecurityExtensions SecKey+KeyPair.swift
[24/24] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Crypt.swift:31:30: error: cannot find 'SecKeyEncrypt' in scope
29 | var cypherLength: Int = blockSize
30 |
31 | let resultCode = SecKeyEncrypt(self, SecPadding.PKCS1, block, block.count, &cypherText, &cypherLength)
| `- error: cannot find 'SecKeyEncrypt' in scope
32 | guard resultCode == errSecSuccess else {
33 | return nil
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Crypt.swift:71:30: error: cannot find 'SecKeyDecrypt' in scope
69 | var plainTextData: [UInt8] = Array(repeating: UInt8(0), count: Int(blockSize))
70 | var plainTextDataLength: Int = blockSize
71 | let resultCode = SecKeyDecrypt(self, SecPadding.PKCS1, block, block.count, &plainTextData, &plainTextDataLength)
| `- error: cannot find 'SecKeyDecrypt' in scope
72 | guard resultCode == errSecSuccess else {
73 | return nil
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/11] Compiling IDZSwiftCommonCrypto Random.swift
[3/11] Compiling IDZSwiftCommonCrypto Status.swift
[4/11] Compiling IDZSwiftCommonCrypto Updateable.swift
[5/12] Compiling IDZSwiftCommonCrypto HMAC.swift
[6/12] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[7/12] Compiling IDZSwiftCommonCrypto Digest.swift
[8/12] Compiling IDZSwiftCommonCrypto Cryptor.swift
[9/12] Emitting module IDZSwiftCommonCrypto
[10/12] Compiling IDZSwiftCommonCrypto Crypto.swift
[11/12] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[12/12] Compiling IDZSwiftCommonCrypto Utilities.swift
[13/22] Compiling SecurityExtensions SecKey+KeyPair.swift
[14/22] Compiling SecurityExtensions SecKey+Keychain.swift
[15/22] Compiling SecurityExtensions SecIdentity.swift
[16/22] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Crypt.swift:31:30: error: cannot find 'SecKeyEncrypt' in scope
29 | var cypherLength: Int = blockSize
30 |
31 | let resultCode = SecKeyEncrypt(self, SecPadding.PKCS1, block, block.count, &cypherText, &cypherLength)
| `- error: cannot find 'SecKeyEncrypt' in scope
32 | guard resultCode == errSecSuccess else {
33 | return nil
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Crypt.swift:71:30: error: cannot find 'SecKeyDecrypt' in scope
69 | var plainTextData: [UInt8] = Array(repeating: UInt8(0), count: Int(blockSize))
70 | var plainTextDataLength: Int = blockSize
71 | let resultCode = SecKeyDecrypt(self, SecPadding.PKCS1, block, block.count, &plainTextData, &plainTextDataLength)
| `- error: cannot find 'SecKeyDecrypt' in scope
72 | guard resultCode == errSecSuccess else {
73 | return nil
[17/22] Compiling SecurityExtensions SecCertificate.swift
[18/22] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[19/22] Compiling SecurityExtensions HexString.swift
[20/22] Emitting module SecurityExtensions
[21/22] Compiling SecurityExtensions SecKey+KeyData.swift
[22/22] Compiling SecurityExtensions SecKey+Signing.swift
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Signing.swift:23:22: error: cannot find 'SecKeyRawSign' in scope
21 | var signature = [UInt8](repeating: 0, count: 1024)
22 | var signatureLength = 1024
23 | let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
| `- error: cannot find 'SecKeyRawSign' in scope
24 | guard status == errSecSuccess else {
25 | return nil
/Users/admin/builder/spi-builder-workspace/SecurityExtensions/SecKey+Signing.swift:23:43: error: cannot infer contextual base in reference to member 'PKCS1SHA1'
21 | var signature = [UInt8](repeating: 0, count: 1024)
22 | var signatureLength = 1024
23 | let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
| `- error: cannot infer contextual base in reference to member 'PKCS1SHA1'
24 | guard status == errSecSuccess else {
25 | return nil
BUILD FAILURE 6.1 macosSpm