Build Information
Failed to build PassportKit 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 --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appoly/PassportKit.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/appoly/PassportKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 38479cf Support fresh install unauthenticate behaviour
Cloned https://github.com/appoly/PassportKit.git
Revision (git rev-parse @):
38479cfd96a82582c9d7b3cf30428dfb3023a2cb
SUCCESS checkout https://github.com/appoly/PassportKit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/appoly/PassportKit.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 --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/square/Valet.git
[1/5501] Fetching valet
Fetched https://github.com/square/Valet.git from cache (0.37s)
Computing version for https://github.com/square/Valet.git
Computed https://github.com/square/Valet.git at 4.2.0 (0.36s)
Creating working copy for https://github.com/square/Valet.git
Working copy of https://github.com/square/Valet.git resolved at 4.2.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling Valet Service.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:13: error: cannot find 'kSecClass' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:35: error: cannot find 'kSecClassGenericPassword' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:64:13: error: cannot find 'kSecAttrService' in scope
kSecAttrService as String : secService,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:68:23: error: cannot find 'kSecUseDataProtectionKeychain' in scope
baseQuery[kSecUseDataProtectionKeychain as String] = true
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:77:23: error: cannot find 'kSecAttrAccessGroup' in scope
baseQuery[kSecAttrAccessGroup as String] = groupIdentifier.description
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:92:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:95:23: error: cannot find 'kSecAttrSynchronizable' in scope
baseQuery[kSecAttrSynchronizable as String] = true
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:96:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:23: error: cannot find 'kSecAttrAccessControl' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:58: error: cannot find 'SecAccessControlCreateWithFlags' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:95: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:90: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:183: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:39:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:41:14: error: cannot find 'errSecUserCanceled' in scope
case errSecUserCanceled,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:42:14: error: cannot find 'errSecAuthFailed' in scope
errSecAuthFailed:
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:44:14: error: cannot find 'errSecMissingEntitlement' in scope
case errSecMissingEntitlement:
^~~~~~~~~~~~~~~~~~~~~~~~
[5/18] Compiling Valet KeychainError.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:13: error: cannot find 'kSecClass' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:35: error: cannot find 'kSecClassGenericPassword' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:64:13: error: cannot find 'kSecAttrService' in scope
kSecAttrService as String : secService,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:68:23: error: cannot find 'kSecUseDataProtectionKeychain' in scope
baseQuery[kSecUseDataProtectionKeychain as String] = true
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:77:23: error: cannot find 'kSecAttrAccessGroup' in scope
baseQuery[kSecAttrAccessGroup as String] = groupIdentifier.description
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:92:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:95:23: error: cannot find 'kSecAttrSynchronizable' in scope
baseQuery[kSecAttrSynchronizable as String] = true
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:96:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:23: error: cannot find 'kSecAttrAccessControl' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:58: error: cannot find 'SecAccessControlCreateWithFlags' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:95: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:90: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:183: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:39:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:41:14: error: cannot find 'errSecUserCanceled' in scope
case errSecUserCanceled,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:42:14: error: cannot find 'errSecAuthFailed' in scope
errSecAuthFailed:
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:44:14: error: cannot find 'errSecMissingEntitlement' in scope
case errSecMissingEntitlement:
^~~~~~~~~~~~~~~~~~~~~~~~
[6/18] Compiling Valet MigratableKeyValuePair.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:52:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairInput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:65:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:72:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairOutput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:81:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:92:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:103:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:111:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[7/18] Compiling Valet MigrationError.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:52:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairInput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:65:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:72:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairOutput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:81:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:92:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:103:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:111:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[8/20] Compiling Valet Keychain.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:45:26: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = canaryKey
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:46:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = Data(canaryValue.utf8)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:70:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:50: error: cannot find 'kSecMatchLimitOne' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:72:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:94:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:102:58: error: cannot find 'errSecSuccess' in scope
if performCopy(forKey: key, options: options) == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:103:45: error: cannot find 'kSecValueData' in scope
try SecItem.update(attributes: [kSecValueData as String: object], forItemsMatching: secItemQuery)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:105:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = object
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:119:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:136:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:146:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:150:100: error: cannot find 'kSecAttrAccount' in scope
if let singleMatch = collection as? [String: AnyHashable], let singleKey = singleMatch[kSecAttrAccount as String] as? String, singleKey != canaryKey {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:155:42: error: cannot find 'kSecAttrAccount' in scope
let key = attributes[kSecAttrAccount as String] as? String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:21: error: cannot find 'kSecMatchLimit' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:74: error: cannot find 'kSecMatchLimitOne' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:61: error: cannot find type 'CFString' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:185:21: error: cannot find 'kSecReturnData' in scope
guard query[kSecReturnData as String] as? Bool != true else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:190:21: error: cannot find 'kSecReturnAttributes' in scope
guard query[kSecReturnAttributes as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:195:21: error: cannot find 'kSecReturnRef' in scope
guard query[kSecReturnRef as String] as? Bool != true else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:200:21: error: cannot find 'kSecReturnPersistentRef' in scope
guard query[kSecReturnPersistentRef as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:21: error: cannot find 'kSecClass' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:69: error: cannot find 'kSecClassGenericPassword' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:56: error: cannot find type 'CFString' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:210:21: error: cannot find 'kSecAttrAccessControl' in scope
guard query[kSecAttrAccessControl as String] == nil else {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:217:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:218:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = false
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:219:22: error: cannot find 'kSecReturnRef' in scope
secItemQuery[kSecReturnRef as String] = false
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:220:22: error: cannot find 'kSecReturnPersistentRef' in scope
secItemQuery[kSecReturnPersistentRef as String] = true
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:237:62: error: cannot find 'kSecValuePersistentRef' in scope
guard let retrievedPersistentRef = retrievedItem[kSecValuePersistentRef as String] else {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:243:17: error: cannot find 'kSecValuePersistentRef' in scope
kSecValuePersistentRef as String : retrievedPersistentRef,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:244:17: error: cannot find 'kSecReturnData' in scope
kSecReturnData as String : true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:254:48: error: cannot find 'kSecValueData' in scope
retrievedItemToMigrateWithData[kSecValueData as String] = data
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:268:43: error: cannot find 'kSecAttrAccount' in scope
guard let key = keychainEntry[kSecAttrAccount as String] else {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:277:44: error: cannot find 'kSecValueData' in scope
guard let data = keychainEntry[kSecValueData as String] as? Data else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:299:100: error: cannot find 'errSecItemNotFound' in scope
if Keychain.performCopy(forKey: migratablePair.key, options: destinationAttributes) == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:59:81: error: cannot find type 'OSStatus' in scope
internal static func performCopy(matching query: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:38:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:44:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:65:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:65: error: 'nil' requires a contextual type
status = SecItemCopyMatching(query as CFDictionary, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:78:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:22: error: cannot find 'SecItemAdd' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:47: error: cannot find type 'CFDictionary' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:85:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:102:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:22: error: cannot find 'SecItemUpdate' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:45: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:73: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:108:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:126:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:22: error: cannot find 'SecItemDelete' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:52: error: cannot find type 'CFDictionary' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:131:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:135:20: error: no exact matches in call to initializer
switch KeychainError(status: status) {
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
[9/20] Compiling Valet SecItem.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:45:26: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = canaryKey
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:46:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = Data(canaryValue.utf8)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:70:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:50: error: cannot find 'kSecMatchLimitOne' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:72:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:94:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:102:58: error: cannot find 'errSecSuccess' in scope
if performCopy(forKey: key, options: options) == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:103:45: error: cannot find 'kSecValueData' in scope
try SecItem.update(attributes: [kSecValueData as String: object], forItemsMatching: secItemQuery)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:105:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = object
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:119:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:136:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:146:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:150:100: error: cannot find 'kSecAttrAccount' in scope
if let singleMatch = collection as? [String: AnyHashable], let singleKey = singleMatch[kSecAttrAccount as String] as? String, singleKey != canaryKey {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:155:42: error: cannot find 'kSecAttrAccount' in scope
let key = attributes[kSecAttrAccount as String] as? String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:21: error: cannot find 'kSecMatchLimit' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:74: error: cannot find 'kSecMatchLimitOne' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:61: error: cannot find type 'CFString' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:185:21: error: cannot find 'kSecReturnData' in scope
guard query[kSecReturnData as String] as? Bool != true else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:190:21: error: cannot find 'kSecReturnAttributes' in scope
guard query[kSecReturnAttributes as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:195:21: error: cannot find 'kSecReturnRef' in scope
guard query[kSecReturnRef as String] as? Bool != true else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:200:21: error: cannot find 'kSecReturnPersistentRef' in scope
guard query[kSecReturnPersistentRef as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:21: error: cannot find 'kSecClass' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:69: error: cannot find 'kSecClassGenericPassword' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:56: error: cannot find type 'CFString' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:210:21: error: cannot find 'kSecAttrAccessControl' in scope
guard query[kSecAttrAccessControl as String] == nil else {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:217:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:218:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = false
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:219:22: error: cannot find 'kSecReturnRef' in scope
secItemQuery[kSecReturnRef as String] = false
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:220:22: error: cannot find 'kSecReturnPersistentRef' in scope
secItemQuery[kSecReturnPersistentRef as String] = true
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:237:62: error: cannot find 'kSecValuePersistentRef' in scope
guard let retrievedPersistentRef = retrievedItem[kSecValuePersistentRef as String] else {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:243:17: error: cannot find 'kSecValuePersistentRef' in scope
kSecValuePersistentRef as String : retrievedPersistentRef,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:244:17: error: cannot find 'kSecReturnData' in scope
kSecReturnData as String : true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:254:48: error: cannot find 'kSecValueData' in scope
retrievedItemToMigrateWithData[kSecValueData as String] = data
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:268:43: error: cannot find 'kSecAttrAccount' in scope
guard let key = keychainEntry[kSecAttrAccount as String] else {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:277:44: error: cannot find 'kSecValueData' in scope
guard let data = keychainEntry[kSecValueData as String] as? Data else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:299:100: error: cannot find 'errSecItemNotFound' in scope
if Keychain.performCopy(forKey: migratablePair.key, options: destinationAttributes) == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:59:81: error: cannot find type 'OSStatus' in scope
internal static func performCopy(matching query: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:38:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:44:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:65:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:65: error: 'nil' requires a contextual type
status = SecItemCopyMatching(query as CFDictionary, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:78:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:22: error: cannot find 'SecItemAdd' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:47: error: cannot find type 'CFDictionary' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:85:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:102:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:22: error: cannot find 'SecItemUpdate' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:45: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:73: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:108:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:126:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:22: error: cannot find 'SecItemDelete' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:52: error: cannot find type 'CFDictionary' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:131:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:135:20: error: no exact matches in call to initializer
switch KeychainError(status: status) {
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
[10/20] Compiling Valet SinglePromptSecureEnclaveValet.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALValet)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:115:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, Valet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:236:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:244:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:256:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:266:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:295:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:305:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:314:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:325:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:334:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:359:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:384:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:394:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:429:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:506:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:519:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:534:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:549:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:563:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:577:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:661:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:675:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsMatching:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:686:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsFrom:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:405:23: error: cannot find 'kSecAttrAccessible' in scope
keychainQuery[kSecAttrAccessible as String] = "dk" // kSecAttrAccessibleAlways, but with the value hardcoded to avoid a build warning.
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:420:23: error: cannot find 'kSecAttrService' in scope
keychainQuery[kSecAttrService as String] = serviceAttribute
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:440:23: error: cannot find 'kSecAttrAccessible' in scope
keychainQuery[kSecAttrAccessible as String] = "dku" // kSecAttrAccessibleAlwaysThisDeviceOnly, but with the value hardcoded to avoid a build warning.
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:455:23: error: cannot find 'kSecAttrService' in scope
keychainQuery[kSecAttrService as String] = serviceAttribute
^~~~~~~~~~~~~~~
[11/20] Compiling Valet Valet.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALValet)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:115:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, Valet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:236:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:244:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:256:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:266:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:295:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:305:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:314:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:325:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:334:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:359:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:384:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:394:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:429:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:506:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:519:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:534:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:549:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:563:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:577:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:661:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:675:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsMatching:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:686:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsFrom:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:405:23: error: cannot find 'kSecAttrAccessible' in scope
keychainQuery[kSecAttrAccessible as String] = "dk" // kSecAttrAccessibleAlways, but with the value hardcoded to avoid a build warning.
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:420:23: error: cannot find 'kSecAttrService' in scope
keychainQuery[kSecAttrService as String] = serviceAttribute
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:440:23: error: cannot find 'kSecAttrAccessible' in scope
keychainQuery[kSecAttrAccessible as String] = "dku" // kSecAttrAccessibleAlwaysThisDeviceOnly, but with the value hardcoded to avoid a build warning.
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:455:23: error: cannot find 'kSecAttrService' in scope
keychainQuery[kSecAttrService as String] = serviceAttribute
^~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/20] Compiling Valet Identifier.swift
[13/20] Compiling Valet Configuration.swift
[14/20] Emitting module Valet
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:59:81: error: cannot find type 'OSStatus' in scope
internal static func performCopy(matching query: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:52:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairInput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:65:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:72:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairOutput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:81:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:92:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:103:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:111:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALSecureEnclaveValet)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:67:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, SecureEnclaveValet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:107:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:136:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:158:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:170:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:180:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:189:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:202:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:215:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:250:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:264:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:278:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:290:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALValet)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:115:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, Valet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:236:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:244:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:256:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:266:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:295:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:305:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:314:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:325:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:334:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:359:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:384:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:394:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:429:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:506:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:519:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:534:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:549:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:563:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:577:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:661:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:675:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsMatching:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:686:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsFrom:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15/20] Compiling Valet Accessibility.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:54:37: error: cannot find type 'CFString' in scope
let accessibilityAttribute: CFString
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:58:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlock
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:60:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:62:38: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:64:38: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlocked
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:66:38: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlockedThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16/20] Compiling Valet CloudAccessibility.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:54:37: error: cannot find type 'CFString' in scope
let accessibilityAttribute: CFString
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:58:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlock
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:60:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:62:38: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:64:38: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlocked
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:66:38: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlockedThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17/20] Compiling Valet SecureEnclaveValet.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALSecureEnclaveValet)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:67:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, SecureEnclaveValet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:107:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:136:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:158:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:170:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:180:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:189:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:202:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:215:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:250:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:264:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:278:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:290:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[18/20] Compiling Valet SharedGroupIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALSecureEnclaveValet)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:67:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, SecureEnclaveValet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:107:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:136:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:158:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:170:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:180:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:189:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:202:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:215:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:250:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:264:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:278:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:290:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[19/20] Compiling Valet SecureEnclave.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:69:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:22: error: cannot find 'kSecUseAuthenticationUI' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:59: error: cannot find 'kSecUseAuthenticationUIFail' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:86:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess,
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:87:14: error: cannot find 'errSecInteractionNotAllowed' in scope
errSecInteractionNotAllowed:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:90:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:118:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[20/20] Compiling Valet SecureEnclaveAccessControl.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:69:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:22: error: cannot find 'kSecUseAuthenticationUI' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:59: error: cannot find 'kSecUseAuthenticationUIFail' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:86:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess,
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:87:14: error: cannot find 'errSecInteractionNotAllowed' in scope
errSecInteractionNotAllowed:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:90:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:118:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Valet SecureEnclave.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:69:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:22: error: cannot find 'kSecUseAuthenticationUI' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:59: error: cannot find 'kSecUseAuthenticationUIFail' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:86:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess,
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:87:14: error: cannot find 'errSecInteractionNotAllowed' in scope
errSecInteractionNotAllowed:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:90:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:118:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/15] Compiling Valet SecureEnclaveAccessControl.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:69:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:22: error: cannot find 'kSecUseAuthenticationUI' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:82:59: error: cannot find 'kSecUseAuthenticationUIFail' in scope
secItemQuery[kSecUseAuthenticationUI as String] = kSecUseAuthenticationUIFail
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:86:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess,
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:87:14: error: cannot find 'errSecInteractionNotAllowed' in scope
errSecInteractionNotAllowed:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:90:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:93:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclave.swift:118:26: error: cannot find 'kSecUseOperationPrompt' in scope
secItemQuery[kSecUseOperationPrompt as String] = userPrompt
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/16] Compiling Valet MigratableKeyValuePair.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:52:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairInput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:65:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:72:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairOutput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:81:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:92:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:103:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:111:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[5/16] Compiling Valet MigrationError.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:52:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairInput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:65:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:72:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairOutput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:81:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:92:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:103:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:111:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[6/16] Compiling Valet Service.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:13: error: cannot find 'kSecClass' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:35: error: cannot find 'kSecClassGenericPassword' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:64:13: error: cannot find 'kSecAttrService' in scope
kSecAttrService as String : secService,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:68:23: error: cannot find 'kSecUseDataProtectionKeychain' in scope
baseQuery[kSecUseDataProtectionKeychain as String] = true
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:77:23: error: cannot find 'kSecAttrAccessGroup' in scope
baseQuery[kSecAttrAccessGroup as String] = groupIdentifier.description
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:92:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:95:23: error: cannot find 'kSecAttrSynchronizable' in scope
baseQuery[kSecAttrSynchronizable as String] = true
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:96:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:23: error: cannot find 'kSecAttrAccessControl' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:58: error: cannot find 'SecAccessControlCreateWithFlags' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:95: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:90: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:183: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:39:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:41:14: error: cannot find 'errSecUserCanceled' in scope
case errSecUserCanceled,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:42:14: error: cannot find 'errSecAuthFailed' in scope
errSecAuthFailed:
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:44:14: error: cannot find 'errSecMissingEntitlement' in scope
case errSecMissingEntitlement:
^~~~~~~~~~~~~~~~~~~~~~~~
[7/16] Compiling Valet KeychainError.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:13: error: cannot find 'kSecClass' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:63:35: error: cannot find 'kSecClassGenericPassword' in scope
kSecClass as String : kSecClassGenericPassword as String,
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:64:13: error: cannot find 'kSecAttrService' in scope
kSecAttrService as String : secService,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:68:23: error: cannot find 'kSecUseDataProtectionKeychain' in scope
baseQuery[kSecUseDataProtectionKeychain as String] = true
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:77:23: error: cannot find 'kSecAttrAccessGroup' in scope
baseQuery[kSecAttrAccessGroup as String] = groupIdentifier.description
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:92:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:95:23: error: cannot find 'kSecAttrSynchronizable' in scope
baseQuery[kSecAttrSynchronizable as String] = true
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:96:23: error: cannot find 'kSecAttrAccessible' in scope
baseQuery[kSecAttrAccessible as String] = configuration.accessibility.secAccessibilityAttribute
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:23: error: cannot find 'kSecAttrAccessControl' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:58: error: cannot find 'SecAccessControlCreateWithFlags' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:95: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:90: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Service.swift:101:183: error: 'nil' requires a contextual type
baseQuery[kSecAttrAccessControl as String] = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, desiredAccessControl.secAccessControl, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:39:14: error: cannot find 'errSecItemNotFound' in scope
case errSecItemNotFound:
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:41:14: error: cannot find 'errSecUserCanceled' in scope
case errSecUserCanceled,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:42:14: error: cannot find 'errSecAuthFailed' in scope
errSecAuthFailed:
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:44:14: error: cannot find 'errSecMissingEntitlement' in scope
case errSecMissingEntitlement:
^~~~~~~~~~~~~~~~~~~~~~~~
[8/16] Compiling Valet SinglePromptSecureEnclaveValet.swift
[9/16] Compiling Valet SecureEnclaveValet.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALSecureEnclaveValet)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:67:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, SecureEnclaveValet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:107:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:136:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:158:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:170:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:180:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:189:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:202:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:215:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:250:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:264:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:278:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:290:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/16] Compiling Valet SharedGroupIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALSecureEnclaveValet)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:67:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, SecureEnclaveValet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:107:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:136:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:158:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:170:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:180:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:189:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:202:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:215:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:250:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:264:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:278:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:290:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/16] Emitting module Valet
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:59:81: error: cannot find type 'OSStatus' in scope
internal static func performCopy(matching query: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:52:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairInput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:65:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:72:2: error: Objective-C interoperability is disabled
@objc(VALMigratableKeyValuePairOutput)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:81:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:92:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:103:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:111:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/MigratableKeyValuePair.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveAccessControl.swift:67:36: error: cannot find type 'SecAccessControlCreateFlags' in scope
internal var secAccessControl: SecAccessControlCreateFlags {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALSecureEnclaveValet)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:67:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, SecureEnclaveValet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:107:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:114:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:136:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:158:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:170:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:180:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:189:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:202:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:215:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:250:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:264:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:278:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessControl:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/SecureEnclaveValet.swift:290:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALValet)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:115:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, Valet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:236:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:244:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:256:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:266:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:295:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:305:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:314:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:325:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:334:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:359:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:384:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:394:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:429:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:506:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:519:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:534:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:549:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:563:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:577:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:661:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:675:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsMatching:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:686:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsFrom:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[12/16] Compiling Valet Accessibility.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:54:37: error: cannot find type 'CFString' in scope
let accessibilityAttribute: CFString
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:58:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlock
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:60:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:62:38: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:64:38: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlocked
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:66:38: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlockedThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[13/16] Compiling Valet CloudAccessibility.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:54:37: error: cannot find type 'CFString' in scope
let accessibilityAttribute: CFString
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:58:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlock
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:60:38: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:62:38: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:64:38: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlocked
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Accessibility.swift:66:38: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
accessibilityAttribute = kSecAttrAccessibleWhenUnlockedThisDeviceOnly
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[14/16] Compiling Valet Keychain.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:45:26: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = canaryKey
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:46:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = Data(canaryValue.utf8)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:70:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:50: error: cannot find 'kSecMatchLimitOne' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:72:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:94:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:102:58: error: cannot find 'errSecSuccess' in scope
if performCopy(forKey: key, options: options) == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:103:45: error: cannot find 'kSecValueData' in scope
try SecItem.update(attributes: [kSecValueData as String: object], forItemsMatching: secItemQuery)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:105:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = object
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:119:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:136:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:146:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:150:100: error: cannot find 'kSecAttrAccount' in scope
if let singleMatch = collection as? [String: AnyHashable], let singleKey = singleMatch[kSecAttrAccount as String] as? String, singleKey != canaryKey {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:155:42: error: cannot find 'kSecAttrAccount' in scope
let key = attributes[kSecAttrAccount as String] as? String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:21: error: cannot find 'kSecMatchLimit' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:74: error: cannot find 'kSecMatchLimitOne' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:61: error: cannot find type 'CFString' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:185:21: error: cannot find 'kSecReturnData' in scope
guard query[kSecReturnData as String] as? Bool != true else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:190:21: error: cannot find 'kSecReturnAttributes' in scope
guard query[kSecReturnAttributes as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:195:21: error: cannot find 'kSecReturnRef' in scope
guard query[kSecReturnRef as String] as? Bool != true else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:200:21: error: cannot find 'kSecReturnPersistentRef' in scope
guard query[kSecReturnPersistentRef as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:21: error: cannot find 'kSecClass' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:69: error: cannot find 'kSecClassGenericPassword' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:56: error: cannot find type 'CFString' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:210:21: error: cannot find 'kSecAttrAccessControl' in scope
guard query[kSecAttrAccessControl as String] == nil else {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:217:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:218:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = false
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:219:22: error: cannot find 'kSecReturnRef' in scope
secItemQuery[kSecReturnRef as String] = false
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:220:22: error: cannot find 'kSecReturnPersistentRef' in scope
secItemQuery[kSecReturnPersistentRef as String] = true
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:237:62: error: cannot find 'kSecValuePersistentRef' in scope
guard let retrievedPersistentRef = retrievedItem[kSecValuePersistentRef as String] else {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:243:17: error: cannot find 'kSecValuePersistentRef' in scope
kSecValuePersistentRef as String : retrievedPersistentRef,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:244:17: error: cannot find 'kSecReturnData' in scope
kSecReturnData as String : true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:254:48: error: cannot find 'kSecValueData' in scope
retrievedItemToMigrateWithData[kSecValueData as String] = data
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:268:43: error: cannot find 'kSecAttrAccount' in scope
guard let key = keychainEntry[kSecAttrAccount as String] else {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:277:44: error: cannot find 'kSecValueData' in scope
guard let data = keychainEntry[kSecValueData as String] as? Data else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:299:100: error: cannot find 'errSecItemNotFound' in scope
if Keychain.performCopy(forKey: migratablePair.key, options: destinationAttributes) == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:59:81: error: cannot find type 'OSStatus' in scope
internal static func performCopy(matching query: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:38:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:44:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:65:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:65: error: 'nil' requires a contextual type
status = SecItemCopyMatching(query as CFDictionary, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:78:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:22: error: cannot find 'SecItemAdd' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:47: error: cannot find type 'CFDictionary' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:85:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:102:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:22: error: cannot find 'SecItemUpdate' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:45: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:73: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:108:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:126:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:22: error: cannot find 'SecItemDelete' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:52: error: cannot find type 'CFDictionary' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:131:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:135:20: error: no exact matches in call to initializer
switch KeychainError(status: status) {
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
[15/16] Compiling Valet SecItem.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:45:26: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = canaryKey
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:46:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = Data(canaryValue.utf8)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:70:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:71:50: error: cannot find 'kSecMatchLimitOne' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitOne
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:72:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:94:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:102:58: error: cannot find 'errSecSuccess' in scope
if performCopy(forKey: key, options: options) == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:103:45: error: cannot find 'kSecValueData' in scope
try SecItem.update(attributes: [kSecValueData as String: object], forItemsMatching: secItemQuery)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:105:26: error: cannot find 'kSecValueData' in scope
secItemQuery[kSecValueData as String] = object
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:119:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:136:22: error: cannot find 'kSecAttrAccount' in scope
secItemQuery[kSecAttrAccount as String] = key
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:145:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:146:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:150:100: error: cannot find 'kSecAttrAccount' in scope
if let singleMatch = collection as? [String: AnyHashable], let singleKey = singleMatch[kSecAttrAccount as String] as? String, singleKey != canaryKey {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:155:42: error: cannot find 'kSecAttrAccount' in scope
let key = attributes[kSecAttrAccount as String] as? String
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:21: error: cannot find 'kSecMatchLimit' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:74: error: cannot find 'kSecMatchLimitOne' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:180:61: error: cannot find type 'CFString' in scope
guard query[kSecMatchLimit as String] as? String as CFString? != kSecMatchLimitOne else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:185:21: error: cannot find 'kSecReturnData' in scope
guard query[kSecReturnData as String] as? Bool != true else {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:190:21: error: cannot find 'kSecReturnAttributes' in scope
guard query[kSecReturnAttributes as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:195:21: error: cannot find 'kSecReturnRef' in scope
guard query[kSecReturnRef as String] as? Bool != true else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:200:21: error: cannot find 'kSecReturnPersistentRef' in scope
guard query[kSecReturnPersistentRef as String] as? Bool != false else {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:21: error: cannot find 'kSecClass' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:69: error: cannot find 'kSecClassGenericPassword' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:205:56: error: cannot find type 'CFString' in scope
guard query[kSecClass as String] as? String as CFString? == kSecClassGenericPassword else {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:210:21: error: cannot find 'kSecAttrAccessControl' in scope
guard query[kSecAttrAccessControl as String] == nil else {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:22: error: cannot find 'kSecMatchLimit' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:216:50: error: cannot find 'kSecMatchLimitAll' in scope
secItemQuery[kSecMatchLimit as String] = kSecMatchLimitAll
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:217:22: error: cannot find 'kSecReturnAttributes' in scope
secItemQuery[kSecReturnAttributes as String] = true
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:218:22: error: cannot find 'kSecReturnData' in scope
secItemQuery[kSecReturnData as String] = false
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:219:22: error: cannot find 'kSecReturnRef' in scope
secItemQuery[kSecReturnRef as String] = false
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:220:22: error: cannot find 'kSecReturnPersistentRef' in scope
secItemQuery[kSecReturnPersistentRef as String] = true
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:237:62: error: cannot find 'kSecValuePersistentRef' in scope
guard let retrievedPersistentRef = retrievedItem[kSecValuePersistentRef as String] else {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:243:17: error: cannot find 'kSecValuePersistentRef' in scope
kSecValuePersistentRef as String : retrievedPersistentRef,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:244:17: error: cannot find 'kSecReturnData' in scope
kSecReturnData as String : true
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:254:48: error: cannot find 'kSecValueData' in scope
retrievedItemToMigrateWithData[kSecValueData as String] = data
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:268:43: error: cannot find 'kSecAttrAccount' in scope
guard let key = keychainEntry[kSecAttrAccount as String] else {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:277:44: error: cannot find 'kSecValueData' in scope
guard let data = keychainEntry[kSecValueData as String] as? Data else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:299:100: error: cannot find 'errSecItemNotFound' in scope
if Keychain.performCopy(forKey: migratablePair.key, options: destinationAttributes) == errSecItemNotFound {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:59:81: error: cannot find type 'OSStatus' in scope
internal static func performCopy(matching query: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:38:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:41:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:44:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/KeychainError.swift:37:18: error: cannot find type 'OSStatus' in scope
init(status: OSStatus) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:55:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:65:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:22: error: cannot find 'SecItemCopyMatching' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:51: error: cannot find type 'CFDictionary' in scope
status = SecItemCopyMatching(query as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:67:65: error: 'nil' requires a contextual type
status = SecItemCopyMatching(query as CFDictionary, nil)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:78:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:22: error: cannot find 'SecItemAdd' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:81:47: error: cannot find type 'CFDictionary' in scope
status = SecItemAdd(attributes as CFDictionary, &result)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:85:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:89:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:102:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:22: error: cannot find 'SecItemUpdate' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:45: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:104:73: error: cannot find type 'CFDictionary' in scope
status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:108:14: error: cannot find 'errSecSuccess' in scope
case errSecSuccess:
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: no exact matches in call to initializer
throw KeychainError(status: status)
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:112:19: error: thrown expression type 'KeychainError?' does not conform to 'Error'
throw KeychainError(status: status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:126:22: error: cannot find 'errSecNotAvailable' in scope
var status = errSecNotAvailable
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:22: error: cannot find 'SecItemDelete' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:128:52: error: cannot find type 'CFDictionary' in scope
status = SecItemDelete(secItemQuery as CFDictionary)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:131:22: error: cannot find 'errSecSuccess' in scope
if status == errSecSuccess {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/SecItem.swift:135:20: error: no exact matches in call to initializer
switch KeychainError(status: status) {
^
Foundation.__BridgedNSError:5:12: note: incorrect labels for candidate (have: '(status:)', expected: '(_bridgedNSError:)')
public init?(_bridgedNSError: NSError)
^
Foundation.__BridgedNSError:4:12: note: incorrect labels for candidate (have: '(status:)', expected: '(rawValue:)')
public init?(rawValue: Self.RawValue)
^
[16/16] Compiling Valet Valet.swift
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:21:2: error: Objective-C interoperability is disabled
@objc(VALValet)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:115:47: error: cannot find 'NSMapTable' in scope
private static let identifierToValetMap = NSMapTable<NSString, Valet>.strongToWeakObjects()
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:236:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:244:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:256:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:266:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:295:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:305:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:314:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:325:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:334:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:359:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:384:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:394:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:429:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:506:6: error: Objective-C interoperability is disabled
@objc(valetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:519:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:534:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:549:6: error: Objective-C interoperability is disabled
@objc(sharedGroupValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:563:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithAppIDPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:577:6: error: Objective-C interoperability is disabled
@objc(iCloudValetWithGroupPrefix:sharedGroupIdentifier:accessibility:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:661:6: error: Objective-C interoperability is disabled
@objc(containsObjectForKey:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:675:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsMatching:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:686:6: error: Objective-C interoperability is disabled
@objc(migrateObjectsFrom:compactMap:error:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Internal/Keychain.swift:130:94: error: cannot find type 'OSStatus' in scope
internal static func performCopy(forKey key: String, options: [String : AnyHashable]) -> OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:405:23: error: cannot find 'kSecAttrAccessible' in scope
keychainQuery[kSecAttrAccessible as String] = "dk" // kSecAttrAccessibleAlways, but with the value hardcoded to avoid a build warning.
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:420:23: error: cannot find 'kSecAttrService' in scope
keychainQuery[kSecAttrService as String] = serviceAttribute
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:440:23: error: cannot find 'kSecAttrAccessible' in scope
keychainQuery[kSecAttrAccessible as String] = "dku" // kSecAttrAccessibleAlwaysThisDeviceOnly, but with the value hardcoded to avoid a build warning.
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Valet/Sources/Valet/Valet.swift:455:23: error: cannot find 'kSecAttrService' in scope
keychainQuery[kSecAttrService as String] = serviceAttribute
^~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux