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 SelfSignedCert 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-SelfSignedCert.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/svdo/swift-SelfSignedCert
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4a912a7 Add a bit of info on usage
Cloned https://github.com/svdo/swift-SelfSignedCert.git
Revision (git rev-parse @):
4a912a7973a8c962383adc7660d660f6af171de5
SUCCESS checkout https://github.com/svdo/swift-SelfSignedCert.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/svdo/swift-SelfSignedCert.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/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/17] Emitting module SwiftBytes
[7/17] Compiling SwiftBytes Bytes.swift
[8/17] Compiling IDZSwiftCommonCrypto Updateable.swift
[9/18] Compiling IDZSwiftCommonCrypto Random.swift
[10/18] Compiling IDZSwiftCommonCrypto Status.swift
[11/18] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[12/18] Compiling IDZSwiftCommonCrypto Digest.swift
[13/18] Emitting module IDZSwiftCommonCrypto
[14/18] Compiling IDZSwiftCommonCrypto Cryptor.swift
[15/18] Compiling IDZSwiftCommonCrypto Crypto.swift
[16/18] Compiling IDZSwiftCommonCrypto HMAC.swift
[17/18] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[18/18] Compiling IDZSwiftCommonCrypto Utilities.swift
[19/28] Compiling SecurityExtensions SecKey+KeyData.swift
[20/28] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[21/28] Compiling SecurityExtensions SecCertificate.swift
[22/28] Emitting module SecurityExtensions
[23/28] Compiling SecurityExtensions SecIdentity.swift
[24/28] Compiling SecurityExtensions HexString.swift
[25/28] Compiling SecurityExtensions SecKey+Keychain.swift
[26/28] Compiling SecurityExtensions SecKey+KeyPair.swift
[27/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
[28/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
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto
Fetching https://github.com/svdo/swift-SecurityExtensions
Fetching https://github.com/dapperstout/swift-bytes.git
[1/268] Fetching swift-bytes
[235/1909] Fetching swift-bytes, idzswiftcommoncrypto
[465/3135] Fetching swift-bytes, idzswiftcommoncrypto, swift-securityextensions
Fetched https://github.com/svdo/swift-SecurityExtensions from cache (1.10s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (1.10s)
Fetched https://github.com/dapperstout/swift-bytes.git from cache (1.10s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.69s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.66s)
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
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
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.