The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LispKit, reference master (aee792), with Swift 6.2 for Android on 26 Apr 2026 13:31:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 aee7921 Finalize release of 2.6.1.
Cloned https://github.com/objecthub/swift-lispkit.git
Revision (git rev-parse @):
aee792187f4a1641ea881ed24a062621295e7599
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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.28s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4388] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (2.01s)
Fetching https://github.com/objecthub/swift-commandlinekit.git
Fetching https://github.com/objecthub/swift-clformat.git
Fetching https://github.com/SomeRandomiOSDev/CBORCoding.git
Fetching https://github.com/p2/OAuth2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/362] Fetching swift-commandlinekit
[360/871] Fetching swift-commandlinekit, swift-clformat
[872/6834] Fetching swift-commandlinekit, swift-clformat, zipfoundation
[1230/8286] Fetching swift-commandlinekit, swift-clformat, zipfoundation, cborcoding
[2953/10106] Fetching swift-commandlinekit, swift-clformat, zipfoundation, cborcoding, swift-atomics
[3386/16338] Fetching swift-commandlinekit, swift-clformat, zipfoundation, cborcoding, swift-atomics, oauth2
Fetched https://github.com/objecthub/swift-commandlinekit.git from cache (0.74s)
Fetched https://github.com/objecthub/swift-clformat.git from cache (0.74s)
Fetched https://github.com/SomeRandomiOSDev/CBORCoding.git from cache (0.73s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.75s)
Fetching https://github.com/objecthub/swift-sqliteexpress.git
Fetching https://github.com/objecthub/swift-markdownkit.git
Fetching https://github.com/objecthub/swift-numberkit.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
Fetching https://github.com/tsolomko/SWCompression.git
Fetched https://github.com/p2/OAuth2.git from cache (0.92s)
[1/1025] Fetching swift-numberkit
[165/1756] Fetching swift-numberkit, swift-markdownkit
[566/1855] Fetching swift-numberkit, swift-markdownkit, swift-sqliteexpress
Fetching https://github.com/objecthub/swift-nanohttp.git
Fetched https://github.com/objecthub/swift-sqliteexpress.git from cache (0.31s)
Fetched https://github.com/objecthub/swift-markdownkit.git from cache (0.31s)
Fetched https://github.com/objecthub/swift-numberkit.git from cache (0.31s)
[1/17717] Fetching swcompression
[1773/17970] Fetching swcompression, swift-nanohttp
Fetched https://github.com/objecthub/swift-nanohttp.git from cache (0.24s)
[5847/17717] Fetching swcompression
Fetched https://github.com/tsolomko/SWCompression.git from cache (1.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.73s)
Computing version for https://github.com/SomeRandomiOSDev/CBORCoding.git
Computed https://github.com/SomeRandomiOSDev/CBORCoding.git at 1.4.0 (0.42s)
Fetching https://github.com/SomeRandomiOSDev/Half
[1/630] Fetching half
Fetched https://github.com/SomeRandomiOSDev/Half from cache (0.25s)
Computing version for https://github.com/p2/OAuth2.git
Computed https://github.com/p2/OAuth2.git at 5.3.5 (0.68s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.6 (0.41s)
Fetching https://github.com/tsolomko/BitByteData
[1/3232] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.34s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.75s)
Computing version for https://github.com/objecthub/swift-nanohttp.git
Computed https://github.com/objecthub/swift-nanohttp.git at 1.0.1 (0.45s)
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-sqliteexpress.git
Computed https://github.com/objecthub/swift-sqliteexpress.git at 1.0.3 (0.53s)
Computing version for https://github.com/objecthub/swift-commandlinekit.git
Computed https://github.com/objecthub/swift-commandlinekit.git at 1.0.0 (0.62s)
Computing version for https://github.com/objecthub/swift-markdownkit.git
Computed https://github.com/objecthub/swift-markdownkit.git at 1.3.0 (0.46s)
Computing version for https://github.com/objecthub/swift-numberkit.git
Computed https://github.com/objecthub/swift-numberkit.git at 2.6.0 (0.46s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.2 (0.36s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (0.47s)
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/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-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-commandlinekit.git
Working copy of https://github.com/objecthub/swift-commandlinekit.git resolved at 1.0.0
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/SomeRandomiOSDev/Half
Working copy of https://github.com/SomeRandomiOSDev/Half resolved at 1.4.2
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/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at master (e0c7eeb)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
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/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/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-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
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
[11/59] Copying PrivacyInfo.xcprivacy
[11/59] Write sources
[23/59] Copying PrivacyInfo.xcprivacy
[24/59] Write sources
[27/59] Compiling _AtomicsShims.c
[28/59] Compiling fp_trunc.cpp
[28/59] Compiling fp_extend.cpp
[28/59] Compiling half.c
[31/59] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/166] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/166] Emitting module CommandLineKit
/host/spi-builder-workspace/.build/checkouts/swift-commandlinekit/Sources/CommandLineKit/LineReader.swift:75:35: error: cannot find 'STDIN_FILENO' in scope
 73 |
 74 |   /// Initializer
 75 |   public init?(inputFile: Int32 = STDIN_FILENO,
    |                                   `- error: cannot find 'STDIN_FILENO' in scope
 76 |                outputFile: Int32 = STDOUT_FILENO,
 77 |                completionCallback: ((String) -> [String])? = nil,
/host/spi-builder-workspace/.build/checkouts/swift-commandlinekit/Sources/CommandLineKit/LineReader.swift:76:36: error: cannot find 'STDOUT_FILENO' in scope
 74 |   /// Initializer
 75 |   public init?(inputFile: Int32 = STDIN_FILENO,
 76 |                outputFile: Int32 = STDOUT_FILENO,
    |                                    `- error: cannot find 'STDOUT_FILENO' in scope
 77 |                completionCallback: ((String) -> [String])? = nil,
 78 |                hintsCallback: ((String) -> (String, TextProperties)?)? = nil) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/168] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[36/170] Compiling BitByteData SignedNumberRepresentation.swift
[37/171] 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 |
[38/171] 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 |
[39/171] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/171] 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/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & S_IFMT
    |                                          |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                          `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
151 |             switch mode {
152 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-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/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-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/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-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/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/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)
BUILD FAILURE 6.2 android