Build Information
Failed to build KeychainStore with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JuanjoArreola/KeychainStore.git
Reference: 3.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/JuanjoArreola/KeychainStore
* tag 3.2.0 -> FETCH_HEAD
HEAD is now at 9113d6c public final KeychainStore
Cloned https://github.com/JuanjoArreola/KeychainStore.git
Revision (git rev-parse @):
9113d6c38383eee13fefea3271793cc5790bd3ec
SUCCESS checkout https://github.com/JuanjoArreola/KeychainStore.git at 3.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/JuanjoArreola/KeychainStore.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling KeychainStore KeychainStore.swift
[4/8] Compiling KeychainStore KeychainStoreError.swift
[5/8] Compiling KeychainStore KeychainStringStore.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module KeychainStore
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:11:24: error: cannot find 'kSecClass' in scope
private let secClass = kSecClass as String
^~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:12:30: error: cannot find 'kSecAttrGeneric' in scope
private let secAttrGeneric = kSecAttrGeneric as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:13:30: error: cannot find 'kSecAttrService' in scope
private let secAttrService = kSecAttrService as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:14:34: error: cannot find 'kSecAttrAccessGroup' in scope
private let secAttrAccessGroup = kSecAttrAccessGroup as String
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:15:29: error: cannot find 'kSecAttrAccount' in scope
private let secAttrAcount = kSecAttrAccount as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:16:29: error: cannot find 'kSecMatchLimit' in scope
private let secMatchLimit = kSecMatchLimit as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:17:29: error: cannot find 'kSecReturnData' in scope
private let secReturnData = kSecReturnData as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:18:28: error: cannot find 'kSecValueData' in scope
private let secValueData = kSecValueData as String
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:19:33: error: cannot find 'kSecAttrAccessible' in scope
private let secAttrAccessible = kSecAttrAccessible as String
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:20:35: error: cannot find 'kSecReturnAttributes' in scope
private let secReturnAttributes = kSecReturnAttributes as String
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:172:24: error: cannot find type 'OSStatus' in scope
func error(from staus: OSStatus) -> KeychainStoreError {
^~~~~~~~
[7/8] Compiling KeychainStore AbstractKeychainStore.swift
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:11:24: error: cannot find 'kSecClass' in scope
private let secClass = kSecClass as String
^~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:12:30: error: cannot find 'kSecAttrGeneric' in scope
private let secAttrGeneric = kSecAttrGeneric as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:13:30: error: cannot find 'kSecAttrService' in scope
private let secAttrService = kSecAttrService as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:14:34: error: cannot find 'kSecAttrAccessGroup' in scope
private let secAttrAccessGroup = kSecAttrAccessGroup as String
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:15:29: error: cannot find 'kSecAttrAccount' in scope
private let secAttrAcount = kSecAttrAccount as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:16:29: error: cannot find 'kSecMatchLimit' in scope
private let secMatchLimit = kSecMatchLimit as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:17:29: error: cannot find 'kSecReturnData' in scope
private let secReturnData = kSecReturnData as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:18:28: error: cannot find 'kSecValueData' in scope
private let secValueData = kSecValueData as String
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:19:33: error: cannot find 'kSecAttrAccessible' in scope
private let secAttrAccessible = kSecAttrAccessible as String
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:20:35: error: cannot find 'kSecReturnAttributes' in scope
private let secReturnAttributes = kSecReturnAttributes as String
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:172:24: error: cannot find type 'OSStatus' in scope
func error(from staus: OSStatus) -> KeychainStoreError {
^~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:39:23: error: cannot find 'kSecClassGenericPassword' in scope
secClass: kSecClassGenericPassword,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:56:32: error: cannot find 'kSecMatchLimitOne' in scope
query[secMatchLimit] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:57:32: error: cannot find 'kCFBooleanTrue' in scope
query[secReturnData] = kCFBooleanTrue
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:61:13: error: cannot find 'SecItemCopyMatching' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:61:42: error: cannot find type 'CFDictionary' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:63:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:65:29: error: cannot find 'errSecItemNotFound' in scope
} else if status == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:73:32: error: cannot find 'kSecMatchLimitOne' in scope
query[secMatchLimit] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:74:32: error: cannot find 'kCFBooleanFalse' in scope
query[secReturnData] = kCFBooleanFalse
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:78:13: error: cannot find 'SecItemCopyMatching' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:78:42: error: cannot find type 'CFDictionary' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:80:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:82:29: error: cannot find 'errSecItemNotFound' in scope
} else if status == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:99:22: error: cannot find 'SecItemAdd' in scope
let status = SecItemAdd(query as CFDictionary, nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:99:42: error: cannot find type 'CFDictionary' in scope
let status = SecItemAdd(query as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:99:56: error: 'nil' requires a contextual type
let status = SecItemAdd(query as CFDictionary, nil)
^
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:100:22: error: cannot find 'errSecDuplicateItem' in scope
if status == errSecDuplicateItem {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:102:29: error: cannot find 'errSecSuccess' in scope
} else if status != errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:116:22: error: cannot find 'SecItemUpdate' in scope
let status = SecItemUpdate(query as CFDictionary, updateQuery as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:116:45: error: cannot find type 'CFDictionary' in scope
let status = SecItemUpdate(query as CFDictionary, updateQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:116:74: error: cannot find type 'CFDictionary' in scope
let status = SecItemUpdate(query as CFDictionary, updateQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:117:22: error: cannot find 'errSecSuccess' in scope
if status != errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:126:23: error: cannot find 'kSecClassGenericPassword' in scope
secClass: kSecClassGenericPassword,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:128:34: error: cannot find 'kCFBooleanTrue' in scope
secReturnAttributes: kCFBooleanTrue as Any,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:129:28: error: cannot find 'kSecMatchLimitAll' in scope
secMatchLimit: kSecMatchLimitAll]
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:136:13: error: cannot find 'SecItemCopyMatching' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:136:42: error: cannot find type 'CFDictionary' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:138:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:144:27: error: cannot find 'errSecItemNotFound' in scope
else if status == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:155:22: error: cannot find 'SecItemDelete' in scope
let status = SecItemDelete(query as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:155:45: error: cannot find type 'CFDictionary' in scope
let status = SecItemDelete(query as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:156:22: error: cannot find 'errSecSuccess' in scope
if status != errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:174:10: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
[8/8] Compiling KeychainStore KeychainAccessibility.swift
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:21:20: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
return kSecAttrAccessibleAfterFirstUnlock as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:23:20: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
return kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:25:20: error: cannot find 'kSecAttrAccessibleAlways' in scope
return kSecAttrAccessibleAlways as String
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:27:20: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
return kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:29:20: error: cannot find 'kSecAttrAccessibleAlwaysThisDeviceOnly' in scope
return kSecAttrAccessibleAlwaysThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:31:20: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
return kSecAttrAccessibleWhenUnlocked as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:33:20: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
return kSecAttrAccessibleWhenUnlockedThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling KeychainStore KeychainAccessibility.swift
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:21:20: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
return kSecAttrAccessibleAfterFirstUnlock as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:23:20: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
return kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:25:20: error: cannot find 'kSecAttrAccessibleAlways' in scope
return kSecAttrAccessibleAlways as String
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:27:20: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
return kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:29:20: error: cannot find 'kSecAttrAccessibleAlwaysThisDeviceOnly' in scope
return kSecAttrAccessibleAlwaysThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:31:20: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
return kSecAttrAccessibleWhenUnlocked as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/KeychainAccessibility.swift:33:20: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
return kSecAttrAccessibleWhenUnlockedThisDeviceOnly as String
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module KeychainStore
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:11:24: error: cannot find 'kSecClass' in scope
private let secClass = kSecClass as String
^~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:12:30: error: cannot find 'kSecAttrGeneric' in scope
private let secAttrGeneric = kSecAttrGeneric as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:13:30: error: cannot find 'kSecAttrService' in scope
private let secAttrService = kSecAttrService as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:14:34: error: cannot find 'kSecAttrAccessGroup' in scope
private let secAttrAccessGroup = kSecAttrAccessGroup as String
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:15:29: error: cannot find 'kSecAttrAccount' in scope
private let secAttrAcount = kSecAttrAccount as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:16:29: error: cannot find 'kSecMatchLimit' in scope
private let secMatchLimit = kSecMatchLimit as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:17:29: error: cannot find 'kSecReturnData' in scope
private let secReturnData = kSecReturnData as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:18:28: error: cannot find 'kSecValueData' in scope
private let secValueData = kSecValueData as String
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:19:33: error: cannot find 'kSecAttrAccessible' in scope
private let secAttrAccessible = kSecAttrAccessible as String
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:20:35: error: cannot find 'kSecReturnAttributes' in scope
private let secReturnAttributes = kSecReturnAttributes as String
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:172:24: error: cannot find type 'OSStatus' in scope
func error(from staus: OSStatus) -> KeychainStoreError {
^~~~~~~~
[4/4] Compiling KeychainStore AbstractKeychainStore.swift
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:11:24: error: cannot find 'kSecClass' in scope
private let secClass = kSecClass as String
^~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:12:30: error: cannot find 'kSecAttrGeneric' in scope
private let secAttrGeneric = kSecAttrGeneric as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:13:30: error: cannot find 'kSecAttrService' in scope
private let secAttrService = kSecAttrService as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:14:34: error: cannot find 'kSecAttrAccessGroup' in scope
private let secAttrAccessGroup = kSecAttrAccessGroup as String
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:15:29: error: cannot find 'kSecAttrAccount' in scope
private let secAttrAcount = kSecAttrAccount as String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:16:29: error: cannot find 'kSecMatchLimit' in scope
private let secMatchLimit = kSecMatchLimit as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:17:29: error: cannot find 'kSecReturnData' in scope
private let secReturnData = kSecReturnData as String
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:18:28: error: cannot find 'kSecValueData' in scope
private let secValueData = kSecValueData as String
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:19:33: error: cannot find 'kSecAttrAccessible' in scope
private let secAttrAccessible = kSecAttrAccessible as String
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:20:35: error: cannot find 'kSecReturnAttributes' in scope
private let secReturnAttributes = kSecReturnAttributes as String
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:172:24: error: cannot find type 'OSStatus' in scope
func error(from staus: OSStatus) -> KeychainStoreError {
^~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:39:23: error: cannot find 'kSecClassGenericPassword' in scope
secClass: kSecClassGenericPassword,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:56:32: error: cannot find 'kSecMatchLimitOne' in scope
query[secMatchLimit] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:57:32: error: cannot find 'kCFBooleanTrue' in scope
query[secReturnData] = kCFBooleanTrue
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:61:13: error: cannot find 'SecItemCopyMatching' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:61:42: error: cannot find type 'CFDictionary' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:63:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:65:29: error: cannot find 'errSecItemNotFound' in scope
} else if status == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:73:32: error: cannot find 'kSecMatchLimitOne' in scope
query[secMatchLimit] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:74:32: error: cannot find 'kCFBooleanFalse' in scope
query[secReturnData] = kCFBooleanFalse
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:78:13: error: cannot find 'SecItemCopyMatching' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:78:42: error: cannot find type 'CFDictionary' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:80:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:82:29: error: cannot find 'errSecItemNotFound' in scope
} else if status == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:99:22: error: cannot find 'SecItemAdd' in scope
let status = SecItemAdd(query as CFDictionary, nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:99:42: error: cannot find type 'CFDictionary' in scope
let status = SecItemAdd(query as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:99:56: error: 'nil' requires a contextual type
let status = SecItemAdd(query as CFDictionary, nil)
^
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:100:22: error: cannot find 'errSecDuplicateItem' in scope
if status == errSecDuplicateItem {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:102:29: error: cannot find 'errSecSuccess' in scope
} else if status != errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:116:22: error: cannot find 'SecItemUpdate' in scope
let status = SecItemUpdate(query as CFDictionary, updateQuery as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:116:45: error: cannot find type 'CFDictionary' in scope
let status = SecItemUpdate(query as CFDictionary, updateQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:116:74: error: cannot find type 'CFDictionary' in scope
let status = SecItemUpdate(query as CFDictionary, updateQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:117:22: error: cannot find 'errSecSuccess' in scope
if status != errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:126:23: error: cannot find 'kSecClassGenericPassword' in scope
secClass: kSecClassGenericPassword,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:128:34: error: cannot find 'kCFBooleanTrue' in scope
secReturnAttributes: kCFBooleanTrue as Any,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:129:28: error: cannot find 'kSecMatchLimitAll' in scope
secMatchLimit: kSecMatchLimitAll]
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:136:13: error: cannot find 'SecItemCopyMatching' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:136:42: error: cannot find type 'CFDictionary' in scope
SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:138:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:144:27: error: cannot find 'errSecItemNotFound' in scope
else if status == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:155:22: error: cannot find 'SecItemDelete' in scope
let status = SecItemDelete(query as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:155:45: error: cannot find type 'CFDictionary' in scope
let status = SecItemDelete(query as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:156:22: error: cannot find 'errSecSuccess' in scope
if status != errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeychainStore/AbstractKeychainStore.swift:174:10: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux