The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SecurityExtensions, reference 4.0.1 (22a6b3), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 06:47:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 (0.94s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (1.62s)
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "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",
          "traits": [
            "default"
          ],
          "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.90s)
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (0.46s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.16.1 (1.18s)
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)
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.16.1
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.3
Building package at path:  $PWD
https://github.com/svdo/swift-SecurityExtensions.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/13] Compiling IDZSwiftCommonCrypto Updateable.swift
[5/14] Compiling IDZSwiftCommonCrypto Status.swift
[6/14] Compiling IDZSwiftCommonCrypto Random.swift
[7/14] Compiling IDZSwiftCommonCrypto HMAC.swift
[8/14] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[9/14] Compiling IDZSwiftCommonCrypto Digest.swift
[10/14] Emitting module IDZSwiftCommonCrypto
[11/14] Compiling IDZSwiftCommonCrypto Crypto.swift
[12/14] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[13/14] Compiling IDZSwiftCommonCrypto Cryptor.swift
[14/14] Compiling IDZSwiftCommonCrypto Utilities.swift
[15/24] Compiling SecurityExtensions SecKey+KeyPair.swift
[16/24] Compiling SecurityExtensions SecKey+Keychain.swift
[17/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
[18/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
[19/24] Compiling SecurityExtensions SecIdentity.swift
[20/24] Compiling SecurityExtensions SecCertificate.swift
[21/24] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[22/24] Emitting module SecurityExtensions
[23/24] Compiling SecurityExtensions SecKey+KeyData.swift
[24/24] Compiling SecurityExtensions HexString.swift
BUILD FAILURE 6.3 macosSpm