The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SelfSignedCert with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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 into spi-builder-workspace
a43228a07d56314c9dde4595055f4e43f6c1b7d2
SUCCESS checkout https://github.com/svdo/swift-SelfSignedCert.git at 3.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetching https://github.com/dapperstout/swift-bytes.git from cache
Fetched https://github.com/svdo/swift-SecurityExtensions (0.25s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto (0.25s)
Fetched https://github.com/dapperstout/swift-bytes.git (0.25s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.51s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.60s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (0.62s)
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/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
Building for debugging...
[1/12] Emitting module SwiftBytes
[2/12] Compiling IDZSwiftCommonCrypto Digest.swift
[3/12] Compiling IDZSwiftCommonCrypto HMAC.swift
[4/12] Compiling IDZSwiftCommonCrypto Updateable.swift
[5/13] Compiling IDZSwiftCommonCrypto Crypto.swift
[6/13] Compiling IDZSwiftCommonCrypto Cryptor.swift
[7/13] Compiling IDZSwiftCommonCrypto Random.swift
[8/13] Emitting module IDZSwiftCommonCrypto
[9/13] Compiling IDZSwiftCommonCrypto Status.swift
[10/13] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[11/13] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[12/13] Compiling SwiftBytes Bytes.swift
[13/13] Compiling IDZSwiftCommonCrypto Utilities.swift
[14/22] Compiling SecurityExtensions SecKey+KeyData.swift
[15/23] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:22: error: cannot find 'SecKeyRawSign' in scope
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                     ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:43: error: cannot infer contextual base in reference to member 'PKCS1SHA1'
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                                         ~^~~~~~~~~
[16/23] Emitting module SecurityExtensions
[17/23] Compiling SecurityExtensions SecKey+Keychain.swift
[18/23] Compiling SecurityExtensions HexString.swift
[19/23] Compiling SecurityExtensions SecCertificate.swift
[20/23] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[21/23] Compiling SecurityExtensions SecKey+KeyPair.swift
[22/23] Compiling SecurityExtensions SecIdentity.swift
[23/23] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:31:30: error: cannot find 'SecKeyEncrypt' in scope
            let resultCode = SecKeyEncrypt(self, SecPadding.PKCS1, block, block.count, &cypherText, &cypherLength)
                             ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:71:30: error: cannot find 'SecKeyDecrypt' in scope
            let resultCode = SecKeyDecrypt(self, SecPadding.PKCS1, block, block.count, &plainTextData, &plainTextDataLength)
                             ^~~~~~~~~~~~~
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/3] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:22: error: cannot find 'SecKeyRawSign' in scope
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                     ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:43: error: cannot infer contextual base in reference to member 'PKCS1SHA1'
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                                         ~^~~~~~~~~
[2/3] Emitting module SecurityExtensions
[3/3] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:31:30: error: cannot find 'SecKeyEncrypt' in scope
            let resultCode = SecKeyEncrypt(self, SecPadding.PKCS1, block, block.count, &cypherText, &cypherLength)
                             ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:71:30: error: cannot find 'SecKeyDecrypt' in scope
            let resultCode = SecKeyDecrypt(self, SecPadding.PKCS1, block, block.count, &plainTextData, &plainTextDataLength)
                             ^~~~~~~~~~~~~
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm