The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Swiftchain with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbertix/Swiftchain.git
Reference: main
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/sbertix/Swiftchain
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ab0409e Update to `1.0.5`
Cloned https://github.com/sbertix/Swiftchain.git
Revision (git rev-parse @):
ab0409e62f1629bc1a153f41dec5856a3c05a548
SUCCESS checkout https://github.com/sbertix/Swiftchain.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/sbertix/Swiftchain.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module Swiftchain
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:66: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: error: no exact matches in call to initializer
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:70: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: error: no exact matches in call to initializer
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:84: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: error: no exact matches in call to initializer
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:83: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: error: no exact matches in call to initializer
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:80: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: error: no exact matches in call to initializer
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Hashable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Hashable'
        public let rawValue: CFString
                   ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'RawRepresentable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Equatable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Equatable'
        public let rawValue: CFString
                   ^
Swift.==:1:24: note: candidate would match if 'Keychain.Accessibility.RawValue' conformed to 'Equatable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
    associatedtype RawValue
                   ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Keychain.Accessibility, Keychain.Accessibility) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:103:20: error: cannot find type 'SecAccessControlCreateFlags' in scope
        var flags: SecAccessControlCreateFlags {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
[4/9] Compiling Swiftchain Keychain.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:66: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: error: no exact matches in call to initializer
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:75:35: error: cannot find 'SecItemDelete' in scope
        switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:75:58: error: cannot find type 'CFDictionary' in scope
        switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:76:14: error: cannot find 'errSecSuccess' in scope
        case errSecSuccess, errSecItemNotFound: break
             ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:76:29: error: cannot find 'errSecItemNotFound' in scope
        case errSecSuccess, errSecItemNotFound: break
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:91:75: error: cannot find 'SecItemCopyMatching' in scope
        switch Keychain.locking({ withUnsafeMutablePointer(to: &result) { SecItemCopyMatching(query as CFDictionary, $0) }}) {
                                                                          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:91:104: error: cannot find type 'CFDictionary' in scope
        switch Keychain.locking({ withUnsafeMutablePointer(to: &result) { SecItemCopyMatching(query as CFDictionary, $0) }}) {
                                                                                                       ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:92:14: error: cannot find 'errSecSuccess' in scope
        case errSecSuccess: break
             ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:93:14: error: cannot find 'errSecItemNotFound' in scope
        case errSecItemNotFound: return []
             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:99:40: error: cannot find 'kSecAttrAccount' in scope
            guard let key = attributes[kSecAttrAccount] as? String else { return }
                                       ^~~~~~~~~~~~~~~
[5/9] Compiling Swiftchain KeychainAccessibility.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:70: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: error: no exact matches in call to initializer
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:84: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: error: no exact matches in call to initializer
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:83: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: error: no exact matches in call to initializer
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:66: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: error: no exact matches in call to initializer
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:80: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: error: no exact matches in call to initializer
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Hashable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Hashable'
        public let rawValue: CFString
                   ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'RawRepresentable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Equatable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Equatable'
        public let rawValue: CFString
                   ^
Swift.==:1:24: note: candidate would match if 'Keychain.Accessibility.RawValue' conformed to 'Equatable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
    associatedtype RawValue
                   ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Keychain.Accessibility, Keychain.Accessibility) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
[6/9] Compiling Swiftchain KeychainAuthentication.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:103:20: error: cannot find type 'SecAccessControlCreateFlags' in scope
        var flags: SecAccessControlCreateFlags {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:104:22: error: cannot find type 'SecAccessControlCreateFlags' in scope
            var set: SecAccessControlCreateFlags = []
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:107:29: error: cannot infer contextual base in reference to member 'devicePasscode'
                set.insert(.devicePasscode)
                           ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:111:29: error: cannot infer contextual base in reference to member 'biometryAny'
                set.insert(.biometryAny)
                           ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:115:29: error: cannot infer contextual base in reference to member 'biometryCurrentSet'
                set.insert(.biometryCurrentSet)
                           ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:123:33: error: cannot infer contextual base in reference to member 'and'
                    set.insert(.and)
                               ~^~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:125:33: error: cannot infer contextual base in reference to member 'or'
                    set.insert(.or)
                               ~^~
[7/9] Compiling Swiftchain KeychainError.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:23:28: error: cannot find 'SecCopyErrorMessageString' in scope
                    return SecCopyErrorMessageString(status, nil) as String? ?? String(describing: status)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:23:62: error: 'nil' requires a contextual type
                    return SecCopyErrorMessageString(status, nil) as String? ?? String(describing: status)
                                                             ^
[8/9] Compiling Swiftchain KeychainContainer.swift
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:56:43: error: cannot find 'SecItemAdd' in scope
                switch Keychain.locking({ SecItemAdd(query as CFDictionary, nil) }) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:56:63: error: cannot find type 'CFDictionary' in scope
                switch Keychain.locking({ SecItemAdd(query as CFDictionary, nil) }) {
                                                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:56:77: error: 'nil' requires a contextual type
                switch Keychain.locking({ SecItemAdd(query as CFDictionary, nil) }) {
                                                                            ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:57:22: error: cannot find 'errSecSuccess' in scope
                case errSecSuccess: break
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:58:22: error: cannot find 'errSecDuplicateItem' in scope
                case errSecDuplicateItem:
                     ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:61:84: error: 'nil' requires a contextual type
                    let initialQuery = try initialConstants.query(for: self, with: nil)
                                                                                   ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:63:47: error: cannot find 'SecItemUpdate' in scope
                    switch Keychain.locking({ SecItemUpdate(initialQuery as CFDictionary, updateQuery as CFDictionary) }) {
                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:63:77: error: cannot find type 'CFDictionary' in scope
                    switch Keychain.locking({ SecItemUpdate(initialQuery as CFDictionary, updateQuery as CFDictionary) }) {
                                                                            ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:63:106: error: cannot find type 'CFDictionary' in scope
                    switch Keychain.locking({ SecItemUpdate(initialQuery as CFDictionary, updateQuery as CFDictionary) }) {
                                                                                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:64:26: error: cannot find 'errSecSuccess' in scope
                    case errSecSuccess: break
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:124:39: error: cannot find 'SecItemDelete' in scope
            switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:124:62: error: cannot find type 'CFDictionary' in scope
            switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                                             ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:125:18: error: cannot find 'errSecSuccess' in scope
            case errSecSuccess, errSecItemNotFound: break
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:125:33: error: cannot find 'errSecItemNotFound' in scope
            case errSecSuccess, errSecItemNotFound: break
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:163:39: error: cannot find 'SecItemCopyMatching' in scope
            switch Keychain.locking({ SecItemCopyMatching(query as CFDictionary, &result) }) {
                                      ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:163:68: error: cannot find type 'CFDictionary' in scope
            switch Keychain.locking({ SecItemCopyMatching(query as CFDictionary, &result) }) {
                                                                   ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:164:18: error: cannot find 'errSecItemNotFound' in scope
            case errSecItemNotFound: return nil
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:165:18: error: cannot find 'noErr' in scope
            case noErr: break
                 ^~~~~
[9/9] Compiling Swiftchain SecurityConstants.swift
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:56:21: error: cannot find type 'CFString' in scope
        var query: [CFString: Any] = [kSecClass: kSecClassGenericPassword]
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:58:19: error: cannot find 'kSecMatchLimit' in scope
            query[kSecMatchLimit] = kSecMatchLimitOne
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:58:37: error: cannot find 'kSecMatchLimitOne' in scope
            query[kSecMatchLimit] = kSecMatchLimitOne
                                    ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:60:19: error: cannot find 'kSecMatchLimit' in scope
            query[kSecMatchLimit] = kSecMatchLimitAll
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:60:37: error: cannot find 'kSecMatchLimitAll' in scope
            query[kSecMatchLimit] = kSecMatchLimitAll
                                    ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:62:42: error: cannot find 'kSecReturnAttributes' in scope
        if contains(.attributes) { query[kSecReturnAttributes] = kCFBooleanTrue! }
                                         ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:62:66: error: cannot find 'kCFBooleanTrue' in scope
        if contains(.attributes) { query[kSecReturnAttributes] = kCFBooleanTrue! }
                                                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:63:36: error: cannot find 'kSecReturnData' in scope
        if contains(.data) { query[kSecReturnData] = kCFBooleanTrue! }
                                   ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:63:54: error: cannot find 'kCFBooleanTrue' in scope
        if contains(.data) { query[kSecReturnData] = kCFBooleanTrue! }
                                                     ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:76:71: error: cannot find 'kSecAttrService' in scope
        if let service = keychain.service, contains(.service) { query[kSecAttrService] = service as CFString }
                                                                      ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:76:101: error: cannot find type 'CFString' in scope
        if let service = keychain.service, contains(.service) { query[kSecAttrService] = service as CFString }
                                                                                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:77:65: error: cannot find 'kSecAttrAccessGroup' in scope
        if let group = keychain.group, contains(.group) { query[kSecAttrAccessGroup] = group as CFString }
                                                                ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:77:97: error: cannot find type 'CFString' in scope
        if let group = keychain.group, contains(.group) { query[kSecAttrAccessGroup] = group as CFString }
                                                                                                ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:78:78: error: cannot find 'kSecAttrAccessible' in scope
        if keychain.authentication.isEmpty, contains(.accessibility) { query[kSecAttrAccessible] = keychain.accessibility.rawValue }
                                                                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:80:34: error: cannot find type 'CFError' in scope
            var error: Unmanaged<CFError>?
                                 ^~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:81:19: error: cannot find 'kSecAttrAccessControl' in scope
            query[kSecAttrAccessControl] = withUnsafeMutablePointer(to: &error) {
                  ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:82:17: error: cannot find 'SecAccessControlCreateWithFlags' in scope
                SecAccessControlCreateWithFlags(nil,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:103:20: error: cannot find type 'SecAccessControlCreateFlags' in scope
        var flags: SecAccessControlCreateFlags {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:82:49: error: 'nil' requires a contextual type
                SecAccessControlCreateWithFlags(nil,
                                                ^
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:90:74: error: cannot find 'kSecAttrSynchronizable' in scope
        if keychain.isSynchronizable, contains(.synchronization) { query[kSecAttrSynchronizable] = kSecAttrSynchronizableAny }
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:90:100: error: cannot find 'kSecAttrSynchronizableAny' in scope
        if keychain.isSynchronizable, contains(.synchronization) { query[kSecAttrSynchronizable] = kSecAttrSynchronizableAny }
                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:105:35: error: cannot find 'kSecAttrAccount' in scope
        if contains(.key) { query[kSecAttrAccount] = container.key }
                                  ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:107:19: error: cannot find 'kSecValueData' in scope
            query[kSecValueData] = value as CFData
                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:107:45: error: cannot find type 'CFData' in scope
            query[kSecValueData] = value as CFData
                                            ^~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:108:22: error: cannot find 'kSecAttrSynchronizable' in scope
            if query[kSecAttrSynchronizable] != nil { query[kSecAttrSynchronizable] = kCFBooleanTrue! }
                     ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:108:61: error: cannot find 'kSecAttrSynchronizable' in scope
            if query[kSecAttrSynchronizable] != nil { query[kSecAttrSynchronizable] = kCFBooleanTrue! }
                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:108:87: error: cannot find 'kCFBooleanTrue' in scope
            if query[kSecAttrSynchronizable] != nil { query[kSecAttrSynchronizable] = kCFBooleanTrue! }
                                                                                      ^~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling Swiftchain KeychainError.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:23:28: error: cannot find 'SecCopyErrorMessageString' in scope
                    return SecCopyErrorMessageString(status, nil) as String? ?? String(describing: status)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:23:62: error: 'nil' requires a contextual type
                    return SecCopyErrorMessageString(status, nil) as String? ?? String(describing: status)
                                                             ^
[3/8] Compiling Swiftchain KeychainAuthentication.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:103:20: error: cannot find type 'SecAccessControlCreateFlags' in scope
        var flags: SecAccessControlCreateFlags {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:104:22: error: cannot find type 'SecAccessControlCreateFlags' in scope
            var set: SecAccessControlCreateFlags = []
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:107:29: error: cannot infer contextual base in reference to member 'devicePasscode'
                set.insert(.devicePasscode)
                           ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:111:29: error: cannot infer contextual base in reference to member 'biometryAny'
                set.insert(.biometryAny)
                           ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:115:29: error: cannot infer contextual base in reference to member 'biometryCurrentSet'
                set.insert(.biometryCurrentSet)
                           ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:123:33: error: cannot infer contextual base in reference to member 'and'
                    set.insert(.and)
                               ~^~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:125:33: error: cannot infer contextual base in reference to member 'or'
                    set.insert(.or)
                               ~^~
[4/8] Compiling Swiftchain KeychainContainer.swift
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:56:43: error: cannot find 'SecItemAdd' in scope
                switch Keychain.locking({ SecItemAdd(query as CFDictionary, nil) }) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:56:63: error: cannot find type 'CFDictionary' in scope
                switch Keychain.locking({ SecItemAdd(query as CFDictionary, nil) }) {
                                                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:56:77: error: 'nil' requires a contextual type
                switch Keychain.locking({ SecItemAdd(query as CFDictionary, nil) }) {
                                                                            ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:57:22: error: cannot find 'errSecSuccess' in scope
                case errSecSuccess: break
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:58:22: error: cannot find 'errSecDuplicateItem' in scope
                case errSecDuplicateItem:
                     ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:61:84: error: 'nil' requires a contextual type
                    let initialQuery = try initialConstants.query(for: self, with: nil)
                                                                                   ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:63:47: error: cannot find 'SecItemUpdate' in scope
                    switch Keychain.locking({ SecItemUpdate(initialQuery as CFDictionary, updateQuery as CFDictionary) }) {
                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:63:77: error: cannot find type 'CFDictionary' in scope
                    switch Keychain.locking({ SecItemUpdate(initialQuery as CFDictionary, updateQuery as CFDictionary) }) {
                                                                            ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:63:106: error: cannot find type 'CFDictionary' in scope
                    switch Keychain.locking({ SecItemUpdate(initialQuery as CFDictionary, updateQuery as CFDictionary) }) {
                                                                                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:64:26: error: cannot find 'errSecSuccess' in scope
                    case errSecSuccess: break
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:124:39: error: cannot find 'SecItemDelete' in scope
            switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:124:62: error: cannot find type 'CFDictionary' in scope
            switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                                             ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:125:18: error: cannot find 'errSecSuccess' in scope
            case errSecSuccess, errSecItemNotFound: break
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:125:33: error: cannot find 'errSecItemNotFound' in scope
            case errSecSuccess, errSecItemNotFound: break
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:163:39: error: cannot find 'SecItemCopyMatching' in scope
            switch Keychain.locking({ SecItemCopyMatching(query as CFDictionary, &result) }) {
                                      ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:163:68: error: cannot find type 'CFDictionary' in scope
            switch Keychain.locking({ SecItemCopyMatching(query as CFDictionary, &result) }) {
                                                                   ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:164:18: error: cannot find 'errSecItemNotFound' in scope
            case errSecItemNotFound: return nil
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainContainer.swift:165:18: error: cannot find 'noErr' in scope
            case noErr: break
                 ^~~~~
[5/8] Compiling Swiftchain KeychainAccessibility.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:70: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: error: no exact matches in call to initializer
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:84: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: error: no exact matches in call to initializer
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:83: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: error: no exact matches in call to initializer
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:66: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: error: no exact matches in call to initializer
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:80: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: error: no exact matches in call to initializer
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Hashable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Hashable'
        public let rawValue: CFString
                   ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'RawRepresentable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Equatable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Equatable'
        public let rawValue: CFString
                   ^
Swift.==:1:24: note: candidate would match if 'Keychain.Accessibility.RawValue' conformed to 'Equatable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
    associatedtype RawValue
                   ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Keychain.Accessibility, Keychain.Accessibility) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
[6/8] Compiling Swiftchain SecurityConstants.swift
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:56:21: error: cannot find type 'CFString' in scope
        var query: [CFString: Any] = [kSecClass: kSecClassGenericPassword]
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:58:19: error: cannot find 'kSecMatchLimit' in scope
            query[kSecMatchLimit] = kSecMatchLimitOne
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:58:37: error: cannot find 'kSecMatchLimitOne' in scope
            query[kSecMatchLimit] = kSecMatchLimitOne
                                    ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:60:19: error: cannot find 'kSecMatchLimit' in scope
            query[kSecMatchLimit] = kSecMatchLimitAll
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:60:37: error: cannot find 'kSecMatchLimitAll' in scope
            query[kSecMatchLimit] = kSecMatchLimitAll
                                    ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:62:42: error: cannot find 'kSecReturnAttributes' in scope
        if contains(.attributes) { query[kSecReturnAttributes] = kCFBooleanTrue! }
                                         ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:62:66: error: cannot find 'kCFBooleanTrue' in scope
        if contains(.attributes) { query[kSecReturnAttributes] = kCFBooleanTrue! }
                                                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:63:36: error: cannot find 'kSecReturnData' in scope
        if contains(.data) { query[kSecReturnData] = kCFBooleanTrue! }
                                   ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:63:54: error: cannot find 'kCFBooleanTrue' in scope
        if contains(.data) { query[kSecReturnData] = kCFBooleanTrue! }
                                                     ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:76:71: error: cannot find 'kSecAttrService' in scope
        if let service = keychain.service, contains(.service) { query[kSecAttrService] = service as CFString }
                                                                      ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:76:101: error: cannot find type 'CFString' in scope
        if let service = keychain.service, contains(.service) { query[kSecAttrService] = service as CFString }
                                                                                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:77:65: error: cannot find 'kSecAttrAccessGroup' in scope
        if let group = keychain.group, contains(.group) { query[kSecAttrAccessGroup] = group as CFString }
                                                                ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:77:97: error: cannot find type 'CFString' in scope
        if let group = keychain.group, contains(.group) { query[kSecAttrAccessGroup] = group as CFString }
                                                                                                ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:78:78: error: cannot find 'kSecAttrAccessible' in scope
        if keychain.authentication.isEmpty, contains(.accessibility) { query[kSecAttrAccessible] = keychain.accessibility.rawValue }
                                                                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:80:34: error: cannot find type 'CFError' in scope
            var error: Unmanaged<CFError>?
                                 ^~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:81:19: error: cannot find 'kSecAttrAccessControl' in scope
            query[kSecAttrAccessControl] = withUnsafeMutablePointer(to: &error) {
                  ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:82:17: error: cannot find 'SecAccessControlCreateWithFlags' in scope
                SecAccessControlCreateWithFlags(nil,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:103:20: error: cannot find type 'SecAccessControlCreateFlags' in scope
        var flags: SecAccessControlCreateFlags {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:82:49: error: 'nil' requires a contextual type
                SecAccessControlCreateWithFlags(nil,
                                                ^
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:90:74: error: cannot find 'kSecAttrSynchronizable' in scope
        if keychain.isSynchronizable, contains(.synchronization) { query[kSecAttrSynchronizable] = kSecAttrSynchronizableAny }
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:90:100: error: cannot find 'kSecAttrSynchronizableAny' in scope
        if keychain.isSynchronizable, contains(.synchronization) { query[kSecAttrSynchronizable] = kSecAttrSynchronizableAny }
                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:105:35: error: cannot find 'kSecAttrAccount' in scope
        if contains(.key) { query[kSecAttrAccount] = container.key }
                                  ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:107:19: error: cannot find 'kSecValueData' in scope
            query[kSecValueData] = value as CFData
                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:107:45: error: cannot find type 'CFData' in scope
            query[kSecValueData] = value as CFData
                                            ^~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:108:22: error: cannot find 'kSecAttrSynchronizable' in scope
            if query[kSecAttrSynchronizable] != nil { query[kSecAttrSynchronizable] = kCFBooleanTrue! }
                     ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:108:61: error: cannot find 'kSecAttrSynchronizable' in scope
            if query[kSecAttrSynchronizable] != nil { query[kSecAttrSynchronizable] = kCFBooleanTrue! }
                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:108:87: error: cannot find 'kCFBooleanTrue' in scope
            if query[kSecAttrSynchronizable] != nil { query[kSecAttrSynchronizable] = kCFBooleanTrue! }
                                                                                      ^~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module Swiftchain
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:66: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: error: no exact matches in call to initializer
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:70: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: error: no exact matches in call to initializer
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:21:46: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
                                             ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:84: error: cannot find 'kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly' in scope
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: error: no exact matches in call to initializer
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:29:60: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
                                                           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:83: error: cannot find 'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' in scope
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: error: no exact matches in call to initializer
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:38:59: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
                                                          ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:80: error: cannot find 'kSecAttrAccessibleWhenUnlockedThisDeviceOnly' in scope
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: error: no exact matches in call to initializer
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:52:56: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
                                                       ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Hashable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Hashable'
        public let rawValue: CFString
                   ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'RawRepresentable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:12:12: error: type 'Keychain.Accessibility' does not conform to protocol 'Equatable'
    struct Accessibility: Hashable, RawRepresentable {
           ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:20: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Keychain.Accessibility' to 'Equatable'
        public let rawValue: CFString
                   ^
Swift.==:1:24: note: candidate would match if 'Keychain.Accessibility.RawValue' conformed to 'Equatable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'Keychain.Accessibility' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Keychain.Accessibility' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Keychain.Accessibility' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
    associatedtype RawValue
                   ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Keychain.Accessibility, Keychain.Accessibility) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAuthentication.swift:103:20: error: cannot find type 'SecAccessControlCreateFlags' in scope
        var flags: SecAccessControlCreateFlags {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
[8/8] Compiling Swiftchain Keychain.swift
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:66: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:57:31: error: cannot find type 'CFString' in scope
        public init(rawValue: CFString) { self.rawValue = rawValue }
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:14:30: error: cannot find type 'CFString' in scope
        public let rawValue: CFString
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: error: no exact matches in call to initializer
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/KeychainAccessibility.swift:45:42: note: found candidate with type '(any Decoder) throws -> Keychain.Accessibility'
        public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
                                         ^
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:54:22: error: cannot find type 'CFString' in scope
    func query() -> [CFString: Any] {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:73:51: error: cannot find type 'CFString' in scope
    func query(for keychain: Keychain) throws -> [CFString: Any] {
                                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/SecurityConstants.swift:102:87: error: cannot find type 'CFString' in scope
    func query(for container: Keychain.Container, with value: Data? = nil) throws -> [CFString: Any] {
                                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:75:35: error: cannot find 'SecItemDelete' in scope
        switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:75:58: error: cannot find type 'CFDictionary' in scope
        switch Keychain.locking({ SecItemDelete(query as CFDictionary) }) {
                                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:76:14: error: cannot find 'errSecSuccess' in scope
        case errSecSuccess, errSecItemNotFound: break
             ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:76:29: error: cannot find 'errSecItemNotFound' in scope
        case errSecSuccess, errSecItemNotFound: break
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/KeychainError.swift:14:21: error: cannot find type 'OSStatus' in scope
        case status(OSStatus)
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:91:75: error: cannot find 'SecItemCopyMatching' in scope
        switch Keychain.locking({ withUnsafeMutablePointer(to: &result) { SecItemCopyMatching(query as CFDictionary, $0) }}) {
                                                                          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:91:104: error: cannot find type 'CFDictionary' in scope
        switch Keychain.locking({ withUnsafeMutablePointer(to: &result) { SecItemCopyMatching(query as CFDictionary, $0) }}) {
                                                                                                       ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:92:14: error: cannot find 'errSecSuccess' in scope
        case errSecSuccess: break
             ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:93:14: error: cannot find 'errSecItemNotFound' in scope
        case errSecItemNotFound: return []
             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Swiftchain/Keychain.swift:99:40: error: cannot find 'kSecAttrAccount' in scope
            guard let key = attributes[kSecAttrAccount] as? String else { return }
                                       ^~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux