Build Information
Failed to build SelfSignedCert with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/svdo/swift-SelfSignedCert.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/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.8
Building package at path: $PWD/checkout
https://github.com/svdo/swift-SelfSignedCert.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/11] Emitting module IDZSwiftCommonCrypto
[2/13] Compiling IDZSwiftCommonCrypto HMAC.swift
[3/13] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[4/13] Compiling IDZSwiftCommonCrypto Random.swift
[5/13] Compiling IDZSwiftCommonCrypto Crypto.swift
[6/13] Compiling IDZSwiftCommonCrypto Cryptor.swift
[7/13] Compiling IDZSwiftCommonCrypto Digest.swift
[8/13] Compiling IDZSwiftCommonCrypto Status.swift
[9/13] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[10/13] Compiling IDZSwiftCommonCrypto Updateable.swift
[11/13] Compiling IDZSwiftCommonCrypto Utilities.swift
[12/13] Emitting module SwiftBytes
[13/13] Compiling SwiftBytes Bytes.swift
[14/21] Emitting module SecurityExtensions
[15/23] Compiling SecurityExtensions HexString.swift
[16/23] Compiling SecurityExtensions SecCertificate.swift
[17/23] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[18/23] Compiling SecurityExtensions SecIdentity.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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)
^~~~~~~~~~~~~
[19/23] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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)
^~~~~~~~~~~~~
[20/23] Compiling SecurityExtensions SecKey+KeyData.swift
[21/23] Compiling SecurityExtensions SecKey+KeyPair.swift
[22/23] Compiling SecurityExtensions SecKey+Keychain.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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)
~^~~~~~~~~
[23/23] Compiling SecurityExtensions SecKey+Signing.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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)
~^~~~~~~~~
Fetching https://github.com/dapperstout/swift-bytes.git from cache
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetched https://github.com/svdo/swift-SecurityExtensions (0.36s)
Fetched https://github.com/dapperstout/swift-bytes.git (0.36s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto (0.36s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.82s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.68s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (1.14s)
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
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.13.1
[0/1] Planning build
Building for debugging...
[1/4] Compiling SecurityExtensions SecIdentity.swift
[2/4] Emitting module SecurityExtensions
[3/4] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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)
^~~~~~~~~~~~~
[4/4] Compiling SecurityExtensions SecKey+Keychain.swift
[5/8] Compiling SecurityExtensions SecKey+KeyData.swift
[6/8] Compiling SecurityExtensions SecKey+KeyPair.swift
[7/8] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[8/8] Compiling SecurityExtensions SecKey+Signing.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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)
~^~~~~~~~~
BUILD FAILURE 5.8 macosSpm