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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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:             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 Status.swift
[7/17] Compiling IDZSwiftCommonCrypto Updateable.swift
[8/18] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[9/18] Compiling IDZSwiftCommonCrypto Random.swift
[10/18] Compiling IDZSwiftCommonCrypto Digest.swift
[11/18] Compiling IDZSwiftCommonCrypto HMAC.swift
[12/18] Compiling IDZSwiftCommonCrypto Crypto.swift
[13/18] Compiling IDZSwiftCommonCrypto Cryptor.swift
[14/18] Emitting module IDZSwiftCommonCrypto
[15/18] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[16/18] Emitting module SwiftBytes
[17/18] Compiling SwiftBytes Bytes.swift
[18/18] Compiling IDZSwiftCommonCrypto Utilities.swift
[19/27] Compiling SecurityExtensions HexString.swift
[20/27] Compiling SecurityExtensions SecCertificate.swift
[21/27] Compiling SecurityExtensions SecKey+KeyData.swift
[22/27] Compiling SecurityExtensions SecKey+Keychain.swift
[23/27] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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)
                             ^~~~~~~~~~~~~
[24/28] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[25/28] Compiling SecurityExtensions SecKey+KeyPair.swift
[26/28] Compiling SecurityExtensions SecIdentity.swift
[27/28] Emitting module SecurityExtensions
[28/28] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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)
                                         ~^~~~~~~~~
error: fatalError
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetching https://github.com/dapperstout/swift-bytes.git from cache
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetched https://github.com/svdo/swift-SecurityExtensions from cache (0.17s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache (0.17s)
Fetched https://github.com/dapperstout/swift-bytes.git from cache (0.17s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.48s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.44s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (0.44s)
warning: /Users/builder/builds/UKfvDsi8u/1/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/UKfvDsi8u/1/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] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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)
                                         ~^~~~~~~~~
[3/4] Emitting module SecurityExtensions
[4/4] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7