Build Information
Failed to build SelfSignedCert with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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/builder/builds/TDmZkXJm/2/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
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/svdo/swift-SecurityExtensions (0.17s)
Fetched https://github.com/dapperstout/swift-bytes.git (0.31s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto (0.44s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.42s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.32s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (0.32s)
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
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.13.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-selfsignedcert",
"name": "SelfSignedCert",
"url": "https://github.com/svdo/swift-SelfSignedCert.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-SelfSignedCert",
"dependencies": [
{
"identity": "idzswiftcommoncrypto",
"name": "IDZSwiftCommonCrypto",
"url": "https://github.com/iosdevzone/IDZSwiftCommonCrypto",
"version": "0.16.1",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IDZSwiftCommonCrypto",
"dependencies": [
]
},
{
"identity": "swift-securityextensions",
"name": "SecurityExtensions",
"url": "https://github.com/svdo/swift-SecurityExtensions",
"version": "4.0.1",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-SecurityExtensions",
"dependencies": [
{
"identity": "idzswiftcommoncrypto",
"name": "IDZSwiftCommonCrypto",
"url": "https://github.com/iosdevzone/IDZSwiftCommonCrypto",
"version": "0.16.1",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IDZSwiftCommonCrypto",
"dependencies": [
]
}
]
},
{
"identity": "swift-bytes",
"name": "SwiftBytes",
"url": "https://github.com/dapperstout/swift-bytes.git",
"version": "0.8.0",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-bytes",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/svdo/swift-SelfSignedCert.git from cache
Fetched https://github.com/svdo/swift-SelfSignedCert.git (0.15s)
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.16s)
Fetched https://github.com/dapperstout/swift-bytes.git (0.16s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto (0.21s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.01s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.01s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.16.1 (0.37s)
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.16.1
Creating working copy for https://github.com/svdo/swift-SelfSignedCert.git
Working copy of https://github.com/svdo/swift-SelfSignedCert.git resolved at master
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
warning: '.resolve-product-dependencies': dependency 'swift-selfsignedcert' is not used by any target
Found 3 product dependencies
- IDZSwiftCommonCrypto
- SecurityExtensions
- SwiftBytes
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/svdo/swift-SelfSignedCert.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/12] Compiling IDZSwiftCommonCrypto Updateable.swift
[2/12] Emitting module IDZSwiftCommonCrypto
[3/12] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[4/12] Compiling IDZSwiftCommonCrypto Crypto.swift
[5/12] Compiling IDZSwiftCommonCrypto Cryptor.swift
[6/13] Compiling IDZSwiftCommonCrypto Digest.swift
[7/13] Compiling IDZSwiftCommonCrypto HMAC.swift
[8/13] Compiling IDZSwiftCommonCrypto Random.swift
[9/13] Compiling IDZSwiftCommonCrypto Status.swift
[10/13] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[11/13] Emitting module SwiftBytes
[12/13] Compiling SwiftBytes Bytes.swift
[13/13] Compiling IDZSwiftCommonCrypto Utilities.swift
[14/22] Compiling SecurityExtensions SecKey+Keychain.swift
[15/23] Compiling SecurityExtensions SecKey+KeyData.swift
[16/23] Compiling SecurityExtensions SecIdentity.swift
[17/23] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[18/23] Emitting module SecurityExtensions
[19/23] Compiling SecurityExtensions HexString.swift
[20/23] Compiling SecurityExtensions SecCertificate.swift
[21/23] Compiling SecurityExtensions SecKey+KeyPair.swift
[22/23] 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)
^~~~~~~~~~~~~
[23/23] 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)
~^~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] 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)
~^~~~~~~~~
[2/3] Emitting module SecurityExtensions
[3/3] 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.9 macosSpm