The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SelfSignedCert, reference 3.1.0 (a43228), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 20:10:49 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-SelfSignedCert.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/svdo/swift-SelfSignedCert
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at a43228a Bump version to 3.1.0
Cloned https://github.com/svdo/swift-SelfSignedCert.git
Revision (git rev-parse @):
a43228a07d56314c9dde4595055f4e43f6c1b7d2
SUCCESS checkout https://github.com/svdo/swift-SelfSignedCert.git at 3.1.0
Fetching https://github.com/dapperstout/swift-bytes.git
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto
Fetching https://github.com/svdo/swift-SecurityExtensions
[1/1641] Fetching idzswiftcommoncrypto
[231/2867] Fetching idzswiftcommoncrypto, swift-securityextensions
[551/3135] Fetching idzswiftcommoncrypto, swift-securityextensions, swift-bytes
Fetched https://github.com/dapperstout/swift-bytes.git from cache (0.92s)
Fetched https://github.com/svdo/swift-SecurityExtensions from cache (0.92s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (0.92s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (1.53s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.58s)
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
Creating working copy for https://github.com/svdo/swift-SecurityExtensions
Working copy of https://github.com/svdo/swift-SecurityExtensions resolved at 4.0.1
Creating working copy for https://github.com/dapperstout/swift-bytes.git
Working copy of https://github.com/dapperstout/swift-bytes.git resolved at 0.8.0
========================================
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-selfsignedcert",
      "name": "SelfSignedCert",
      "url": "https://github.com/svdo/swift-SelfSignedCert.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-SelfSignedCert",
      "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": [
          ]
        },
        {
          "identity": "swift-securityextensions",
          "name": "SecurityExtensions",
          "url": "https://github.com/svdo/swift-SecurityExtensions",
          "version": "4.0.1",
          "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": [
              ]
            }
          ]
        },
        {
          "identity": "swift-bytes",
          "name": "SwiftBytes",
          "url": "https://github.com/dapperstout/swift-bytes.git",
          "version": "0.8.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-bytes",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/svdo/swift-SelfSignedCert.git
[1/1468] Fetching swift-selfsignedcert
Fetched https://github.com/svdo/swift-SelfSignedCert.git from cache (0.90s)
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetching https://github.com/dapperstout/swift-bytes.git from cache
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetched https://github.com/dapperstout/swift-bytes.git from cache (0.41s)
Fetched https://github.com/svdo/swift-SecurityExtensions from cache (0.47s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (0.47s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.52s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.02s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.16.1 (0.53s)
Creating working copy for https://github.com/dapperstout/swift-bytes.git
Working copy of https://github.com/dapperstout/swift-bytes.git resolved at 0.8.0
Creating working copy for https://github.com/svdo/swift-SecurityExtensions
Working copy of https://github.com/svdo/swift-SecurityExtensions resolved at 4.0.1
Creating working copy for https://github.com/svdo/swift-SelfSignedCert.git
Working copy of https://github.com/svdo/swift-SelfSignedCert.git resolved at 3.1.0 (a43228a)
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-selfsignedcert' is not used by any target
Found 3 product dependencies
  - IDZSwiftCommonCrypto
  - SecurityExtensions
  - SwiftBytes
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/svdo/swift-SelfSignedCert.git
https://github.com/svdo/swift-SelfSignedCert.git
{
  "dependencies" : [
    {
      "identity" : "idzswiftcommoncrypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/iosdevzone/IDZSwiftCommonCrypto"
    },
    {
      "identity" : "swift-securityextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/svdo/swift-SecurityExtensions"
    },
    {
      "identity" : "swift-bytes",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dapperstout/swift-bytes.git"
    }
  ],
  "manifest_display_name" : "SelfSignedCert",
  "name" : "SelfSignedCert",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SelfSignedCert",
      "targets" : [
        "SelfSignedCert"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SelfSignedCert",
      "module_type" : "SwiftTarget",
      "name" : "SelfSignedCert",
      "path" : "SelfSignedCert",
      "product_dependencies" : [
        "IDZSwiftCommonCrypto",
        "SecurityExtensions",
        "SwiftBytes"
      ],
      "product_memberships" : [
        "SelfSignedCert"
      ],
      "sources" : [
        "ASN1Object.swift",
        "BitString.swift",
        "CertificateName.swift",
        "CertificateRequest.swift",
        "DEREncoding.swift",
        "OID.swift",
        "SecCertificate+Keychain.swift",
        "SecIdentity+SelfSigned.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/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/17] Emitting module SwiftBytes
[7/17] Compiling SwiftBytes Bytes.swift
[8/17] Compiling IDZSwiftCommonCrypto Digest.swift
[9/17] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[10/17] Compiling IDZSwiftCommonCrypto Cryptor.swift
[11/17] Emitting module IDZSwiftCommonCrypto
[12/17] Compiling IDZSwiftCommonCrypto Crypto.swift
[13/17] Compiling IDZSwiftCommonCrypto HMAC.swift
[14/18] Compiling IDZSwiftCommonCrypto Updateable.swift
[15/18] Compiling IDZSwiftCommonCrypto Random.swift
[16/18] Compiling IDZSwiftCommonCrypto Status.swift
[17/18] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[18/18] Compiling IDZSwiftCommonCrypto Utilities.swift
[19/28] Compiling SecurityExtensions SecKey+Signing.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/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/.build/checkouts/swift-SecurityExtensions/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
[20/28] Compiling SecurityExtensions SecKey+Keychain.swift
[21/28] Compiling SecurityExtensions SecKey+KeyData.swift
[22/28] Compiling SecurityExtensions SecKey+KeyPair.swift
[23/28] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/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/.build/checkouts/swift-SecurityExtensions/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
[24/28] Compiling SecurityExtensions SecCertificate.swift
[25/28] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[26/28] Compiling SecurityExtensions HexString.swift
[27/28] Emitting module SecurityExtensions
[28/28] Compiling SecurityExtensions SecIdentity.swift
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/13] Emitting module SwiftBytes
[3/13] Compiling SwiftBytes Bytes.swift
[4/13] Compiling IDZSwiftCommonCrypto Updateable.swift
[5/14] Compiling IDZSwiftCommonCrypto Crypto.swift
[6/14] Emitting module IDZSwiftCommonCrypto
[7/14] Compiling IDZSwiftCommonCrypto Digest.swift
[8/14] Compiling IDZSwiftCommonCrypto Random.swift
[9/14] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[10/14] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[11/14] Compiling IDZSwiftCommonCrypto Cryptor.swift
[12/14] Compiling IDZSwiftCommonCrypto HMAC.swift
[13/14] Compiling IDZSwiftCommonCrypto Status.swift
[14/14] Compiling IDZSwiftCommonCrypto Utilities.swift
[15/24] Compiling SecurityExtensions SecKey+Signing.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/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/.build/checkouts/swift-SecurityExtensions/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 SecIdentity.swift
[18/24] Compiling SecurityExtensions SecKey+Keychain.swift
[19/24] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[20/24] Compiling SecurityExtensions SecKey+KeyData.swift
[21/24] Compiling SecurityExtensions SecCertificate.swift
[22/24] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/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/.build/checkouts/swift-SecurityExtensions/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
[23/24] Emitting module SecurityExtensions
[24/24] Compiling SecurityExtensions HexString.swift
BUILD FAILURE 6.1 macosSpm