The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Keychain with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlaskaAirlines/keychain.git
Reference: master
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/AlaskaAirlines/keychain
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a3e6a27 Merge pull request #14 from michaelbabiy/michael/test-updates
Cloned https://github.com/AlaskaAirlines/keychain.git
Revision (git rev-parse @):
a3e6a2738932b1052f9653eee77e14100a101ed1
SUCCESS checkout https://github.com/AlaskaAirlines/keychain.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/AlaskaAirlines/keychain.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/18] 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 {
                   ^~~~~~~~
[4/20] Compiling Keychain Definitions.swift
[5/20] Compiling Keychain Keychain.swift
[6/20] 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)
                   ^~~~~~~~
[7/20] 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)
                   ^~~~~~~~
[8/20] 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)
                   ^~~~~~~~
[9/20] 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
                                       ^~~~~~~~~~~~~~
[10/20] 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
                                       ^~~~~~~~~~~~~~
[11/20] 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 }
                                ^~~~~~~~~~~~~
[12/20] 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 }
                                ^~~~~~~~~~~~~
[13/20] 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 {
                   ^~~~~~~~
[14/20] 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 {
                   ^~~~~~~~
[15/20] 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 {
                 ^~~~~~~~
[16/20] 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 {
                 ^~~~~~~~
[17/20] 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 {
                   ^~~~~~~~
[18/20] 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 {
                   ^~~~~~~~
[19/20] 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 {
                   ^~~~~~~~
[20/20] 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 {
                   ^~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Keychain OSStatus+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
public extension OSStatus {
                 ^~~~~~~~
[3/16] Compiling Keychain String+Additions.swift
/host/spi-builder-workspace/Framework/Keychain/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
public extension OSStatus {
                 ^~~~~~~~
[4/16] Compiling Keychain Data+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 }
                      ^~~~~~~~~~~~
[5/16] 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 }
                      ^~~~~~~~~~~~
[6/17] Compiling Keychain Bool+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 {
                   ^~~~~~~~
[7/17] 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 {
                   ^~~~~~~~
[8/17] 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)
                   ^~~~~~~~
[9/17] 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)
                   ^~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] 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 {
                   ^~~~~~~~
[11/17] 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 {
                   ^~~~~~~~
[12/17] Compiling Keychain KeychainItem+Implementation.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 {
                   ^~~~~~~~
[13/17] 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 {
                   ^~~~~~~~
[14/17] Compiling Keychain Keychain+Configuration.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 {
                   ^~~~~~~~
[15/17] 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 }
                                ^~~~~~~~~~~~~
[16/17] Compiling Keychain Keychain+SetupOption.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 }
                                ^~~~~~~~~~~~~
[17/17] 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
                                       ^~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1