The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LispKit, reference master (33f1ce), with Swift 6.2 (beta) for Android on 22 Jun 2025 13:03:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-lispkit.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/objecthub/swift-lispkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 33f1ce6 Implements library `(lispkit draw web)` for snapshotting web pages. Includes minor fixes for a few libraries. Provides new example code: `MermaidDiagrams`.
Cloned https://github.com/objecthub/swift-lispkit.git
Revision (git rev-parse @):
33f1ce62dd3fb90714da1595d30d6486d5e788fa
SUCCESS checkout https://github.com/objecthub/swift-lispkit.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/objecthub/swift-lispkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/objecthub/swift-dynamicjson.git
[1/921] Fetching swift-dynamicjson
Fetched https://github.com/objecthub/swift-dynamicjson.git from cache (0.82s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.67s)
Fetching https://github.com/p2/OAuth2.git
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/SomeRandomiOSDev/CBORCoding.git
Fetching https://github.com/tsolomko/SWCompression.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/objecthub/swift-nanohttp.git
[1/253] Fetching swift-nanohttp
[254/5829] Fetching swift-nanohttp, zipfoundation
[533/12061] Fetching swift-nanohttp, zipfoundation, oauth2
[1902/29070] Fetching swift-nanohttp, zipfoundation, oauth2, swcompression
[1903/30867] Fetching swift-nanohttp, zipfoundation, oauth2, swcompression, swift-atomics
[2350/32319] Fetching swift-nanohttp, zipfoundation, oauth2, swcompression, swift-atomics, cborcoding
Fetched https://github.com/objecthub/swift-nanohttp.git from cache (0.43s)
[8290/32066] Fetching zipfoundation, oauth2, swcompression, swift-atomics, cborcoding
Fetching https://github.com/objecthub/swift-clformat.git
[23932/32575] Fetching zipfoundation, oauth2, swcompression, swift-atomics, cborcoding, swift-clformat
Fetched https://github.com/apple/swift-atomics.git from cache (0.83s)
Fetching https://github.com/objecthub/swift-sqliteexpress.git
[23124/30778] Fetching zipfoundation, oauth2, swcompression, cborcoding, swift-clformat
Fetched https://github.com/objecthub/swift-clformat.git from cache (0.45s)
[23296/30269] Fetching zipfoundation, oauth2, swcompression, cborcoding
Fetching https://github.com/objecthub/swift-commandlinekit.git
[25338/30368] Fetching zipfoundation, oauth2, swcompression, cborcoding, swift-sqliteexpress
[26117/30730] Fetching zipfoundation, oauth2, swcompression, cborcoding, swift-sqliteexpress, swift-commandlinekit
Fetched https://github.com/objecthub/swift-sqliteexpress.git from cache (0.34s)
[26216/30631] Fetching zipfoundation, oauth2, swcompression, cborcoding, swift-commandlinekit
Fetching https://github.com/objecthub/swift-markdownkit.git
Fetched https://github.com/objecthub/swift-commandlinekit.git from cache (0.35s)
Fetching https://github.com/objecthub/swift-numberkit.git
[26306/30269] Fetching zipfoundation, oauth2, swcompression, cborcoding
[29930/30924] Fetching zipfoundation, oauth2, swcompression, cborcoding, swift-markdownkit
Fetched https://github.com/objecthub/swift-markdownkit.git from cache (0.29s)
[1/1025] Fetching swift-numberkit
Fetched https://github.com/objecthub/swift-numberkit.git from cache (0.63s)
Fetched https://github.com/SomeRandomiOSDev/CBORCoding.git from cache (2.14s)
Fetched https://github.com/p2/OAuth2.git from cache (2.15s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (2.15s)
Fetched https://github.com/tsolomko/SWCompression.git from cache (2.17s)
Computing version for https://github.com/SomeRandomiOSDev/CBORCoding.git
Computed https://github.com/SomeRandomiOSDev/CBORCoding.git at 1.4.0 (2.60s)
Fetching https://github.com/SomeRandomiOSDev/Half
[1/630] Fetching half
Fetched https://github.com/SomeRandomiOSDev/Half from cache (1.73s)
Computing version for https://github.com/p2/OAuth2.git
Computed https://github.com/p2/OAuth2.git at 5.3.5 (2.44s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.6 (0.44s)
Fetching https://github.com/tsolomko/BitByteData
[1/3067] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.69s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (1.09s)
Computing version for https://github.com/objecthub/swift-nanohttp.git
Computed https://github.com/objecthub/swift-nanohttp.git at 1.0.1 (0.56s)
Computing version for https://github.com/objecthub/swift-sqliteexpress.git
Computed https://github.com/objecthub/swift-sqliteexpress.git at 1.0.3 (0.40s)
Computing version for https://github.com/objecthub/swift-commandlinekit.git
Computed https://github.com/objecthub/swift-commandlinekit.git at 0.3.5 (0.65s)
Computing version for https://github.com/objecthub/swift-numberkit.git
Computed https://github.com/objecthub/swift-numberkit.git at 2.6.0 (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.40s)
Computing version for https://github.com/objecthub/swift-clformat.git
Computed https://github.com/objecthub/swift-clformat.git at 1.1.1 (0.50s)
Computing version for https://github.com/objecthub/swift-markdownkit.git
Computed https://github.com/objecthub/swift-markdownkit.git at 1.3.0 (0.42s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.2 (0.39s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (0.58s)
Creating working copy for https://github.com/SomeRandomiOSDev/CBORCoding.git
Working copy of https://github.com/SomeRandomiOSDev/CBORCoding.git resolved at 1.4.0
Creating working copy for https://github.com/objecthub/swift-clformat.git
Working copy of https://github.com/objecthub/swift-clformat.git resolved at 1.1.1
Creating working copy for https://github.com/p2/OAuth2.git
Working copy of https://github.com/p2/OAuth2.git resolved at 5.3.5
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
Creating working copy for https://github.com/objecthub/swift-dynamicjson.git
Working copy of https://github.com/objecthub/swift-dynamicjson.git resolved at main (9648f32)
Creating working copy for https://github.com/objecthub/swift-sqliteexpress.git
Working copy of https://github.com/objecthub/swift-sqliteexpress.git resolved at 1.0.3
Creating working copy for https://github.com/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.8.6
Creating working copy for https://github.com/objecthub/swift-nanohttp.git
Working copy of https://github.com/objecthub/swift-nanohttp.git resolved at 1.0.1
Creating working copy for https://github.com/objecthub/swift-commandlinekit.git
Working copy of https://github.com/objecthub/swift-commandlinekit.git resolved at 0.3.5
Creating working copy for https://github.com/objecthub/swift-numberkit.git
Working copy of https://github.com/objecthub/swift-numberkit.git resolved at 2.6.0
Creating working copy for https://github.com/objecthub/swift-markdownkit.git
Working copy of https://github.com/objecthub/swift-markdownkit.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
Creating working copy for https://github.com/SomeRandomiOSDev/Half
Working copy of https://github.com/SomeRandomiOSDev/Half resolved at 1.4.2
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at master (e0c7eeb)
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/59] Write sources
[6/59] Copying PrivacyInfo.xcprivacy
[6/59] Write sources
[24/59] Copying PrivacyInfo.xcprivacy
[25/59] Write sources
[27/59] Compiling _AtomicsShims.c
[28/59] Compiling fp_trunc.cpp
[29/59] Compiling fp_extend.cpp
[30/59] Compiling half.c
[31/59] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/148] Emitting module Half
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[34/148] Compiling Atomics AtomicStorage.swift
[35/148] Compiling Atomics AtomicValue.swift
[36/150] Compiling BitByteData SignedNumberRepresentation.swift
[37/151] Compiling Atomics UnsafeAtomic.swift
[38/151] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/151] Compiling Half Functions.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[40/151] Compiling Atomics AtomicMemoryOrderings.swift
[41/151] Compiling Atomics DoubleWord.swift
[42/151] Compiling Atomics ManagedAtomic.swift
[43/151] Compiling Atomics ManagedAtomicLazyReference.swift
[44/151] Compiling Half Half.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[45/151] Compiling Half Half+Coding.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:71:34: error: cannot find 'errno' in scope
 69 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 70 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 71 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 72 |             }
 73 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/151] Emitting module SwiftKeychain
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:120:52: error: cannot find type 'OSStatus' in scope
118 |     public init() {}
119 |
120 |     internal func errorForStatusCode(_ statusCode: OSStatus) -> NSError {
    |                                                    `- error: cannot find type 'OSStatus' in scope
121 |
122 |         return NSError(domain: "swift.keychain.error", code: Int(statusCode), userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:120:52: error: cannot find type 'OSStatus' in scope
118 |     public init() {}
119 |
120 |     internal func errorForStatusCode(_ statusCode: OSStatus) -> NSError {
    |                                                    `- error: cannot find type 'OSStatus' in scope
121 |
122 |         return NSError(domain: "swift.keychain.error", code: Int(statusCode), userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:35:23: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
 33 |     public var accessMode: String {
 34 |
 35 |         return String(kSecAttrAccessibleWhenUnlocked)
    |                       `- error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
 36 |     }
 37 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:51:31: error: cannot find 'kSecValueData' in scope
 49 |         let archivedData = NSKeyedArchiver.archivedData(withRootObject: dataToStore)
 50 |
 51 |         itemAttributes[String(kSecValueData)] = archivedData
    |                               `- error: cannot find 'kSecValueData' in scope
 52 |
 53 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:55:35: error: cannot find 'kSecAttrAccessGroup' in scope
 53 |         if let group = accessGroup {
 54 |
 55 |             itemAttributes[String(kSecAttrAccessGroup)] = group
    |                                   `- error: cannot find 'kSecAttrAccessGroup' in scope
 56 |         }
 57 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:63:49: error: cannot find 'kSecValueData' in scope
 61 |     internal func dataFromAttributes(_ attributes: [String: Any]) -> [String: Any]? {
 62 |
 63 |         guard let valueData = attributes[String(kSecValueData)] as? Data else { return nil }
    |                                                 `- error: cannot find 'kSecValueData' in scope
 64 |
 65 |         return NSKeyedUnarchiver.unarchiveObject(with: valueData) as? [String: Any] ?? nil
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:72:31: error: cannot find 'kSecReturnData' in scope
 70 |         var itemAttributes = attributes
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
    |                               `- error: cannot find 'kSecReturnData' in scope
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
 74 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:72:50: error: cannot find 'kCFBooleanTrue' in scope
 70 |         var itemAttributes = attributes
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
    |                                                  `- error: cannot find 'kCFBooleanTrue' in scope
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
 74 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:73:31: error: cannot find 'kSecReturnAttributes' in scope
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
    |                               `- error: cannot find 'kSecReturnAttributes' in scope
 74 |
 75 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:73:56: error: cannot find 'kCFBooleanTrue' in scope
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
    |                                                        `- error: cannot find 'kCFBooleanTrue' in scope
 74 |
 75 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:77:35: error: cannot find 'kSecAttrAccessGroup' in scope
 75 |         if let group = accessGroup {
 76 |
 77 |             itemAttributes[String(kSecAttrAccessGroup)] = group
    |                                   `- error: cannot find 'kSecAttrAccessGroup' in scope
 78 |         }
 79 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:103:27: error: cannot find 'kSecClass' in scope
101 |         var attributes = [String: Any]()
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
    |                           `- error: cannot find 'kSecClass' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:103:41: error: cannot find 'kSecClassGenericPassword' in scope
101 |         var attributes = [String: Any]()
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
    |                                         `- error: cannot find 'kSecClassGenericPassword' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:104:27: error: cannot find 'kSecAttrAccessible' in scope
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
104 |         attributes[String(kSecAttrAccessible)] = accessMode
    |                           `- error: cannot find 'kSecAttrAccessible' in scope
105 |         attributes[String(kSecAttrService)] = serviceName
106 |         attributes[String(kSecAttrAccount)] = accountName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:105:27: error: cannot find 'kSecAttrService' in scope
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
    |                           `- error: cannot find 'kSecAttrService' in scope
106 |         attributes[String(kSecAttrAccount)] = accountName
107 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:106:27: error: cannot find 'kSecAttrAccount' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
106 |         attributes[String(kSecAttrAccount)] = accountName
    |                           `- error: cannot find 'kSecAttrAccount' in scope
107 |
108 |         return attributes
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:26: error: cannot find 'SecItemAdd' in scope
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                          `- error: cannot find 'SecItemAdd' in scope
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:51: error: cannot find type 'CFDictionary' in scope
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                   `- error: cannot find type 'CFDictionary' in scope
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:65: error: 'nil' requires a contextual type
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                                 `- error: 'nil' requires a contextual type
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:131:26: error: cannot find 'errSecDuplicateItem' in scope
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
130 |
131 |         if statusCode == errSecDuplicateItem {
    |                          `- error: cannot find 'errSecDuplicateItem' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:133:13: error: cannot find 'SecItemDelete' in scope
131 |         if statusCode == errSecDuplicateItem {
132 |
133 |             SecItemDelete(attributes as CFDictionary)
    |             `- error: cannot find 'SecItemDelete' in scope
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
135 |         }
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:133:41: error: cannot find type 'CFDictionary' in scope
131 |         if statusCode == errSecDuplicateItem {
132 |
133 |             SecItemDelete(attributes as CFDictionary)
    |                                         `- error: cannot find type 'CFDictionary' in scope
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
135 |         }
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:26: error: cannot find 'SecItemAdd' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                          `- error: cannot find 'SecItemAdd' in scope
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:51: error: cannot find type 'CFDictionary' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                   `- error: cannot find type 'CFDictionary' in scope
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:65: error: 'nil' requires a contextual type
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                                 `- error: 'nil' requires a contextual type
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:137:26: error: cannot find 'errSecSuccess' in scope
135 |         }
136 |
137 |         if statusCode != errSecSuccess {
    |                          `- error: cannot find 'errSecSuccess' in scope
138 |
139 |             throw errorForStatusCode(statusCode)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:145:26: error: cannot find 'SecItemDelete' in scope
143 |     public func removeItemWithAttributes(_ attributes: [String: Any]) throws {
144 |
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
    |                          `- error: cannot find 'SecItemDelete' in scope
146 |
147 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:145:54: error: cannot find type 'CFDictionary' in scope
143 |     public func removeItemWithAttributes(_ attributes: [String: Any]) throws {
144 |
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
    |                                                      `- error: cannot find type 'CFDictionary' in scope
146 |
147 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:147:26: error: cannot find 'errSecSuccess' in scope
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
146 |
147 |         if statusCode != errSecSuccess {
    |                          `- error: cannot find 'errSecSuccess' in scope
148 |
149 |             throw errorForStatusCode(statusCode)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:157:26: error: cannot find 'SecItemCopyMatching' in scope
155 |         var result: AnyObject?
156 |
157 |         let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
    |                          `- error: cannot find 'SecItemCopyMatching' in scope
158 |
159 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:157:60: error: cannot find type 'CFDictionary' in scope
155 |         var result: AnyObject?
156 |
157 |         let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
    |                                                            `- error: cannot find type 'CFDictionary' in scope
158 |
159 |         if statusCode != errSecSuccess {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/151] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(macOS)
  29 | import LocalAuthentication
BUILD FAILURE 6.2 android