Build Information
Failed to build KeychainAccess, reference v3.0.1 (5ae410), with Swift 6.2 for Linux on 22 Jun 2025 22:57:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlaskaAirlines/keychain.git
Reference: v3.0.1
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
* tag v3.0.1 -> FETCH_HEAD
HEAD is now at 5ae4103 Merge pull request #16 from michaelbabiy/as/principals/1182443-disable-evolution-support
Cloned https://github.com/AlaskaAirlines/keychain.git
Revision (git rev-parse @):
5ae410369e255932c5e49817ef561bdba124fe33
SUCCESS checkout https://github.com/AlaskaAirlines/keychain.git at v3.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/AlaskaAirlines/keychain.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Framework/KeychainAccess/Info.plist
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 KeychainAccess
/host/spi-builder-workspace/Framework/KeychainAccess/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
28 | ///
29 | /// For list of **OSStatus** codes, please see https://www.osstatus.com/
30 | case unhandled(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
31 | }
32 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/CFString+Additions.swift:19:20: error: cannot find type 'CFString' in scope
17 | import Foundation
18 |
19 | internal extension CFString {
| `- error: cannot find type 'CFString' in scope
20 | /// Convenience variable for returning C string as Swift string.
21 | var string: String { self as String }
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
19 | extension Dictionary {
20 | /// Convenience variable for returning Swift Dictionary as CFDictionary.
21 | var CFDictionary: CFDictionary { self as CFDictionary }
| `- error: cannot find type 'CFDictionary' in scope
22 | }
23 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
17 | import Foundation
18 |
19 | public extension OSStatus {
| `- error: cannot find type 'OSStatus' in scope
20 | /// Returns error message for current OSStatus code, if any.
21 | ///
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+AccessLevel.swift:44:20: error: cannot find type 'CFString' in scope
42 | internal extension Keychain.AccessLevel {
43 | /// Returns `self` as the `kSec...` attribute.
44 | var attribute: CFString {
| `- error: cannot find type 'CFString' in scope
45 | switch self {
46 | case .afterFirstUnlock:
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
29 | internal extension Keychain.Storage {
30 | /// C string value for a given Storage case.
31 | var kSecClass: CFString {
| `- error: cannot find type 'CFString' in scope
32 | switch self {
33 | case .genericPassword:
[4/20] Compiling KeychainAccess Definitions.swift
[5/20] Compiling KeychainAccess Keychain.swift
[6/20] Compiling KeychainAccess KeychainError.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
28 | ///
29 | /// For list of **OSStatus** codes, please see https://www.osstatus.com/
30 | case unhandled(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
31 | }
32 |
[7/20] Compiling KeychainAccess KeychainItem.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
28 | ///
29 | /// For list of **OSStatus** codes, please see https://www.osstatus.com/
30 | case unhandled(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
31 | }
32 |
[8/20] Compiling KeychainAccess Bool+Additions.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
28 | ///
29 | /// For list of **OSStatus** codes, please see https://www.osstatus.com/
30 | case unhandled(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
31 | }
32 |
[9/20] Compiling KeychainAccess Dictionary+Additions.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
19 | extension Dictionary {
20 | /// Convenience variable for returning Swift Dictionary as CFDictionary.
21 | var CFDictionary: CFDictionary { self as CFDictionary }
| `- error: cannot find type 'CFDictionary' in scope
22 | }
23 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
17 | import Foundation
18 |
19 | public extension OSStatus {
| `- error: cannot find type 'OSStatus' in scope
20 | /// Returns error message for current OSStatus code, if any.
21 | ///
[10/20] Compiling KeychainAccess OSStatus+Additions.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
19 | extension Dictionary {
20 | /// Convenience variable for returning Swift Dictionary as CFDictionary.
21 | var CFDictionary: CFDictionary { self as CFDictionary }
| `- error: cannot find type 'CFDictionary' in scope
22 | }
23 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/OSStatus+Additions.swift:19:18: error: cannot find type 'OSStatus' in scope
17 | import Foundation
18 |
19 | public extension OSStatus {
| `- error: cannot find type 'OSStatus' in scope
20 | /// Returns error message for current OSStatus code, if any.
21 | ///
[11/20] Compiling KeychainAccess CFString+Additions.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/CFString+Additions.swift:19:20: error: cannot find type 'CFString' in scope
17 | import Foundation
18 |
19 | internal extension CFString {
| `- error: cannot find type 'CFString' in scope
20 | /// Convenience variable for returning C string as Swift string.
21 | var string: String { self as String }
[12/20] Compiling KeychainAccess Data+Additions.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/CFString+Additions.swift:19:20: error: cannot find type 'CFString' in scope
17 | import Foundation
18 |
19 | internal extension CFString {
| `- error: cannot find type 'CFString' in scope
20 | /// Convenience variable for returning C string as Swift string.
21 | var string: String { self as String }
[13/20] Compiling KeychainAccess String+Additions.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+AccessLevel.swift:44:20: error: cannot find type 'CFString' in scope
42 | internal extension Keychain.AccessLevel {
43 | /// Returns `self` as the `kSec...` attribute.
44 | var attribute: CFString {
| `- error: cannot find type 'CFString' in scope
45 | switch self {
46 | case .afterFirstUnlock:
[14/20] Compiling KeychainAccess Keychain+AccessLevel.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+AccessLevel.swift:44:20: error: cannot find type 'CFString' in scope
42 | internal extension Keychain.AccessLevel {
43 | /// Returns `self` as the `kSec...` attribute.
44 | var attribute: CFString {
| `- error: cannot find type 'CFString' in scope
45 | switch self {
46 | case .afterFirstUnlock:
[15/20] Compiling KeychainAccess KeychainItem+Implementation.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:28:15: error: cannot find 'kSecClass' in scope
26 | func query(using configuration: Keychain.Configuration) throws -> KeychainQuery {
27 | var query = KeychainQuery()
28 | query[kSecClass.string] = Self.storage.kSecClass
| `- error: cannot find 'kSecClass' in scope
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
29 | internal extension Keychain.Storage {
30 | /// C string value for a given Storage case.
31 | var kSecClass: CFString {
| `- error: cannot find type 'CFString' in scope
32 | switch self {
33 | case .genericPassword:
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:29:15: error: cannot find 'kSecAttrAccessible' in scope
27 | var query = KeychainQuery()
28 | query[kSecClass.string] = Self.storage.kSecClass
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
| `- error: cannot find 'kSecAttrAccessible' in scope
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
31 | query[kSecAttrType.string] = Self.typeKey.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+AccessLevel.swift:44:20: error: cannot find type 'CFString' in scope
42 | internal extension Keychain.AccessLevel {
43 | /// Returns `self` as the `kSec...` attribute.
44 | var attribute: CFString {
| `- error: cannot find type 'CFString' in scope
45 | switch self {
46 | case .afterFirstUnlock:
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:30:15: error: cannot find 'kSecAttrSynchronizable' in scope
28 | query[kSecClass.string] = Self.storage.kSecClass
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
| `- error: cannot find 'kSecAttrSynchronizable' in scope
31 | query[kSecAttrType.string] = Self.typeKey.object
32 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:31:15: error: cannot find 'kSecAttrType' in scope
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
31 | query[kSecAttrType.string] = Self.typeKey.object
| `- error: cannot find 'kSecAttrType' in scope
32 |
33 | query[kSecAttrAccount.string] = idKey.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:33:15: error: cannot find 'kSecAttrAccount' in scope
31 | query[kSecAttrType.string] = Self.typeKey.object
32 |
33 | query[kSecAttrAccount.string] = idKey.object
| `- error: cannot find 'kSecAttrAccount' in scope
34 | query[kSecAttrComment.string] = comment?.object
35 | query[kSecAttrDescription.string] = description?.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:34:15: error: cannot find 'kSecAttrComment' in scope
32 |
33 | query[kSecAttrAccount.string] = idKey.object
34 | query[kSecAttrComment.string] = comment?.object
| `- error: cannot find 'kSecAttrComment' in scope
35 | query[kSecAttrDescription.string] = description?.object
36 | query[kSecValueData.string] = try data().object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:35:15: error: cannot find 'kSecAttrDescription' in scope
33 | query[kSecAttrAccount.string] = idKey.object
34 | query[kSecAttrComment.string] = comment?.object
35 | query[kSecAttrDescription.string] = description?.object
| `- error: cannot find 'kSecAttrDescription' in scope
36 | query[kSecValueData.string] = try data().object
37 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:36:15: error: cannot find 'kSecValueData' in scope
34 | query[kSecAttrComment.string] = comment?.object
35 | query[kSecAttrDescription.string] = description?.object
36 | query[kSecValueData.string] = try data().object
| `- error: cannot find 'kSecValueData' in scope
37 |
38 | // Values from configuration.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:39:15: error: cannot find 'kSecAttrService' in scope
37 |
38 | // Values from configuration.
39 | query[kSecAttrService.string] = configuration.serviceName.object
| `- error: cannot find 'kSecAttrService' in scope
40 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
41 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:40:15: error: cannot find 'kSecAttrAccessGroup' in scope
38 | // Values from configuration.
39 | query[kSecAttrService.string] = configuration.serviceName.object
40 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
| `- error: cannot find 'kSecAttrAccessGroup' in scope
41 |
42 | return query
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:53:15: error: cannot find 'kSecClass' in scope
51 | static func query(using configuration: Keychain.Configuration) throws -> KeychainQuery {
52 | var query = KeychainQuery()
53 | query[kSecClass.string] = Self.storage.kSecClass
| `- error: cannot find 'kSecClass' in scope
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:54:15: error: cannot find 'kSecAttrAccessible' in scope
52 | var query = KeychainQuery()
53 | query[kSecClass.string] = Self.storage.kSecClass
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
| `- error: cannot find 'kSecAttrAccessible' in scope
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
56 | query[kSecAttrType.string] = Self.typeKey.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:55:15: error: cannot find 'kSecAttrSynchronizable' in scope
53 | query[kSecClass.string] = Self.storage.kSecClass
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
| `- error: cannot find 'kSecAttrSynchronizable' in scope
56 | query[kSecAttrType.string] = Self.typeKey.object
57 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:56:15: error: cannot find 'kSecAttrType' in scope
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
56 | query[kSecAttrType.string] = Self.typeKey.object
| `- error: cannot find 'kSecAttrType' in scope
57 |
58 | // Values from configuration.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:59:15: error: cannot find 'kSecAttrService' in scope
57 |
58 | // Values from configuration.
59 | query[kSecAttrService.string] = configuration.serviceName.object
| `- error: cannot find 'kSecAttrService' in scope
60 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
61 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:60:15: error: cannot find 'kSecAttrAccessGroup' in scope
58 | // Values from configuration.
59 | query[kSecAttrService.string] = configuration.serviceName.object
60 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
| `- error: cannot find 'kSecAttrAccessGroup' in scope
61 |
62 | // Additional values.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:15: error: cannot find 'kSecMatchLimit' in scope
61 |
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
| `- error: cannot find 'kSecMatchLimit' in scope
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:40: error: cannot find 'kSecMatchLimitAll' in scope
61 |
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
| `- error: cannot find 'kSecMatchLimitAll' in scope
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:15: error: cannot find 'kSecReturnAttributes' in scope
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
| `- error: cannot find 'kSecReturnAttributes' in scope
65 | query[kSecReturnData.string] = kCFBooleanTrue
66 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:46: error: cannot find 'kCFBooleanTrue' in scope
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
| `- error: cannot find 'kCFBooleanTrue' in scope
65 | query[kSecReturnData.string] = kCFBooleanTrue
66 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:15: error: cannot find 'kSecReturnData' in scope
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
| `- error: cannot find 'kSecReturnData' in scope
66 |
67 | return query
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:40: error: cannot find 'kCFBooleanTrue' in scope
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
| `- error: cannot find 'kCFBooleanTrue' in scope
66 |
67 | return query
[16/20] Compiling KeychainAccess KeychainItem+Query.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:28:15: error: cannot find 'kSecClass' in scope
26 | func query(using configuration: Keychain.Configuration) throws -> KeychainQuery {
27 | var query = KeychainQuery()
28 | query[kSecClass.string] = Self.storage.kSecClass
| `- error: cannot find 'kSecClass' in scope
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
29 | internal extension Keychain.Storage {
30 | /// C string value for a given Storage case.
31 | var kSecClass: CFString {
| `- error: cannot find type 'CFString' in scope
32 | switch self {
33 | case .genericPassword:
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:29:15: error: cannot find 'kSecAttrAccessible' in scope
27 | var query = KeychainQuery()
28 | query[kSecClass.string] = Self.storage.kSecClass
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
| `- error: cannot find 'kSecAttrAccessible' in scope
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
31 | query[kSecAttrType.string] = Self.typeKey.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+AccessLevel.swift:44:20: error: cannot find type 'CFString' in scope
42 | internal extension Keychain.AccessLevel {
43 | /// Returns `self` as the `kSec...` attribute.
44 | var attribute: CFString {
| `- error: cannot find type 'CFString' in scope
45 | switch self {
46 | case .afterFirstUnlock:
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:30:15: error: cannot find 'kSecAttrSynchronizable' in scope
28 | query[kSecClass.string] = Self.storage.kSecClass
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
| `- error: cannot find 'kSecAttrSynchronizable' in scope
31 | query[kSecAttrType.string] = Self.typeKey.object
32 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:31:15: error: cannot find 'kSecAttrType' in scope
29 | query[kSecAttrAccessible.string] = configuration.access.attribute
30 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
31 | query[kSecAttrType.string] = Self.typeKey.object
| `- error: cannot find 'kSecAttrType' in scope
32 |
33 | query[kSecAttrAccount.string] = idKey.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:33:15: error: cannot find 'kSecAttrAccount' in scope
31 | query[kSecAttrType.string] = Self.typeKey.object
32 |
33 | query[kSecAttrAccount.string] = idKey.object
| `- error: cannot find 'kSecAttrAccount' in scope
34 | query[kSecAttrComment.string] = comment?.object
35 | query[kSecAttrDescription.string] = description?.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:34:15: error: cannot find 'kSecAttrComment' in scope
32 |
33 | query[kSecAttrAccount.string] = idKey.object
34 | query[kSecAttrComment.string] = comment?.object
| `- error: cannot find 'kSecAttrComment' in scope
35 | query[kSecAttrDescription.string] = description?.object
36 | query[kSecValueData.string] = try data().object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:35:15: error: cannot find 'kSecAttrDescription' in scope
33 | query[kSecAttrAccount.string] = idKey.object
34 | query[kSecAttrComment.string] = comment?.object
35 | query[kSecAttrDescription.string] = description?.object
| `- error: cannot find 'kSecAttrDescription' in scope
36 | query[kSecValueData.string] = try data().object
37 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:36:15: error: cannot find 'kSecValueData' in scope
34 | query[kSecAttrComment.string] = comment?.object
35 | query[kSecAttrDescription.string] = description?.object
36 | query[kSecValueData.string] = try data().object
| `- error: cannot find 'kSecValueData' in scope
37 |
38 | // Values from configuration.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:39:15: error: cannot find 'kSecAttrService' in scope
37 |
38 | // Values from configuration.
39 | query[kSecAttrService.string] = configuration.serviceName.object
| `- error: cannot find 'kSecAttrService' in scope
40 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
41 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:40:15: error: cannot find 'kSecAttrAccessGroup' in scope
38 | // Values from configuration.
39 | query[kSecAttrService.string] = configuration.serviceName.object
40 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
| `- error: cannot find 'kSecAttrAccessGroup' in scope
41 |
42 | return query
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:53:15: error: cannot find 'kSecClass' in scope
51 | static func query(using configuration: Keychain.Configuration) throws -> KeychainQuery {
52 | var query = KeychainQuery()
53 | query[kSecClass.string] = Self.storage.kSecClass
| `- error: cannot find 'kSecClass' in scope
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:54:15: error: cannot find 'kSecAttrAccessible' in scope
52 | var query = KeychainQuery()
53 | query[kSecClass.string] = Self.storage.kSecClass
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
| `- error: cannot find 'kSecAttrAccessible' in scope
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
56 | query[kSecAttrType.string] = Self.typeKey.object
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:55:15: error: cannot find 'kSecAttrSynchronizable' in scope
53 | query[kSecClass.string] = Self.storage.kSecClass
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
| `- error: cannot find 'kSecAttrSynchronizable' in scope
56 | query[kSecAttrType.string] = Self.typeKey.object
57 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:56:15: error: cannot find 'kSecAttrType' in scope
54 | query[kSecAttrAccessible.string] = configuration.access.attribute
55 | query[kSecAttrSynchronizable.string] = Self.isSynchronizable.object
56 | query[kSecAttrType.string] = Self.typeKey.object
| `- error: cannot find 'kSecAttrType' in scope
57 |
58 | // Values from configuration.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:59:15: error: cannot find 'kSecAttrService' in scope
57 |
58 | // Values from configuration.
59 | query[kSecAttrService.string] = configuration.serviceName.object
| `- error: cannot find 'kSecAttrService' in scope
60 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
61 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:60:15: error: cannot find 'kSecAttrAccessGroup' in scope
58 | // Values from configuration.
59 | query[kSecAttrService.string] = configuration.serviceName.object
60 | query[kSecAttrAccessGroup.string] = configuration.accessGroup?.object
| `- error: cannot find 'kSecAttrAccessGroup' in scope
61 |
62 | // Additional values.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:15: error: cannot find 'kSecMatchLimit' in scope
61 |
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
| `- error: cannot find 'kSecMatchLimit' in scope
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:63:40: error: cannot find 'kSecMatchLimitAll' in scope
61 |
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
| `- error: cannot find 'kSecMatchLimitAll' in scope
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:15: error: cannot find 'kSecReturnAttributes' in scope
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
| `- error: cannot find 'kSecReturnAttributes' in scope
65 | query[kSecReturnData.string] = kCFBooleanTrue
66 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:64:46: error: cannot find 'kCFBooleanTrue' in scope
62 | // Additional values.
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
| `- error: cannot find 'kCFBooleanTrue' in scope
65 | query[kSecReturnData.string] = kCFBooleanTrue
66 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:15: error: cannot find 'kSecReturnData' in scope
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
| `- error: cannot find 'kSecReturnData' in scope
66 |
67 | return query
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/KeychainItem/KeychainItem+Query.swift:65:40: error: cannot find 'kCFBooleanTrue' in scope
63 | query[kSecMatchLimit.string] = kSecMatchLimitAll
64 | query[kSecReturnAttributes.string] = kCFBooleanTrue
65 | query[kSecReturnData.string] = kCFBooleanTrue
| `- error: cannot find 'kCFBooleanTrue' in scope
66 |
67 | return query
[17/20] Compiling KeychainAccess Keychain+SetupOption.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
29 | internal extension Keychain.Storage {
30 | /// C string value for a given Storage case.
31 | var kSecClass: CFString {
| `- error: cannot find type 'CFString' in scope
32 | switch self {
33 | case .genericPassword:
[18/20] Compiling KeychainAccess Keychain+Storage.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Storage.swift:31:20: error: cannot find type 'CFString' in scope
29 | internal extension Keychain.Storage {
30 | /// C string value for a given Storage case.
31 | var kSecClass: CFString {
| `- error: cannot find type 'CFString' in scope
32 | switch self {
33 | case .genericPassword:
[19/20] Compiling KeychainAccess Keychain+Configuration.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
19 | extension Dictionary {
20 | /// Convenience variable for returning Swift Dictionary as CFDictionary.
21 | var CFDictionary: CFDictionary { self as CFDictionary }
| `- error: cannot find type 'CFDictionary' in scope
22 | }
23 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:43:22: error: cannot find 'SecItemDelete' in scope
41 | func delete(_ item: KeychainItem) throws {
42 | let query = try item.query(using: configuration).CFDictionary
43 | let status = SecItemDelete(query)
| `- error: cannot find 'SecItemDelete' in scope
44 |
45 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:46:25: error: cannot find 'noErr' in scope
44 |
45 | // Throw an error if an unexpected status was returned.
46 | guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'noErr' in scope
47 | }
48 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:46:44: error: cannot find 'errSecItemNotFound' in scope
44 |
45 | // Throw an error if an unexpected status was returned.
46 | guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'errSecItemNotFound' in scope
47 | }
48 |
/host/spi-builder-workspace/Framework/KeychainAccess/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
28 | ///
29 | /// For list of **OSStatus** codes, please see https://www.osstatus.com/
30 | case unhandled(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
31 | }
32 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:42:21: warning: no calls to throwing functions occur within 'try' expression
40 | /// For documentation see: Keychain.delete()
41 | func delete(_ item: KeychainItem) throws {
42 | let query = try item.query(using: configuration).CFDictionary
| `- warning: no calls to throwing functions occur within 'try' expression
43 | let status = SecItemDelete(query)
44 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:65:22: error: cannot find 'SecItemAdd' in scope
63 | // Add new item, store the result.
64 | let query = try item.query(using: configuration).CFDictionary
65 | let status = SecItemAdd(query, nil)
| `- error: cannot find 'SecItemAdd' in scope
66 |
67 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:65:40: error: 'nil' requires a contextual type
63 | // Add new item, store the result.
64 | let query = try item.query(using: configuration).CFDictionary
65 | let status = SecItemAdd(query, nil)
| `- error: 'nil' requires a contextual type
66 |
67 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:68:25: error: cannot find 'noErr' in scope
66 |
67 | // Throw an error if an unexpected status was returned.
68 | guard status == noErr else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'noErr' in scope
69 | }
70 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:64:21: warning: no calls to throwing functions occur within 'try' expression
62 |
63 | // Add new item, store the result.
64 | let query = try item.query(using: configuration).CFDictionary
| `- warning: no calls to throwing functions occur within 'try' expression
65 | let status = SecItemAdd(query, nil)
66 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:86:13: error: cannot find 'SecItemCopyMatching' in scope
84 | var result: AnyObject?
85 | let status = withUnsafeMutablePointer(to: &result) {
86 | SecItemCopyMatching(query.CFDictionary, UnsafeMutablePointer($0))
| `- error: cannot find 'SecItemCopyMatching' in scope
87 | }
88 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:90:25: error: cannot find 'errSecItemNotFound' in scope
88 |
89 | // If no items were found, return an empty array.
90 | guard status != errSecItemNotFound else { return nil }
| `- error: cannot find 'errSecItemNotFound' in scope
91 |
92 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:93:25: error: cannot find 'noErr' in scope
91 |
92 | // Throw an error if an unexpected status was returned.
93 | guard status == noErr else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'noErr' in scope
94 |
95 | // Cast the query result to an array of dictionaries.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:100:33: error: cannot find 'kSecValueData' in scope
98 | // Convert an array of dictionaries into an array of T.
99 | return try results.compactMap {
100 | guard let data = $0[kSecValueData.string] as? Data else { return nil }
| `- error: cannot find 'kSecValueData' in scope
101 |
102 | return try PropertyListDecoder().decode(type, from: data)
[20/20] Compiling KeychainAccess Keychain+Manager.swift
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Foundation/Dictionary+Additions.swift:21:23: error: cannot find type 'CFDictionary' in scope
19 | extension Dictionary {
20 | /// Convenience variable for returning Swift Dictionary as CFDictionary.
21 | var CFDictionary: CFDictionary { self as CFDictionary }
| `- error: cannot find type 'CFDictionary' in scope
22 | }
23 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:43:22: error: cannot find 'SecItemDelete' in scope
41 | func delete(_ item: KeychainItem) throws {
42 | let query = try item.query(using: configuration).CFDictionary
43 | let status = SecItemDelete(query)
| `- error: cannot find 'SecItemDelete' in scope
44 |
45 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:46:25: error: cannot find 'noErr' in scope
44 |
45 | // Throw an error if an unexpected status was returned.
46 | guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'noErr' in scope
47 | }
48 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:46:44: error: cannot find 'errSecItemNotFound' in scope
44 |
45 | // Throw an error if an unexpected status was returned.
46 | guard status == noErr || status == errSecItemNotFound else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'errSecItemNotFound' in scope
47 | }
48 |
/host/spi-builder-workspace/Framework/KeychainAccess/Common/Errors/KeychainError.swift:30:20: error: cannot find type 'OSStatus' in scope
28 | ///
29 | /// For list of **OSStatus** codes, please see https://www.osstatus.com/
30 | case unhandled(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
31 | }
32 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:42:21: warning: no calls to throwing functions occur within 'try' expression
40 | /// For documentation see: Keychain.delete()
41 | func delete(_ item: KeychainItem) throws {
42 | let query = try item.query(using: configuration).CFDictionary
| `- warning: no calls to throwing functions occur within 'try' expression
43 | let status = SecItemDelete(query)
44 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:65:22: error: cannot find 'SecItemAdd' in scope
63 | // Add new item, store the result.
64 | let query = try item.query(using: configuration).CFDictionary
65 | let status = SecItemAdd(query, nil)
| `- error: cannot find 'SecItemAdd' in scope
66 |
67 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:65:40: error: 'nil' requires a contextual type
63 | // Add new item, store the result.
64 | let query = try item.query(using: configuration).CFDictionary
65 | let status = SecItemAdd(query, nil)
| `- error: 'nil' requires a contextual type
66 |
67 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:68:25: error: cannot find 'noErr' in scope
66 |
67 | // Throw an error if an unexpected status was returned.
68 | guard status == noErr else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'noErr' in scope
69 | }
70 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:64:21: warning: no calls to throwing functions occur within 'try' expression
62 |
63 | // Add new item, store the result.
64 | let query = try item.query(using: configuration).CFDictionary
| `- warning: no calls to throwing functions occur within 'try' expression
65 | let status = SecItemAdd(query, nil)
66 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:86:13: error: cannot find 'SecItemCopyMatching' in scope
84 | var result: AnyObject?
85 | let status = withUnsafeMutablePointer(to: &result) {
86 | SecItemCopyMatching(query.CFDictionary, UnsafeMutablePointer($0))
| `- error: cannot find 'SecItemCopyMatching' in scope
87 | }
88 |
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:90:25: error: cannot find 'errSecItemNotFound' in scope
88 |
89 | // If no items were found, return an empty array.
90 | guard status != errSecItemNotFound else { return nil }
| `- error: cannot find 'errSecItemNotFound' in scope
91 |
92 | // Throw an error if an unexpected status was returned.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:93:25: error: cannot find 'noErr' in scope
91 |
92 | // Throw an error if an unexpected status was returned.
93 | guard status == noErr else { throw KeychainError.unhandled(status) }
| `- error: cannot find 'noErr' in scope
94 |
95 | // Cast the query result to an array of dictionaries.
/host/spi-builder-workspace/Framework/KeychainAccess/Extensions/Framework/Keychain/Keychain+Manager.swift:100:33: error: cannot find 'kSecValueData' in scope
98 | // Convert an array of dictionaries into an array of T.
99 | return try results.compactMap {
100 | guard let data = $0[kSecValueData.string] as? Data else { return nil }
| `- error: cannot find 'kSecValueData' in scope
101 |
102 | return try PropertyListDecoder().decode(type, from: data)
BUILD FAILURE 6.2 linux