Build Information
Failed to build SecurityExtensions, reference 4.0.1 (22a6b3
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 02:53:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.08s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (0.57s)
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 (1.01s)
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (0.50s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.16.1 (0.55s)
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.0
Building package at path: $PWD
https://github.com/svdo/swift-SecurityExtensions.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[4/13] Compiling IDZSwiftCommonCrypto Updateable.swift
[5/14] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[6/14] Compiling IDZSwiftCommonCrypto Random.swift
[7/14] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[8/14] Compiling IDZSwiftCommonCrypto Status.swift
[9/14] Compiling IDZSwiftCommonCrypto Digest.swift
[10/14] Compiling IDZSwiftCommonCrypto HMAC.swift
[11/14] Emitting module IDZSwiftCommonCrypto
[12/14] Compiling IDZSwiftCommonCrypto Crypto.swift
[13/14] Compiling IDZSwiftCommonCrypto Cryptor.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 SecKey+KeyPair.swift
[17/24] Compiling SecurityExtensions SecKey+KeyData.swift
[18/24] Compiling SecurityExtensions SecIdentity.swift
[19/24] Compiling SecurityExtensions SecCertificate.swift
[20/24] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[21/24] Compiling SecurityExtensions HexString.swift
[22/24] Emitting module SecurityExtensions
[23/24] Compiling SecurityExtensions SecKey+Keychain.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
BUILD FAILURE 6.0 macosSpm