This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 SecurityExtensions with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/svdo/swift-SecurityExtensions.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/svdo/swift-SecurityExtensions
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/svdo/swift-SecurityExtensions.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/13] Compiling IDZSwiftCommonCrypto Updateable.swift
[5/13] Compiling IDZSwiftCommonCrypto Status.swift
[6/13] Compiling IDZSwiftCommonCrypto Random.swift
[7/13] Compiling IDZSwiftCommonCrypto Cryptor.swift
[8/13] Compiling IDZSwiftCommonCrypto Crypto.swift
[9/13] Emitting module IDZSwiftCommonCrypto
[10/13] Compiling IDZSwiftCommonCrypto HMAC.swift
[11/13] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[12/13] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[13/13] Compiling IDZSwiftCommonCrypto Digest.swift
[14/14] Compiling IDZSwiftCommonCrypto Utilities.swift
[15/24] Compiling SecurityExtensions SecKey+KeyPair.swift
[16/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
[17/24] Compiling SecurityExtensions SecCertificate.swift
[18/24] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[19/24] Compiling SecurityExtensions SecKey+KeyData.swift
[20/24] Compiling SecurityExtensions SecIdentity.swift
[21/24] Compiling SecurityExtensions SecKey+Keychain.swift
[22/24] Emitting module SecurityExtensions
[23/24] Compiling SecurityExtensions HexString.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
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.67s)
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.13.1
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.