The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/2/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
Revision (git rev-parse @):
a43228a07d56314c9dde4595055f4e43f6c1b7d2
SUCCESS checkout https://github.com/svdo/swift-SelfSignedCert.git at 3.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/svdo/swift-SelfSignedCert.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--423B1241ED78D482.txt
[6/17] Compiling IDZSwiftCommonCrypto Updateable.swift
[7/18] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[8/18] Compiling IDZSwiftCommonCrypto Random.swift
[9/18] Compiling IDZSwiftCommonCrypto Status.swift
[10/18] Compiling IDZSwiftCommonCrypto Digest.swift
[11/18] Compiling IDZSwiftCommonCrypto HMAC.swift
[12/18] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[13/18] Emitting module IDZSwiftCommonCrypto
[14/18] Compiling IDZSwiftCommonCrypto Crypto.swift
[15/18] Compiling IDZSwiftCommonCrypto Cryptor.swift
[16/18] Compiling SwiftBytes Bytes.swift
[17/18] Emitting module SwiftBytes
[18/18] Compiling IDZSwiftCommonCrypto Utilities.swift
[19/27] Compiling SecurityExtensions SecKey+Keychain.swift
[20/28] Compiling SecurityExtensions SecKey+KeyData.swift
[21/28] Compiling SecurityExtensions SecIdentity.swift
[22/28] Compiling SecurityExtensions HexString.swift
[23/28] Compiling SecurityExtensions SecCertificate.swift
[24/28] Compiling SecurityExtensions SecKey+KeyPair.swift
[25/28] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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)
                             ^~~~~~~~~~~~~
[26/28] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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)
                                         ~^~~~~~~~~
[27/28] Emitting module SecurityExtensions
[28/28] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
error: fatalError
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetching https://github.com/dapperstout/swift-bytes.git from cache
Fetched https://github.com/dapperstout/swift-bytes.git from cache (0.19s)
Fetched https://github.com/svdo/swift-SecurityExtensions from cache (0.19s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (0.20s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.57s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.50s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (0.41s)
warning: /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-SecurityExtensions-90360a59 is not valid git repository for 'https://github.com/svdo/swift-SecurityExtensions', will fetch again.
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetched https://github.com/svdo/swift-SecurityExtensions from cache (0.01s)
warning: /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-SecurityExtensions-90360a59 is not valid git repository for 'https://github.com/svdo/swift-SecurityExtensions', will fetch again.
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetched https://github.com/svdo/swift-SecurityExtensions from cache (0.01s)
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/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/4] Emitting module SecurityExtensions
[3/4] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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)
                                         ~^~~~~~~~~
[4/4] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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
BUILD FAILURE 5.10 macosSpm