Build Information
Failed to build FastSpringStore with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/FastSpringStore.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/CleanCocoa/FastSpringStore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 01c5151 add Privacy Manifest files
Cloned https://github.com/CleanCocoa/FastSpringStore.git
Revision (git rev-parse @):
01c515110fb69d3662bb1a5d736b69483dea612d
SUCCESS checkout https://github.com/CleanCocoa/FastSpringStore.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/CleanCocoa/FastSpringStore.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/glebd/cocoafob
Fetching https://github.com/CleanCocoa/TrialLicensing.git
[1/1700] Fetching cocoafob
[977/2445] Fetching cocoafob, triallicensing
Fetched https://github.com/glebd/cocoafob from cache (0.25s)
Fetched https://github.com/CleanCocoa/TrialLicensing.git from cache (0.26s)
Computing version for https://github.com/CleanCocoa/TrialLicensing.git
Computed https://github.com/CleanCocoa/TrialLicensing.git at 3.3.2 (1.05s)
Computing version for https://github.com/glebd/cocoafob
Computed https://github.com/glebd/cocoafob at 2.4.0 (0.38s)
Creating working copy for https://github.com/glebd/cocoafob
Working copy of https://github.com/glebd/cocoafob resolved at 2.4.0
Creating working copy for https://github.com/CleanCocoa/TrialLicensing.git
Working copy of https://github.com/CleanCocoa/TrialLicensing.git resolved at 3.3.2
[1397/1998034] Downloading https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip
Downloading binary artifact https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip
Downloaded https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip (0.68s)
Building for debugging...
[0/12] Write sources
[4/12] Copying FastSpringStoreWindowController.xib
[5/12] Copying PrivacyInfo.xcprivacy
[6/12] Write sources
[8/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/36] Emitting module FastSpringStore
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[11/37] Compiling FastSpringStore NSView+constrainToSuperviewBounds.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[12/37] Compiling FastSpringStore NSLayoutConstraint+prioritized.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[13/37] Compiling FastSpringStore DynamicAppearanceWebView.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[14/37] Compiling FastSpringStore FastSpringPurchase.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[15/37] Compiling FastSpringStore FastSpringStoreWindowController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[16/37] Compiling FastSpringStore FastSpringStoreViewController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[17/37] Compiling CocoaFob LicenseGenerator.swift
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:16:16: error: cannot find type 'SecKey' in scope
var privKey: SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:88: error: cannot find type 'SecGroupTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:48: error: cannot find type 'SecTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:71: error: cannot find type 'SecTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:81:43: error: cannot find type 'SecGroupTransform' in scope
fileprivate func getGroupTransform() -> SecGroupTransform? {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:89:39: error: cannot find type 'SecTransform' in scope
func getSigner(_ nameData: Data) -> SecTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:100:36: error: cannot find type 'SecTransform' in scope
fileprivate func getEncoder() -> SecTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:28:18: error: cannot find 'SecItemImportExportKeyParameters' in scope
var params = SecItemImportExportKeyParameters(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:29:35: error: cannot find 'SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION' in scope
version: UInt32(bitPattern: SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:30:14: error: cannot find 'SecKeyImportExportFlags' in scope
flags: SecKeyImportExportFlags.importOnlyOne,
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:34:18: error: 'nil' requires a contextual type
accessRef: nil,
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:35:17: error: 'nil' requires a contextual type
keyUsage: nil,
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:36:22: error: 'nil' requires a contextual type
keyAttributes: nil)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:37:21: error: cannot find 'SecExternalFormat' in scope
var keyFormat = SecExternalFormat.formatPEMSequence
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:38:19: error: cannot find 'SecExternalItemType' in scope
var keyType = SecExternalItemType.itemTypePrivateKey
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:41:21: error: cannot find 'CFDataCreate' in scope
let keyDataCF = CFDataCreate(nil, keyBytes, keyData.count)!
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:41:34: error: 'nil' requires a contextual type
let keyDataCF = CFDataCreate(nil, keyBytes, keyData.count)!
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:42:22: error: cannot find type 'CFArray' in scope
var importArray: CFArray? = nil
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:45:9: error: cannot find 'SecItemImport' in scope
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:45:61: error: cannot find 'SecItemImportExportFlags' in scope
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:43:76: error: cannot find type 'OSStatus' in scope
let osStatus = withUnsafeMutablePointer(to: &keyFormat, {pKeyFormat -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:45:34: error: 'nil' requires a contextual type
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:45:109: error: 'nil' requires a contextual type
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:48:23: error: cannot find 'errSecSuccess' in scope
guard osStatus == errSecSuccess, importArray != nil else { return nil }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:51:33: error: cannot find type 'SecKey' in scope
self.privKey = items[0] as! SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:68:61: error: cannot find 'SecTransformExecute' in scope
let regDataCF = try cfTry(CocoaFobError.error) { return SecTransformExecute(group, $0) }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:91:47: error: cannot find 'SecSignTransformCreate' in scope
let signer = try cfTry(.error) { return SecSignTransformCreate(self.privKey, $0) }
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:92:42: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(signer, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:92:75: error: cannot find 'kSecTransformInputAttributeName' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(signer, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:93:42: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(signer, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:93:75: error: cannot find 'kSecDigestTypeAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(signer, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:93:100: error: cannot find 'kSecDigestSHA1' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(signer, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:102:48: error: cannot find 'SecEncodeTransformCreate' in scope
let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:102:73: error: cannot find 'kSecBase32Encoding' in scope
let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~
[18/37] Compiling Trial TrialWriter.swift
[19/38] Compiling Trial TrialPeriod.swift
[20/38] Compiling Trial Trial.swift
[21/38] Compiling FastSpringStore FastSpringStoreJavaScriptBridge.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[22/38] Compiling CocoaFob String+CocoaFob.swift
[23/38] Compiling CocoaFob LicenseVerifier.swift
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:16:15: error: cannot find type 'SecKey' in scope
var pubKey: SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:85:60: error: cannot find type 'SecTransform' in scope
fileprivate func getEncoder(_ signature: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:91:58: error: cannot find type 'SecTransform' in scope
fileprivate func getDecoder(_ keyData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:96: error: cannot find type 'SecTransform' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:45: error: cannot find type 'SecKey' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:28:18: error: cannot find 'SecItemImportExportKeyParameters' in scope
var params = SecItemImportExportKeyParameters(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:29:35: error: cannot find 'SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION' in scope
version: UInt32(bitPattern: SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:30:14: error: cannot find 'SecKeyImportExportFlags' in scope
flags: SecKeyImportExportFlags.importOnlyOne,
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:34:18: error: 'nil' requires a contextual type
accessRef: nil,
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:35:17: error: 'nil' requires a contextual type
keyUsage: nil,
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:36:22: error: 'nil' requires a contextual type
keyAttributes: nil)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:37:21: error: cannot find 'SecExternalFormat' in scope
var keyFormat = SecExternalFormat.formatPEMSequence
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:38:19: error: cannot find 'SecExternalItemType' in scope
var keyType = SecExternalItemType.itemTypePublicKey
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:41:21: error: cannot find 'CFDataCreate' in scope
let keyDataCF = CFDataCreate(nil, keyBytes, keyData.count)!
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:41:34: error: 'nil' requires a contextual type
let keyDataCF = CFDataCreate(nil, keyBytes, keyData.count)!
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:42:22: error: cannot find type 'CFArray' in scope
var importArray: CFArray? = nil
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:9: error: cannot find 'SecItemImport' in scope
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:61: error: cannot find 'SecItemImportExportFlags' in scope
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:34: error: 'nil' requires a contextual type
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:109: error: 'nil' requires a contextual type
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:48:23: error: cannot find 'errSecSuccess' in scope
guard osStatus == errSecSuccess, importArray != nil else { return nil }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:51:32: error: cannot find type 'SecKey' in scope
self.pubKey = items[0] as! SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:67:43: error: cannot find 'SecTransformExecute' in scope
let signature = try cfTry(.error) { SecTransformExecute(decoder, $0) }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:71:50: error: cannot find 'SecTransformExecute' in scope
let reverseSignature = try cfTry(.error) { SecTransformExecute(encoder, $0) }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:76:40: error: cannot find 'SecTransformExecute' in scope
let result = try cfTry(.error) { SecTransformExecute(verifier, $0) }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:77:35: error: cannot find type 'CFBoolean' in scope
let boolResult = result as! CFBoolean
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:86:46: error: cannot find 'SecEncodeTransformCreate' in scope
let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:86:71: error: cannot find 'kSecBase32Encoding' in scope
let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:87:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(encoder, kSecTransformInputAttributeName, signature as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:87:74: error: cannot find 'kSecTransformInputAttributeName' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(encoder, kSecTransformInputAttributeName, signature as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:92:46: error: cannot find 'SecDecodeTransformCreate' in scope
let decoder = try cfTry(.error) { return SecDecodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:92:71: error: cannot find 'kSecBase32Encoding' in scope
let decoder = try cfTry(.error) { return SecDecodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:93:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(decoder, kSecTransformInputAttributeName, keyData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:93:74: error: cannot find 'kSecTransformInputAttributeName' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(decoder, kSecTransformInputAttributeName, keyData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:98:47: error: cannot find 'SecVerifyTransformCreate' in scope
let verifier = try cfTry(.error) { return SecVerifyTransformCreate(publicKey, signature as CFData?, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:99:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:99:75: error: cannot find 'kSecTransformInputAttributeName' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:100:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:100:75: error: cannot find 'kSecDigestTypeAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:100:100: error: cannot find 'kSecDigestSHA1' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~
[24/38] Compiling FastSpringStore FastSpringStore.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[25/38] Compiling Trial TrialProvider.swift
[26/38] Compiling Trial TrialTimer.swift
[27/38] Compiling CocoaFob CocoaFobError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/38] Compiling CocoaFob CFUtil.swift
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:12:24: error: cannot find type 'CFError' in scope
var cferr: Unmanaged<CFError>? = nil
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:23:24: error: cannot find type 'CFError' in scope
var cferr: Unmanaged<CFError>? = nil
^~~~~~~
[29/38] Emitting module CocoaFob
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:16:16: error: cannot find type 'SecKey' in scope
var privKey: SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:88: error: cannot find type 'SecGroupTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:48: error: cannot find type 'SecTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:71: error: cannot find type 'SecTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:81:43: error: cannot find type 'SecGroupTransform' in scope
fileprivate func getGroupTransform() -> SecGroupTransform? {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:89:39: error: cannot find type 'SecTransform' in scope
func getSigner(_ nameData: Data) -> SecTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:100:36: error: cannot find type 'SecTransform' in scope
fileprivate func getEncoder() -> SecTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:16:15: error: cannot find type 'SecKey' in scope
var pubKey: SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:85:60: error: cannot find type 'SecTransform' in scope
fileprivate func getEncoder(_ signature: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:91:58: error: cannot find type 'SecTransform' in scope
fileprivate func getDecoder(_ keyData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:96: error: cannot find type 'SecTransform' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:45: error: cannot find type 'SecKey' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~
[32/38] Emitting module Trial
[33/38] Compiling Trial Days.swift
[34/38] Compiling Trial UserDefaultsTrialPeriodReader.swift
error: fatalError
[36/39] Compiling FastSpringStore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling FastSpringStore FastSpringStoreJavaScriptBridge.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[3/19] Compiling FastSpringStore FastSpringStoreViewController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[4/19] Compiling FastSpringStore FastSpringStoreWindowController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[5/19] Compiling FastSpringStore NSLayoutConstraint+prioritized.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[6/19] Compiling FastSpringStore NSView+constrainToSuperviewBounds.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[7/19] Compiling FastSpringStore FastSpringStore.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/19] Emitting module FastSpringStore
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[9/19] Compiling FastSpringStore DynamicAppearanceWebView.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
[10/19] Compiling FastSpringStore FastSpringPurchase.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/19] Emitting module CocoaFob
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:16:16: error: cannot find type 'SecKey' in scope
var privKey: SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:88: error: cannot find type 'SecGroupTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:48: error: cannot find type 'SecTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:71: error: cannot find type 'SecTransform' in scope
fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:81:43: error: cannot find type 'SecGroupTransform' in scope
fileprivate func getGroupTransform() -> SecGroupTransform? {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:89:39: error: cannot find type 'SecTransform' in scope
func getSigner(_ nameData: Data) -> SecTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:100:36: error: cannot find type 'SecTransform' in scope
fileprivate func getEncoder() -> SecTransform? {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:16:15: error: cannot find type 'SecKey' in scope
var pubKey: SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:85:60: error: cannot find type 'SecTransform' in scope
fileprivate func getEncoder(_ signature: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:91:58: error: cannot find type 'SecTransform' in scope
fileprivate func getDecoder(_ keyData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:96: error: cannot find type 'SecTransform' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:45: error: cannot find type 'SecKey' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~
[12/19] Compiling CocoaFob CFUtil.swift
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:12:24: error: cannot find type 'CFError' in scope
var cferr: Unmanaged<CFError>? = nil
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:23:24: error: cannot find type 'CFError' in scope
var cferr: Unmanaged<CFError>? = nil
^~~~~~~
[13/19] Emitting module Trial
[14/19] Compiling FastSpringStore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:16:15: error: cannot find type 'SecKey' in scope
var pubKey: SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:85:60: error: cannot find type 'SecTransform' in scope
fileprivate func getEncoder(_ signature: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:91:58: error: cannot find type 'SecTransform' in scope
fileprivate func getDecoder(_ keyData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:96: error: cannot find type 'SecTransform' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:45: error: cannot find type 'SecKey' in scope
fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:28:18: error: cannot find 'SecItemImportExportKeyParameters' in scope
var params = SecItemImportExportKeyParameters(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:29:35: error: cannot find 'SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION' in scope
version: UInt32(bitPattern: SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:30:14: error: cannot find 'SecKeyImportExportFlags' in scope
flags: SecKeyImportExportFlags.importOnlyOne,
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:34:18: error: 'nil' requires a contextual type
accessRef: nil,
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:35:17: error: 'nil' requires a contextual type
keyUsage: nil,
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:36:22: error: 'nil' requires a contextual type
keyAttributes: nil)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:37:21: error: cannot find 'SecExternalFormat' in scope
var keyFormat = SecExternalFormat.formatPEMSequence
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:38:19: error: cannot find 'SecExternalItemType' in scope
var keyType = SecExternalItemType.itemTypePublicKey
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:41:21: error: cannot find 'CFDataCreate' in scope
let keyDataCF = CFDataCreate(nil, keyBytes, keyData.count)!
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:41:34: error: 'nil' requires a contextual type
let keyDataCF = CFDataCreate(nil, keyBytes, keyData.count)!
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:42:22: error: cannot find type 'CFArray' in scope
var importArray: CFArray? = nil
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:9: error: cannot find 'SecItemImport' in scope
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:61: error: cannot find 'SecItemImportExportFlags' in scope
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:34: error: 'nil' requires a contextual type
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:45:109: error: 'nil' requires a contextual type
SecItemImport(keyDataCF, nil, pKeyFormat, pKeyType, SecItemImportExportFlags(rawValue: 0), ¶ms, nil, &importArray)
^
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:48:23: error: cannot find 'errSecSuccess' in scope
guard osStatus == errSecSuccess, importArray != nil else { return nil }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:51:32: error: cannot find type 'SecKey' in scope
self.pubKey = items[0] as! SecKey
^~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:67:43: error: cannot find 'SecTransformExecute' in scope
let signature = try cfTry(.error) { SecTransformExecute(decoder, $0) }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:71:50: error: cannot find 'SecTransformExecute' in scope
let reverseSignature = try cfTry(.error) { SecTransformExecute(encoder, $0) }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:76:40: error: cannot find 'SecTransformExecute' in scope
let result = try cfTry(.error) { SecTransformExecute(verifier, $0) }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:77:35: error: cannot find type 'CFBoolean' in scope
let boolResult = result as! CFBoolean
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:86:46: error: cannot find 'SecEncodeTransformCreate' in scope
let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:86:71: error: cannot find 'kSecBase32Encoding' in scope
let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:87:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(encoder, kSecTransformInputAttributeName, signature as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:87:74: error: cannot find 'kSecTransformInputAttributeName' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(encoder, kSecTransformInputAttributeName, signature as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:92:46: error: cannot find 'SecDecodeTransformCreate' in scope
let decoder = try cfTry(.error) { return SecDecodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:92:71: error: cannot find 'kSecBase32Encoding' in scope
let decoder = try cfTry(.error) { return SecDecodeTransformCreate(kSecBase32Encoding, $0) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:93:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(decoder, kSecTransformInputAttributeName, keyData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:93:74: error: cannot find 'kSecTransformInputAttributeName' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(decoder, kSecTransformInputAttributeName, keyData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:98:47: error: cannot find 'SecVerifyTransformCreate' in scope
let verifier = try cfTry(.error) { return SecVerifyTransformCreate(publicKey, signature as CFData?, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:99:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:99:75: error: cannot find 'kSecTransformInputAttributeName' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:100:40: error: cannot find 'SecTransformSetAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:100:75: error: cannot find 'kSecDigestTypeAttribute' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:100:100: error: cannot find 'kSecDigestSHA1' in scope
let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecDigestTypeAttribute, kSecDigestSHA1, $0) }
^~~~~~~~~~~~~~
BUILD FAILURE 5.10 linux