The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FastSpringStore with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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: 2.1.0
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
 * tag               2.1.0      -> FETCH_HEAD
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 2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/CleanCocoa/FastSpringStore.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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
[1701/2445] Fetching cocoafob, triallicensing
Fetched https://github.com/glebd/cocoafob (0.26s)
Computing version for https://github.com/CleanCocoa/TrialLicensing.git
Fetched https://github.com/CleanCocoa/TrialLicensing.git (0.26s)
Computed https://github.com/CleanCocoa/TrialLicensing.git at 3.3.2 (1.11s)
Computing version for https://github.com/glebd/cocoafob
Computed https://github.com/glebd/cocoafob at 2.4.0 (0.39s)
Creating working copy for https://github.com/CleanCocoa/TrialLicensing.git
Working copy of https://github.com/CleanCocoa/TrialLicensing.git resolved at 3.3.2
Creating working copy for https://github.com/glebd/cocoafob
Working copy of https://github.com/glebd/cocoafob resolved at 2.4.0
Downloading binary artifact https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip
[1397/1998034] Downloading 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 (1.01s)
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[1/5] Copying FastSpringStoreWindowController.xib
[1/5] Copying PrivacyInfo.xcprivacy
[4/29] Compiling FastSpringStore FastSpringStoreViewController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[5/29] Compiling FastSpringStore FastSpringStoreWindowController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/30] Compiling FastSpringStore NSLayoutConstraint+prioritized.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/30] Compiling FastSpringStore NSView+constrainToSuperviewBounds.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/30] Compiling FastSpringStore FastSpringStoreJavaScriptBridge.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/30] Compiling Trial TrialWriter.swift
[10/31] Compiling Trial Days.swift
[11/31] Compiling Trial Trial.swift
[12/31] Compiling FastSpringStore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/31] Compiling Trial UserDefaultsTrialPeriodReader.swift
[14/31] 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), &params, 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), &params, 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), &params, 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), &params, 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) }
                                                                                                   ^~~~~~~~~~~~~~
[15/31] 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), &params, 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), &params, 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), &params, 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), &params, 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) }
                                                                        ^~~~~~~~~~~~~~~~~~
[16/31] Compiling Trial TrialTimer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/31] Compiling CocoaFob CocoaFobError.swift
[18/31] 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 {
                                            ^~~~~~
[19/31] 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
                       ^~~~~~~
[20/31] Compiling Trial TrialPeriod.swift
[21/31] Compiling FastSpringStore DynamicAppearanceWebView.swift
[22/31] Compiling FastSpringStore FastSpringPurchase.swift
[23/31] Compiling Trial TrialProvider.swift
[24/31] Emitting module Trial
[25/32] Compiling CocoaFob String+CocoaFob.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/33] Emitting module FastSpringStore
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[28/33] Compiling FastSpringStore FastSpringStore.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/11] Compiling FastSpringStore FastSpringStore.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[2/13] Compiling FastSpringStore FastSpringStoreJavaScriptBridge.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[3/17] Compiling FastSpringStore FastSpringStoreViewController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[4/17] Compiling FastSpringStore FastSpringStoreWindowController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[5/17] Compiling FastSpringStore NSLayoutConstraint+prioritized.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/17] Compiling FastSpringStore NSView+constrainToSuperviewBounds.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)
[7/17] Emitting module FastSpringStore
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/17] Compiling FastSpringStore DynamicAppearanceWebView.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/17] 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)
[10/17] 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 {
                                            ^~~~~~
[11/17] Emitting module Trial
[12/18] Compiling FastSpringStore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/19] 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), &params, 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), &params, 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), &params, 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), &params, 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) }
                                                                        ^~~~~~~~~~~~~~~~~~
[15/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
                       ^~~~~~~
[16/19] 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), &params, 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), &params, 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), &params, 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), &params, 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) }
                                                                                                   ^~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux