The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BungieKit, reference v1.0.0 (c93ebe), with Swift 6.2 for Android on 23 Jun 2025 11:10:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/lukehook/BungieKit.git
Reference: v1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/lukehook/BungieKit
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at c93ebe0 fix build warnings about concurrency
Cloned https://github.com/lukehook/BungieKit.git
Revision (git rev-parse @):
c93ebe090b517153f34e9cbe98991fd170fc4a01
SUCCESS checkout https://github.com/lukehook/BungieKit.git at v1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lukehook/BungieKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/groue/GRDB.swift.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/5576] Fetching zipfoundation
[838/117007] Fetching zipfoundation, grdb.swift
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (13.39s)
Fetched https://github.com/groue/GRDB.swift.git from cache (13.77s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (14.21s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 6.29.3 (0.74s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 6.29.3
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
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/7] Write sources
[1/7] Copying Info.plist
[1/7] Copying PrivacyInfo.xcprivacy
[1/7] Write sources
[6/7] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/181] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/183] Emitting module GRDB
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[10/203] Compiling GRDB DumpFormat.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/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+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[11/203] Compiling GRDB DebugDumpFormat.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/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+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[12/203] Compiling GRDB JSONDumpFormat.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/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+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[13/203] Compiling BungieKit BungieClient.swift
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/203] Emitting module BungieKit
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
[15/203] Compiling BungieKit AuthService.swift
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
[16/203] Compiling BungieKit APIService.swift
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
[17/203] Compiling BungieKit DestinyService.swift
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
[18/203] Compiling BungieKit ResetService.swift
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
[19/203] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[20/203] Compiling ZIPFoundation URL+ZIP.swift
[21/203] Compiling BungieKit BungieMembershipType.swift
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
[22/203] Compiling BungieKit DestinyComponentType.swift
/host/spi-builder-workspace/Sources/BungieKit/Auth/AuthService.swift:2:8: error: no such module 'OSLog'
  1 | import Foundation
  2 | import OSLog
    |        `- error: no such module 'OSLog'
  3 |
  4 | /// Protocol for authentication with the Bungie API
[23/203] Compiling GRDB QuoteDumpFormat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[24/203] Compiling GRDB Export.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[25/203] Compiling GRDB FTS3.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[26/203] Compiling GRDB FTS3Pattern.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[27/203] Compiling GRDB FTS3TokenizerDescriptor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[28/203] Compiling GRDB FTS4.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[29/203] Compiling GRDB FTS5.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[30/203] Compiling GRDB FTS5CustomTokenizer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[31/203] Compiling GRDB FTS5Pattern.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[32/203] Compiling GRDB FTS5Tokenizer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[33/203] Compiling GRDB FTS5TokenizerDescriptor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[34/203] Compiling GRDB FTS5WrapperTokenizer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[35/203] Compiling GRDB Fixits.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[36/203] Compiling GRDB JSONColumn.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[37/203] Compiling GRDB SQLJSONExpressible.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[38/203] Compiling GRDB SQLJSONFunctions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[39/203] Compiling GRDB DatabaseMigrator.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[40/203] Compiling GRDB Migration.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[41/203] Compiling GRDB FTS3+QueryInterface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[42/203] Compiling GRDB FTS5+QueryInterface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[43/203] Compiling GRDB ForeignKey.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[44/203] Compiling GRDB Optional.swift
/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 {
[45/203] Compiling GRDB StandardLibrary.swift
/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 {
[46/203] Compiling GRDB TransactionClock.swift
/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 {
[47/203] Compiling GRDB TransactionObserver.swift
[48/203] Compiling GRDB WALSnapshot.swift
[49/203] Compiling GRDB WALSnapshotTransaction.swift
[50/203] Compiling GRDB Database+Dump.swift
[51/203] Compiling GRDB DatabaseReader+dump.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/CSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
 1 | #include <sqlite3.h>
   |          `- error: 'sqlite3.h' file not found
 2 |
 3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/GRDB/Export.swift:3:19: error: could not build C module 'CSQLite'
1 | // Export the underlying SQLite library
2 | #if SWIFT_PACKAGE
3 | @_exported import CSQLite
  |                   `- error: could not build C module 'CSQLite'
4 | #elseif GRDBCIPHER
5 | @_exported import SQLCipher
[52/203] Compiling GRDB DatabaseValueConvertible+Encodable.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+MemoryFile.swift:45:20: error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
 43 |         #endif
 44 |         if append {
 45 |             fseeko(result, 0, SEEK_END)
    |                    |- error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
    |                    |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 46 |         }
 47 |         return result
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/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
[53/203] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+MemoryFile.swift:45:20: error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
 43 |         #endif
 44 |         if append {
 45 |             fseeko(result, 0, SEEK_END)
    |                    |- error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
    |                    |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 46 |         }
 47 |         return result
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/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
[54/203] Compiling GRDB JSONRequiredEncoder.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+MemoryFile.swift:45:20: error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
 43 |         #endif
 44 |         if append {
 45 |             fseeko(result, 0, SEEK_END)
    |                    |- error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
    |                    |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 46 |         }
 47 |         return result
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/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
[55/203] Compiling GRDB NSString.swift
/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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 |                                                                           zipFileCommentData: Data())
115 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 |             }
118 |             fallthrough
[56/203] Compiling GRDB SQLiteDateParser.swift
/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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 |                                                                           zipFileCommentData: Data())
115 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 |             }
118 |             fallthrough
[57/203] Compiling GRDB URL.swift
/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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 |                                                                           zipFileCommentData: Data())
115 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 |             }
118 |             fallthrough
/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:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 |         switch osType {
151 |         case .unix, .osx:
152 |             let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & 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)
153 |             switch mode {
154 |             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-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/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-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/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-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/FileManager+ZIP.swift:244:72: error: cannot find 'S_IFMT' in scope
242 |         switch osType {
243 |         case .unix, .osx:
244 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
245 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
246 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:256:30: error: cannot find 'S_IFREG' in scope
254 |         switch type {
255 |         case .file:
256 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
257 |         case .directory:
258 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:258:30: error: cannot find 'S_IFDIR' in scope
256 |             typeInt = UInt16(S_IFREG)
257 |         case .directory:
258 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
259 |         case .symlink:
260 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:260:30: error: cannot find 'S_IFLNK' in scope
258 |             typeInt = UInt16(S_IFDIR)
259 |         case .symlink:
260 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
261 |         }
262 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:270:24: error: cannot find 'stat' in scope
268 |         let fileManager = FileManager()
269 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
271 |         lstat(entryFileSystemRepresentation, &fileStat)
272 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:271:9: error: cannot find 'lstat' in scope
269 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 |         var fileStat = stat()
271 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
272 |         let permissions = fileStat.st_mode
273 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:282:24: error: cannot find 'stat' in scope
280 |         }
281 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
283 |         lstat(entryFileSystemRepresentation, &fileStat)
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:283:9: error: cannot find 'lstat' in scope
281 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 |         var fileStat = stat()
283 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
285 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:301:24: error: cannot find 'stat' in scope
299 |         }
300 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
302 |         lstat(entryFileSystemRepresentation, &fileStat)
303 |         guard fileStat.st_size >= 0 else {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:302:9: error: cannot find 'lstat' in scope
300 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 |         var fileStat = stat()
302 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
303 |         guard fileStat.st_size >= 0 else {
304 |             throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path])
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:316:24: error: cannot find 'stat' in scope
314 |         }
315 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
316 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
317 |         lstat(entryFileSystemRepresentation, &fileStat)
318 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:317:9: error: cannot find 'lstat' in scope
315 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
316 |         var fileStat = stat()
317 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
318 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
319 |     }
BUILD FAILURE 6.2 android