The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Keychain with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlaskaAirlines/keychain.git
Reference: v2.0.1
Cloned https://github.com/AlaskaAirlines/keychain.git into spi-builder-workspace
SUCCESS checkout https://github.com/AlaskaAirlines/keychain.git at v2.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/16] Emitting module Keychain
/host/spi-builder-workspace/Framework/Keychain/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
    case unhandled(OSStatus)
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/CFString+Additions.swift:19:20: error: cannot find type 'CFString' in scope
internal extension CFString {
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
    var CFDictionary: CFDictionary { self as CFDictionary }
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
public extension OSStatus {
                 ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Access.swift:50:20: error: cannot find type 'CFString' in scope
    var attribute: CFString {
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
    var kSecClass: CFString {
                   ^~~~~~~~
[2/18] Compiling Keychain KeychainError.swift
/host/spi-builder-workspace/Framework/Keychain/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
    case unhandled(OSStatus)
                   ^~~~~~~~
[3/18] Compiling Keychain KeychainItem.swift
/host/spi-builder-workspace/Framework/Keychain/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
    case unhandled(OSStatus)
                   ^~~~~~~~
[4/18] Compiling Keychain Bool+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
    case unhandled(OSStatus)
                   ^~~~~~~~
[5/18] Compiling Keychain Dictionary+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
    var CFDictionary: CFDictionary { self as CFDictionary }
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
public extension OSStatus {
                 ^~~~~~~~
[6/18] Compiling Keychain OSStatus+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
    var CFDictionary: CFDictionary { self as CFDictionary }
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
public extension OSStatus {
                 ^~~~~~~~
[7/18] Compiling Keychain Definitions.swift
[8/18] Compiling Keychain Keychain.swift
[9/18] Compiling Keychain CFString+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/CFString+Additions.swift:19:20: error: cannot find type 'CFString' in scope
internal extension CFString {
                   ^~~~~~~~
[10/18] Compiling Keychain Data+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/CFString+Additions.swift:19:20: error: cannot find type 'CFString' in scope
internal extension CFString {
                   ^~~~~~~~
[11/18] Compiling Keychain KeychainItem+Implementation.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:28:15: error: cannot find 'kSecClass' in scope
        query[kSecClass.string] = Self.storage.kSecClass
              ^~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
    var kSecClass: CFString {
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:29:15: error: cannot find 'kSecAttrAccessible' in scope
        query[kSecAttrAccessible.string] = configuration.access.attribute
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Access.swift:50:20: error: cannot find type 'CFString' in scope
    var attribute: CFString {
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:30:15: error: cannot find 'kSecAttrSynchronizable' in scope
        query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:31:15: error: cannot find 'kSecAttrType' in scope
        query[kSecAttrType.string] = Self.typeKey.object
              ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:33:15: error: cannot find 'kSecAttrAccount' in scope
        query[kSecAttrAccount.string] = idKey.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:34:15: error: cannot find 'kSecAttrComment' in scope
        query[kSecAttrComment.string] = comment?.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:35:15: error: cannot find 'kSecAttrDescription' in scope
        query[kSecAttrDescription.string] = description?.object
              ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:36:15: error: cannot find 'kSecValueData' in scope
        query[kSecValueData.string] = try data().object
              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:39:15: error: cannot find 'kSecAttrService' in scope
        query[kSecAttrService.string] = configuration.serviceName.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:40:15: error: cannot find 'kSecAttrAccessGroup' in scope
        query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
              ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:53:15: error: cannot find 'kSecClass' in scope
        query[kSecClass.string] = Self.storage.kSecClass
              ^~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:54:15: error: cannot find 'kSecAttrAccessible' in scope
        query[kSecAttrAccessible.string] = configuration.access.attribute
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:55:15: error: cannot find 'kSecAttrSynchronizable' in scope
        query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:56:15: error: cannot find 'kSecAttrType' in scope
        query[kSecAttrType.string] = Self.typeKey.object
              ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:59:15: error: cannot find 'kSecAttrService' in scope
        query[kSecAttrService.string] = configuration.serviceName.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:60:15: error: cannot find 'kSecAttrAccessGroup' in scope
        query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
              ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit.string] = kSecMatchLimitAll
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:40: error: cannot find 'kSecMatchLimitAll' in scope
        query[kSecMatchLimit.string] = kSecMatchLimitAll
                                       ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes.string] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:46: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes.string] = kCFBooleanTrue
                                             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData.string] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:40: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData.string] = kCFBooleanTrue
                                       ^~~~~~~~~~~~~~
[12/18] Compiling Keychain KeychainItem+Query.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:28:15: error: cannot find 'kSecClass' in scope
        query[kSecClass.string] = Self.storage.kSecClass
              ^~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
    var kSecClass: CFString {
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:29:15: error: cannot find 'kSecAttrAccessible' in scope
        query[kSecAttrAccessible.string] = configuration.access.attribute
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Access.swift:50:20: error: cannot find type 'CFString' in scope
    var attribute: CFString {
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:30:15: error: cannot find 'kSecAttrSynchronizable' in scope
        query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:31:15: error: cannot find 'kSecAttrType' in scope
        query[kSecAttrType.string] = Self.typeKey.object
              ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:33:15: error: cannot find 'kSecAttrAccount' in scope
        query[kSecAttrAccount.string] = idKey.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:34:15: error: cannot find 'kSecAttrComment' in scope
        query[kSecAttrComment.string] = comment?.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:35:15: error: cannot find 'kSecAttrDescription' in scope
        query[kSecAttrDescription.string] = description?.object
              ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:36:15: error: cannot find 'kSecValueData' in scope
        query[kSecValueData.string] = try data().object
              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:39:15: error: cannot find 'kSecAttrService' in scope
        query[kSecAttrService.string] = configuration.serviceName.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:40:15: error: cannot find 'kSecAttrAccessGroup' in scope
        query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
              ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:53:15: error: cannot find 'kSecClass' in scope
        query[kSecClass.string] = Self.storage.kSecClass
              ^~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:54:15: error: cannot find 'kSecAttrAccessible' in scope
        query[kSecAttrAccessible.string] = configuration.access.attribute
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:55:15: error: cannot find 'kSecAttrSynchronizable' in scope
        query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:56:15: error: cannot find 'kSecAttrType' in scope
        query[kSecAttrType.string] = Self.typeKey.object
              ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:59:15: error: cannot find 'kSecAttrService' in scope
        query[kSecAttrService.string] = configuration.serviceName.object
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:60:15: error: cannot find 'kSecAttrAccessGroup' in scope
        query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
              ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit.string] = kSecMatchLimitAll
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:40: error: cannot find 'kSecMatchLimitAll' in scope
        query[kSecMatchLimit.string] = kSecMatchLimitAll
                                       ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes.string] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:46: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes.string] = kCFBooleanTrue
                                             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData.string] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:40: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData.string] = kCFBooleanTrue
                                       ^~~~~~~~~~~~~~
[13/18] Compiling Keychain Keychain+Configuration.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
    var CFDictionary: CFDictionary { self as CFDictionary }
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:43:22: error: cannot find 'SecItemDelete' in scope
        let status = SecItemDelete(query)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:46:25: error: cannot find 'noErr' in scope
        guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
                        ^~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:46:44: error: cannot find 'errSecItemNotFound' in scope
        guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
                                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
    case unhandled(OSStatus)
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:42:21: warning: no calls to throwing functions occur within 'try' expression
        let query = try item.query(using: configuration).CFDictionary
                    ^
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:65:22: error: cannot find 'SecItemAdd' in scope
        let status = SecItemAdd(query, nil)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:65:40: error: 'nil' requires a contextual type
        let status = SecItemAdd(query, nil)
                                       ^
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:68:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandled(status) }
                        ^~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:64:21: warning: no calls to throwing functions occur within 'try' expression
        let query = try item.query(using: configuration).CFDictionary
                    ^
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:86:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query.CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:90:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { return nil }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:93:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandled(status) }
                        ^~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:100:33: error: cannot find 'kSecValueData' in scope
            guard let data = $0[kSecValueData.string] as? Data else { return nil }
                                ^~~~~~~~~~~~~
[14/18] Compiling Keychain Keychain+Manager.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
    var CFDictionary: CFDictionary { self as CFDictionary }
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:43:22: error: cannot find 'SecItemDelete' in scope
        let status = SecItemDelete(query)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:46:25: error: cannot find 'noErr' in scope
        guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
                        ^~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:46:44: error: cannot find 'errSecItemNotFound' in scope
        guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
                                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
    case unhandled(OSStatus)
                   ^~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:42:21: warning: no calls to throwing functions occur within 'try' expression
        let query = try item.query(using: configuration).CFDictionary
                    ^
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:65:22: error: cannot find 'SecItemAdd' in scope
        let status = SecItemAdd(query, nil)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:65:40: error: 'nil' requires a contextual type
        let status = SecItemAdd(query, nil)
                                       ^
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:68:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandled(status) }
                        ^~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:64:21: warning: no calls to throwing functions occur within 'try' expression
        let query = try item.query(using: configuration).CFDictionary
                    ^
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:86:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query.CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:90:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { return nil }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:93:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandled(status) }
                        ^~~~~
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Manager.swift:100:33: error: cannot find 'kSecValueData' in scope
            guard let data = $0[kSecValueData.string] as? Data else { return nil }
                                ^~~~~~~~~~~~~
[15/18] Compiling Keychain Keychain+SetupOption.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
    var kSecClass: CFString {
                   ^~~~~~~~
[16/18] Compiling Keychain Keychain+Storage.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
    var kSecClass: CFString {
                   ^~~~~~~~
[17/18] Compiling Keychain String+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Access.swift:50:20: error: cannot find type 'CFString' in scope
    var attribute: CFString {
                   ^~~~~~~~
[18/18] Compiling Keychain Keychain+Access.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Framework/Keychain/Keychain+Access.swift:50:20: error: cannot find type 'CFString' in scope
    var attribute: CFString {
                   ^~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1