The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Dflat, reference v0.6.0 (2b98a6), with Swift 6.2 for Android on 19 Jun 2025 23:28:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/liuliu/dflat.git
Reference: v0.6.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/liuliu/dflat
 * tag               v0.6.0     -> FETCH_HEAD
HEAD is now at 2b98a69 Fix subscription have the wrong type for Int / UInt in WorkspaceDictionary.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
2b98a697b63d44ce96bb9432fb746ef8d1e855be
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/dflat.git at v0.6.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/liuliu/dflat.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/google/flatbuffers.git
[1/87373] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (5.69s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-atomics.git
[1/2082] Fetching swift-docc-plugin
[210/3879] Fetching swift-docc-plugin, swift-atomics
[354/3998] Fetching swift-docc-plugin, swift-atomics, swift-sqlite3-support
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
[1908/1916] Fetching swift-atomics, swift-sqlite3-support
Fetched https://github.com/apple/swift-atomics.git from cache (1.10s)
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.10s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (1.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.91s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/liuliu/swift-sqlite3-support.git
Working copy of https://github.com/liuliu/swift-sqlite3-support.git resolved at 3.47.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/20] Write sources
[6/20] Compiling _AtomicsShims.c
[7/20] Compiling _SQLiteDflatOSShim os.c
[7/20] Write swift-version-8C5A4AE7A8CE2BA.txt
[10/57] Compiling Atomics UnsafeAtomic.swift
[11/57] Compiling Atomics UnsafeAtomicLazyReference.swift
[12/59] Compiling Atomics AtomicStorage.swift
[13/59] Compiling Atomics AtomicValue.swift
[14/59] Compiling Atomics ManagedAtomic.swift
[15/59] Compiling Atomics ManagedAtomicLazyReference.swift
[16/59] Compiling Atomics AtomicInteger.swift
[17/59] Compiling Atomics AtomicOptionalWrappable.swift
[18/59] Compiling Atomics AtomicReference.swift
[19/59] Compiling FlatBuffers FlatbuffersErrors.swift
[20/59] Compiling FlatBuffers Int+extension.swift
[21/59] Compiling Atomics OptionalRawRepresentable.swift
[22/59] Compiling Atomics RawRepresentable.swift
[23/59] Compiling Atomics AtomicBool.swift
[24/59] Emitting module Atomics
[25/59] Compiling Atomics IntegerConformances.swift
[26/59] Compiling Atomics PointerConformances.swift
[27/59] Compiling Atomics Primitives.native.swift
[28/59] Compiling Atomics IntegerOperations.swift
[29/59] Compiling Atomics Unmanaged extensions.swift
[30/60] Wrapping AST for Atomics for debugging
[31/60] Compiling SQLite3 sqlite3.c
[32/60] Write Objects.LinkFileList
[33/60] Archiving libSQLite3.a
[50/62] Emitting module FlatBuffers
[54/62] Compiling FlatBuffers Verifiable.swift
[55/62] Compiling FlatBuffers Verifier.swift
[56/63] Wrapping AST for FlatBuffers for debugging
[58/101] Compiling Dflat SQLiteIsNull.swift
[59/101] Compiling Dflat SQLiteLessThan.swift
[60/101] Compiling Dflat SQLiteLessThanOrEqualTo.swift
[61/101] Compiling Dflat SQLiteMod.swift
[62/101] Compiling Dflat SQLiteNot.swift
[63/106] Compiling Dflat NotIn.swift
/host/spi-builder-workspace/src/exprs/Value.swift:5:1: warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | public protocol DflatFriendlyValue: Comparable, Hashable {}
 4 |
 5 | extension Bool: Comparable {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |   @inlinable
 7 |   public static func < (lhs: Bool, rhs: Bool) -> Bool {
[64/106] Compiling Dflat Or.swift
/host/spi-builder-workspace/src/exprs/Value.swift:5:1: warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | public protocol DflatFriendlyValue: Comparable, Hashable {}
 4 |
 5 | extension Bool: Comparable {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |   @inlinable
 7 |   public static func < (lhs: Bool, rhs: Bool) -> Bool {
[65/106] Compiling Dflat Subtraction.swift
/host/spi-builder-workspace/src/exprs/Value.swift:5:1: warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | public protocol DflatFriendlyValue: Comparable, Hashable {}
 4 |
 5 | extension Bool: Comparable {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |   @inlinable
 7 |   public static func < (lhs: Bool, rhs: Bool) -> Bool {
[66/106] Compiling Dflat Value.swift
/host/spi-builder-workspace/src/exprs/Value.swift:5:1: warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | public protocol DflatFriendlyValue: Comparable, Hashable {}
 4 |
 5 | extension Bool: Comparable {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |   @inlinable
 7 |   public static func < (lhs: Bool, rhs: Bool) -> Bool {
[67/106] Compiling Dflat SQLiteAddition.swift
/host/spi-builder-workspace/src/exprs/Value.swift:5:1: warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | public protocol DflatFriendlyValue: Comparable, Hashable {}
 4 |
 5 | extension Bool: Comparable {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |   @inlinable
 7 |   public static func < (lhs: Bool, rhs: Bool) -> Bool {
[68/106] Compiling Dflat SQLiteAnd.swift
[69/106] Compiling Dflat SQLiteEqualTo.swift
[70/106] Compiling Dflat SQLiteField.swift
[71/106] Compiling Dflat SQLiteIn.swift
[72/106] Compiling Dflat SQLiteIsNotNull.swift
[73/106] Compiling Dflat LessThan.swift
[74/106] Compiling Dflat LessThanOrEqualTo.swift
[75/106] Compiling Dflat Mod.swift
[76/106] Compiling Dflat Not.swift
[77/106] Compiling Dflat NotEqualTo.swift
[78/106] Compiling Dflat Atom.swift
[79/106] Compiling Dflat ChangeRequest.swift
[80/106] Compiling Dflat Expr.swift
[81/106] Compiling Dflat FetchedResult.swift
[82/106] Compiling Dflat FlatBuffersCodable.swift
[83/106] Compiling Dflat Publisher.swift
[84/106] Compiling Dflat EqualTo.swift
[85/106] Compiling Dflat Field.swift
[86/106] Compiling Dflat In.swift
[87/106] Compiling Dflat IsNotNull.swift
[88/106] Compiling Dflat IsNull.swift
[89/106] Emitting module Dflat
/host/spi-builder-workspace/src/exprs/Value.swift:5:1: warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | public protocol DflatFriendlyValue: Comparable, Hashable {}
 4 |
 5 | extension Bool: Comparable {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |   @inlinable
 7 |   public static func < (lhs: Bool, rhs: Bool) -> Bool {
[90/106] Compiling Dflat QueryBuilder.swift
[91/106] Compiling Dflat SQLiteExpr.swift
[92/106] Compiling Dflat TransactionContext.swift
[93/106] Compiling Dflat Workspace.swift
[94/106] Compiling Dflat Addition.swift
[95/106] Compiling Dflat And.swift
[96/106] Compiling Dflat SQLiteNotEqualTo.swift
[97/106] Compiling Dflat SQLiteNotIn.swift
[98/106] Compiling Dflat SQLiteOr.swift
[99/106] Compiling Dflat SQLiteSubtraction.swift
[100/106] Compiling Dflat SQLiteValue.swift
[101/107] Wrapping AST for Dflat for debugging
[102/107] Write Objects.LinkFileList
[103/107] Archiving libDflat.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[105/128] Emitting module SQLiteDflat
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:6:1: warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 4 | // MARK - Implement binding for SQLite.
 5 |
 6 | extension Bool: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 7 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
 8 |     sqlite3_bind_int(query, parameterId, self ? 1 : 0)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:11:1: warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 |   }
10 | }
11 | extension Int8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
13 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:16:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
14 |   }
15 | }
16 | extension UInt8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
18 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:21:1: warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
19 |   }
20 | }
21 | extension Int16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
22 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
23 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:26:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
24 |   }
25 | }
26 | extension UInt16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
27 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
28 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:31:1: warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
29 |   }
30 | }
31 | extension Int32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
32 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
33 |     sqlite3_bind_int(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:36:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
34 |   }
35 | }
36 | extension UInt32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
37 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
38 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:41:1: warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
39 |   }
40 | }
41 | extension Int64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
42 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
43 |     sqlite3_bind_int64(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:46:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
44 |   }
45 | }
46 | extension UInt64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
47 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
48 |     sqlite3_bind_int64(query, parameterId, Int64(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:51:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
49 |   }
50 | }
51 | extension Float: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
52 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
53 |     sqlite3_bind_double(query, parameterId, Double(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:56:1: warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
54 |   }
55 | }
56 | extension Double: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
57 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
58 |     sqlite3_bind_double(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:61:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 |   }
60 | }
61 | extension String: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
62 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
63 |     // This is not ideal, but there isn't a good way to guarentee life-cycle of the String from Swift.
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
[106/128] Compiling SQLiteDflat SQLiteConnectionPool.swift
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:29:12: error: cannot find 'os_unfair_lock' in scope
27 |     self.filePath = filePath
28 |     flowControl = DispatchSemaphore(value: capacity)
29 |     lock = os_unfair_lock()
   |            `- error: cannot find 'os_unfair_lock' in scope
30 |     shutdown = false
31 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:33:5: error: cannot find 'os_unfair_lock_lock' in scope
31 |   }
32 |   func drain() {
33 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:35:5: error: cannot find 'os_unfair_lock_unlock' in scope
33 |     os_unfair_lock_lock(&lock)
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
36 |     // Simply wait out any and every connection we give out.
37 |     for _ in 0..<capacity {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:51:5: error: cannot find 'os_unfair_lock_lock' in scope
49 |   func borrow() -> Borrowed {
50 |     flowControl.wait()
51 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:54:7: error: cannot find 'os_unfair_lock_unlock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
54 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
55 |       flowControl.signal()
56 |       return Borrowed(pointee: nil, pool: nil)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:61:7: error: cannot find 'os_unfair_lock_unlock' in scope
59 |     if let connection = pool.last {
60 |       pool.removeLast()
61 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:64:5: error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
64 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:67:7: error: cannot find 'os_unfair_lock_lock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
   |       `- error: cannot find 'os_unfair_lock_lock' in scope
68 |       os_unfair_lock_unlock(&lock)
69 |       flowControl.signal()
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:68:7: error: cannot find 'os_unfair_lock_unlock' in scope
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
68 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
69 |       flowControl.signal()
70 |       return Borrowed(pointee: pointee, pool: nil)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:76:5: error: cannot find 'os_unfair_lock_lock' in scope
74 |   }
75 |   fileprivate func add(_ connection: SQLiteConnection) {
76 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:78:5: error: cannot find 'os_unfair_lock_unlock' in scope
76 |     os_unfair_lock_lock(&lock)
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
79 |     flowControl.signal()
80 |   }
[107/128] Compiling SQLiteDflat SQLiteExpr.swift
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:29:12: error: cannot find 'os_unfair_lock' in scope
27 |     self.filePath = filePath
28 |     flowControl = DispatchSemaphore(value: capacity)
29 |     lock = os_unfair_lock()
   |            `- error: cannot find 'os_unfair_lock' in scope
30 |     shutdown = false
31 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:33:5: error: cannot find 'os_unfair_lock_lock' in scope
31 |   }
32 |   func drain() {
33 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:35:5: error: cannot find 'os_unfair_lock_unlock' in scope
33 |     os_unfair_lock_lock(&lock)
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
36 |     // Simply wait out any and every connection we give out.
37 |     for _ in 0..<capacity {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:51:5: error: cannot find 'os_unfair_lock_lock' in scope
49 |   func borrow() -> Borrowed {
50 |     flowControl.wait()
51 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:54:7: error: cannot find 'os_unfair_lock_unlock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
54 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
55 |       flowControl.signal()
56 |       return Borrowed(pointee: nil, pool: nil)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:61:7: error: cannot find 'os_unfair_lock_unlock' in scope
59 |     if let connection = pool.last {
60 |       pool.removeLast()
61 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:64:5: error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
64 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:67:7: error: cannot find 'os_unfair_lock_lock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
   |       `- error: cannot find 'os_unfair_lock_lock' in scope
68 |       os_unfair_lock_unlock(&lock)
69 |       flowControl.signal()
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:68:7: error: cannot find 'os_unfair_lock_unlock' in scope
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
68 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
69 |       flowControl.signal()
70 |       return Borrowed(pointee: pointee, pool: nil)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:76:5: error: cannot find 'os_unfair_lock_lock' in scope
74 |   }
75 |   fileprivate func add(_ connection: SQLiteConnection) {
76 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:78:5: error: cannot find 'os_unfair_lock_unlock' in scope
76 |     os_unfair_lock_lock(&lock)
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
79 |     flowControl.signal()
80 |   }
[108/128] Compiling SQLiteDflat SQLiteFetchedResult.swift
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:29:12: error: cannot find 'os_unfair_lock' in scope
27 |     self.filePath = filePath
28 |     flowControl = DispatchSemaphore(value: capacity)
29 |     lock = os_unfair_lock()
   |            `- error: cannot find 'os_unfair_lock' in scope
30 |     shutdown = false
31 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:33:5: error: cannot find 'os_unfair_lock_lock' in scope
31 |   }
32 |   func drain() {
33 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:35:5: error: cannot find 'os_unfair_lock_unlock' in scope
33 |     os_unfair_lock_lock(&lock)
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
36 |     // Simply wait out any and every connection we give out.
37 |     for _ in 0..<capacity {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:51:5: error: cannot find 'os_unfair_lock_lock' in scope
49 |   func borrow() -> Borrowed {
50 |     flowControl.wait()
51 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:54:7: error: cannot find 'os_unfair_lock_unlock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
54 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
55 |       flowControl.signal()
56 |       return Borrowed(pointee: nil, pool: nil)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:61:7: error: cannot find 'os_unfair_lock_unlock' in scope
59 |     if let connection = pool.last {
60 |       pool.removeLast()
61 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:64:5: error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
64 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:67:7: error: cannot find 'os_unfair_lock_lock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
   |       `- error: cannot find 'os_unfair_lock_lock' in scope
68 |       os_unfair_lock_unlock(&lock)
69 |       flowControl.signal()
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:68:7: error: cannot find 'os_unfair_lock_unlock' in scope
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
68 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
69 |       flowControl.signal()
70 |       return Borrowed(pointee: pointee, pool: nil)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:76:5: error: cannot find 'os_unfair_lock_lock' in scope
74 |   }
75 |   fileprivate func add(_ connection: SQLiteConnection) {
76 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteConnectionPool.swift:78:5: error: cannot find 'os_unfair_lock_unlock' in scope
76 |     os_unfair_lock_lock(&lock)
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
79 |     flowControl.signal()
80 |   }
[109/130] Compiling SQLiteDflat dict_data_model_generated.swift
[110/130] Compiling SQLiteDflat dict_generated.swift
[111/130] Compiling SQLiteDflat dict_mutating_generated.swift
[112/130] Compiling SQLiteDflat dict_query_generated.swift
[113/130] Compiling SQLiteDflat SQLiteTableState.swift
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:6:1: warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 4 | // MARK - Implement binding for SQLite.
 5 |
 6 | extension Bool: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 7 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
 8 |     sqlite3_bind_int(query, parameterId, self ? 1 : 0)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:11:1: warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 |   }
10 | }
11 | extension Int8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
13 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:16:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
14 |   }
15 | }
16 | extension UInt8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
18 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:21:1: warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
19 |   }
20 | }
21 | extension Int16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
22 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
23 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:26:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
24 |   }
25 | }
26 | extension UInt16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
27 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
28 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:31:1: warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
29 |   }
30 | }
31 | extension Int32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
32 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
33 |     sqlite3_bind_int(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:36:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
34 |   }
35 | }
36 | extension UInt32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
37 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
38 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:41:1: warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
39 |   }
40 | }
41 | extension Int64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
42 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
43 |     sqlite3_bind_int64(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:46:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
44 |   }
45 | }
46 | extension UInt64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
47 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
48 |     sqlite3_bind_int64(query, parameterId, Int64(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:51:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
49 |   }
50 | }
51 | extension Float: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
52 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
53 |     sqlite3_bind_double(query, parameterId, Double(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:56:1: warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
54 |   }
55 | }
56 | extension Double: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
57 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
58 |     sqlite3_bind_double(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:61:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 |   }
60 | }
61 | extension String: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
62 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
63 |     // This is not ideal, but there isn't a good way to guarentee life-cycle of the String from Swift.
[114/130] Compiling SQLiteDflat SQLiteTransactionContext.swift
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:6:1: warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 4 | // MARK - Implement binding for SQLite.
 5 |
 6 | extension Bool: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 7 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
 8 |     sqlite3_bind_int(query, parameterId, self ? 1 : 0)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:11:1: warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 |   }
10 | }
11 | extension Int8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
13 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:16:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
14 |   }
15 | }
16 | extension UInt8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
18 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:21:1: warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
19 |   }
20 | }
21 | extension Int16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
22 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
23 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:26:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
24 |   }
25 | }
26 | extension UInt16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
27 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
28 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:31:1: warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
29 |   }
30 | }
31 | extension Int32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
32 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
33 |     sqlite3_bind_int(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:36:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
34 |   }
35 | }
36 | extension UInt32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
37 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
38 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:41:1: warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
39 |   }
40 | }
41 | extension Int64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
42 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
43 |     sqlite3_bind_int64(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:46:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
44 |   }
45 | }
46 | extension UInt64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
47 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
48 |     sqlite3_bind_int64(query, parameterId, Int64(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:51:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
49 |   }
50 | }
51 | extension Float: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
52 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
53 |     sqlite3_bind_double(query, parameterId, Double(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:56:1: warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
54 |   }
55 | }
56 | extension Double: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
57 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
58 |     sqlite3_bind_double(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:61:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 |   }
60 | }
61 | extension String: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
62 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
63 |     // This is not ideal, but there isn't a good way to guarentee life-cycle of the String from Swift.
[115/130] Compiling SQLiteDflat SQLiteValue.swift
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:6:1: warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 4 | // MARK - Implement binding for SQLite.
 5 |
 6 | extension Bool: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Bool' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 7 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
 8 |     sqlite3_bind_int(query, parameterId, self ? 1 : 0)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:11:1: warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 |   }
10 | }
11 | extension Int8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
13 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:16:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
14 |   }
15 | }
16 | extension UInt8: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt8' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
18 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:21:1: warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
19 |   }
20 | }
21 | extension Int16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
22 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
23 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:26:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
24 |   }
25 | }
26 | extension UInt16: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt16' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
27 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
28 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:31:1: warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
29 |   }
30 | }
31 | extension Int32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
32 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
33 |     sqlite3_bind_int(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:36:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
34 |   }
35 | }
36 | extension UInt32: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
37 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
38 |     sqlite3_bind_int(query, parameterId, Int32(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:41:1: warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
39 |   }
40 | }
41 | extension Int64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Int64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
42 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
43 |     sqlite3_bind_int64(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:46:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
44 |   }
45 | }
46 | extension UInt64: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'UInt64' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
47 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
48 |     sqlite3_bind_int64(query, parameterId, Int64(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:51:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
49 |   }
50 | }
51 | extension Float: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
52 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
53 |     sqlite3_bind_double(query, parameterId, Double(self))
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:56:1: warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
54 |   }
55 | }
56 | extension Double: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'Double' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
57 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
58 |     sqlite3_bind_double(query, parameterId, self)
/host/spi-builder-workspace/src/sqlite/SQLiteValue.swift:61:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 |   }
60 | }
61 | extension String: SQLiteValue {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'SQLiteValue', 'SQLiteBinding'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
62 |   public func bindSQLite(_ query: OpaquePointer, parameterId: Int32) {
63 |     // This is not ideal, but there isn't a good way to guarentee life-cycle of the String from Swift.
[116/130] Compiling SQLiteDflat SQLiteObjectRepository.swift
[117/130] Compiling SQLiteDflat SQLitePersistenceToolbox.swift
[118/130] Compiling SQLiteDflat SQLitePublisher.swift
[119/130] Compiling SQLiteDflat OSShim.swift
[120/130] Compiling SQLiteDflat SQLiteAtom.swift
[121/130] Compiling SQLiteDflat SQLiteConnection.swift
[122/130] Compiling SQLiteDflat SQLiteQueryBuilder.swift
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:37:5: error: cannot find 'os_unfair_lock_lock' in scope
35 |   }
36 |   func lock() {
37 |     os_unfair_lock_lock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
38 |   }
39 |   func unlock() {
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:40:5: error: cannot find 'os_unfair_lock_unlock' in scope
38 |   }
39 |   func unlock() {
40 |     os_unfair_lock_unlock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
41 |   }
42 |   func resume() {
[123/130] Compiling SQLiteDflat SQLiteResultPublisher.swift
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:37:5: error: cannot find 'os_unfair_lock_lock' in scope
35 |   }
36 |   func lock() {
37 |     os_unfair_lock_lock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
38 |   }
39 |   func unlock() {
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:40:5: error: cannot find 'os_unfair_lock_unlock' in scope
38 |   }
39 |   func unlock() {
40 |     os_unfair_lock_unlock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
41 |   }
42 |   func resume() {
[124/130] Compiling SQLiteDflat SQLiteTableSpace.swift
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:37:5: error: cannot find 'os_unfair_lock_lock' in scope
35 |   }
36 |   func lock() {
37 |     os_unfair_lock_lock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
38 |   }
39 |   func unlock() {
/host/spi-builder-workspace/src/sqlite/SQLiteTableSpace.swift:40:5: error: cannot find 'os_unfair_lock_unlock' in scope
38 |   }
39 |   func unlock() {
40 |     os_unfair_lock_unlock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
41 |   }
42 |   func resume() {
[125/130] Compiling SQLiteDflat SQLiteWorkspace.swift
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:567:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
565 |           }
566 |         }
567 |         continuation.onTermination = { @Sendable _ in
    |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
568 |           cancellable.cancel()
569 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:582:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
580 |           continuation.yield(fetchedResult)
581 |         }
582 |         continuation.onTermination = { @Sendable _ in
    |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
583 |           cancellable.cancel()
584 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:781:27: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
779 |       guard let self = self else { return }
780 |       guard let connection = tableSpace.connect({ self.newConnection() }) else { return }
781 |       let SQLiteElement = Element.self as! SQLiteAtom.Type
    |                           `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
782 |       let toolbox = SQLitePersistenceToolbox(connection: connection)
783 |       let table = SQLiteElement.table
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:792:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
790 |         tableSpace.state.tableCreated.insert(objectType)
791 |       }
792 |       let indexSurvey = connection.indexSurvey(fields, table: table)
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
793 |       // Obtain a exclusive lock, see discussions in SQLiteTransactionContext for why.
794 |       let begin = connection.prepareStaticStatement("BEGIN IMMEDIATE")
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:768:78: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
766 |   }
767 |
768 |   func beginRebuildIndex<Element: Atom, S: Sequence>(_ ofType: Element.Type, fields: S)
    |                                                                              `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
769 |   where S.Element == String {
770 |     guard
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:821:17: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
819 |         tableSpace.queue.asyncAfter(deadline: .now() + Self.RebuildIndexDelayOnDiskFull) {
820 |           [weak self] in
821 |           self?.beginRebuildIndex(Element.self, fields: fields)
    |                 `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
822 |         }
823 |         return
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:821:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
819 |         tableSpace.queue.asyncAfter(deadline: .now() + Self.RebuildIndexDelayOnDiskFull) {
820 |           [weak self] in
821 |           self?.beginRebuildIndex(Element.self, fields: fields)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
822 |         }
823 |         return
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:768:78: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
766 |   }
767 |
768 |   func beginRebuildIndex<Element: Atom, S: Sequence>(_ ofType: Element.Type, fields: S)
    |                                                                              `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
769 |   where S.Element == String {
770 |     guard
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:20:15: error: generic parameter 'Pointee' could not be inferred
  18 |     init(namespace: String) {
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
     |               |- error: generic parameter 'Pointee' could not be inferred
     |               `- note: explicitly specify the generic arguments to fix this issue
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:21:31: error: cannot find 'os_unfair_lock' in scope
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
     |                               `- error: cannot find 'os_unfair_lock' in scope
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
  23 |       subscriptions = Array(
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:638:5: error: cannot find 'os_unfair_lock_lock' in scope
 636 |     key.hash(into: &hasher)
 637 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 638 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 639 |     return (dictionaries[hashValue][key], hashValue)
 640 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:646:5: error: cannot find 'os_unfair_lock_lock' in scope
 644 |     key.hash(into: &hasher)
 645 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 646 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 647 |     return hashValue
 648 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:654:5: error: cannot find 'os_unfair_lock_lock' in scope
 652 |     key.hash(into: &hasher)
 653 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 654 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 655 |     let oldValue = dictionaries[hashValue].updateValue(value, forKey: key)
 656 |     return (oldValue, hashValue)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:693:5: error: cannot find 'os_unfair_lock_lock' in scope
 691 |   @inline(__always)
 692 |   func lock(_ hashValue: Int) {
 693 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 694 |   }
 695 |   @inline(__always)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:697:5: error: cannot find 'os_unfair_lock_unlock' in scope
 695 |   @inline(__always)
 696 |   func unlock(_ hashValue: Int) {
 697 |     os_unfair_lock_unlock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_unlock' in scope
 698 |   }
 699 | }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:1154:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1152 |           }
1153 |         }
1154 |         continuation.onTermination = { @Sendable _ in
     |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1155 |           cancellable.cancel()
1156 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:1175:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1173 |           }
1174 |         }
1175 |         continuation.onTermination = { @Sendable _ in
     |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1176 |           cancellable.cancel()
1177 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:12:5: error: cannot find 'os_unfair_lock_lock' in scope
10 |
11 |   func serial<T>(_ closure: () -> T) -> T {
12 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:14:5: error: cannot find 'os_unfair_lock_unlock' in scope
12 |     os_unfair_lock_lock(&lock)
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
15 |     return retval
16 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:20:5: error: cannot find 'os_unfair_lock_lock' in scope
18 |   func setTableTimestamp<S: Sequence>(_ timestamp: Int64, for identifiers: S)
19 |   where S.Element == ObjectIdentifier {
20 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
21 |     for identifier in identifiers {
22 |       tableTimestamps[identifier] = timestamp
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:24:5: error: cannot find 'os_unfair_lock_unlock' in scope
22 |       tableTimestamps[identifier] = timestamp
23 |     }
24 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
25 |   }
26 |
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:28:5: error: cannot find 'os_unfair_lock_lock' in scope
26 |
27 |   func tableTimestamp(for identifier: ObjectIdentifier) -> Int64 {
28 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:30:5: error: cannot find 'os_unfair_lock_unlock' in scope
28 |     os_unfair_lock_lock(&lock)
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
31 |     return tableTimestamp
32 |   }
[126/130] Compiling SQLiteDflat SQLiteWorkspaceDictionary.swift
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:567:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
565 |           }
566 |         }
567 |         continuation.onTermination = { @Sendable _ in
    |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
568 |           cancellable.cancel()
569 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:582:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
580 |           continuation.yield(fetchedResult)
581 |         }
582 |         continuation.onTermination = { @Sendable _ in
    |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
583 |           cancellable.cancel()
584 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:781:27: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
779 |       guard let self = self else { return }
780 |       guard let connection = tableSpace.connect({ self.newConnection() }) else { return }
781 |       let SQLiteElement = Element.self as! SQLiteAtom.Type
    |                           `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
782 |       let toolbox = SQLitePersistenceToolbox(connection: connection)
783 |       let table = SQLiteElement.table
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:792:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
790 |         tableSpace.state.tableCreated.insert(objectType)
791 |       }
792 |       let indexSurvey = connection.indexSurvey(fields, table: table)
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
793 |       // Obtain a exclusive lock, see discussions in SQLiteTransactionContext for why.
794 |       let begin = connection.prepareStaticStatement("BEGIN IMMEDIATE")
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:768:78: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
766 |   }
767 |
768 |   func beginRebuildIndex<Element: Atom, S: Sequence>(_ ofType: Element.Type, fields: S)
    |                                                                              `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
769 |   where S.Element == String {
770 |     guard
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:821:17: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
819 |         tableSpace.queue.asyncAfter(deadline: .now() + Self.RebuildIndexDelayOnDiskFull) {
820 |           [weak self] in
821 |           self?.beginRebuildIndex(Element.self, fields: fields)
    |                 `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
822 |         }
823 |         return
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:821:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
819 |         tableSpace.queue.asyncAfter(deadline: .now() + Self.RebuildIndexDelayOnDiskFull) {
820 |           [weak self] in
821 |           self?.beginRebuildIndex(Element.self, fields: fields)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
822 |         }
823 |         return
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:768:78: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
766 |   }
767 |
768 |   func beginRebuildIndex<Element: Atom, S: Sequence>(_ ofType: Element.Type, fields: S)
    |                                                                              `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
769 |   where S.Element == String {
770 |     guard
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:20:15: error: generic parameter 'Pointee' could not be inferred
  18 |     init(namespace: String) {
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
     |               |- error: generic parameter 'Pointee' could not be inferred
     |               `- note: explicitly specify the generic arguments to fix this issue
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:21:31: error: cannot find 'os_unfair_lock' in scope
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
     |                               `- error: cannot find 'os_unfair_lock' in scope
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
  23 |       subscriptions = Array(
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:638:5: error: cannot find 'os_unfair_lock_lock' in scope
 636 |     key.hash(into: &hasher)
 637 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 638 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 639 |     return (dictionaries[hashValue][key], hashValue)
 640 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:646:5: error: cannot find 'os_unfair_lock_lock' in scope
 644 |     key.hash(into: &hasher)
 645 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 646 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 647 |     return hashValue
 648 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:654:5: error: cannot find 'os_unfair_lock_lock' in scope
 652 |     key.hash(into: &hasher)
 653 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 654 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 655 |     let oldValue = dictionaries[hashValue].updateValue(value, forKey: key)
 656 |     return (oldValue, hashValue)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:693:5: error: cannot find 'os_unfair_lock_lock' in scope
 691 |   @inline(__always)
 692 |   func lock(_ hashValue: Int) {
 693 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 694 |   }
 695 |   @inline(__always)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:697:5: error: cannot find 'os_unfair_lock_unlock' in scope
 695 |   @inline(__always)
 696 |   func unlock(_ hashValue: Int) {
 697 |     os_unfair_lock_unlock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_unlock' in scope
 698 |   }
 699 | }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:1154:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1152 |           }
1153 |         }
1154 |         continuation.onTermination = { @Sendable _ in
     |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1155 |           cancellable.cancel()
1156 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:1175:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1173 |           }
1174 |         }
1175 |         continuation.onTermination = { @Sendable _ in
     |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1176 |           cancellable.cancel()
1177 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:12:5: error: cannot find 'os_unfair_lock_lock' in scope
10 |
11 |   func serial<T>(_ closure: () -> T) -> T {
12 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:14:5: error: cannot find 'os_unfair_lock_unlock' in scope
12 |     os_unfair_lock_lock(&lock)
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
15 |     return retval
16 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:20:5: error: cannot find 'os_unfair_lock_lock' in scope
18 |   func setTableTimestamp<S: Sequence>(_ timestamp: Int64, for identifiers: S)
19 |   where S.Element == ObjectIdentifier {
20 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
21 |     for identifier in identifiers {
22 |       tableTimestamps[identifier] = timestamp
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:24:5: error: cannot find 'os_unfair_lock_unlock' in scope
22 |       tableTimestamps[identifier] = timestamp
23 |     }
24 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
25 |   }
26 |
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:28:5: error: cannot find 'os_unfair_lock_lock' in scope
26 |
27 |   func tableTimestamp(for identifier: ObjectIdentifier) -> Int64 {
28 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:30:5: error: cannot find 'os_unfair_lock_unlock' in scope
28 |     os_unfair_lock_lock(&lock)
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
31 |     return tableTimestamp
32 |   }
[127/130] Compiling SQLiteDflat SQLiteWorkspaceState.swift
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:567:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
565 |           }
566 |         }
567 |         continuation.onTermination = { @Sendable _ in
    |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
568 |           cancellable.cancel()
569 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:582:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
580 |           continuation.yield(fetchedResult)
581 |         }
582 |         continuation.onTermination = { @Sendable _ in
    |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
583 |           cancellable.cancel()
584 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:781:27: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
779 |       guard let self = self else { return }
780 |       guard let connection = tableSpace.connect({ self.newConnection() }) else { return }
781 |       let SQLiteElement = Element.self as! SQLiteAtom.Type
    |                           `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
782 |       let toolbox = SQLitePersistenceToolbox(connection: connection)
783 |       let table = SQLiteElement.table
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:792:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
790 |         tableSpace.state.tableCreated.insert(objectType)
791 |       }
792 |       let indexSurvey = connection.indexSurvey(fields, table: table)
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
793 |       // Obtain a exclusive lock, see discussions in SQLiteTransactionContext for why.
794 |       let begin = connection.prepareStaticStatement("BEGIN IMMEDIATE")
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:768:78: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
766 |   }
767 |
768 |   func beginRebuildIndex<Element: Atom, S: Sequence>(_ ofType: Element.Type, fields: S)
    |                                                                              `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
769 |   where S.Element == String {
770 |     guard
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:821:17: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
819 |         tableSpace.queue.asyncAfter(deadline: .now() + Self.RebuildIndexDelayOnDiskFull) {
820 |           [weak self] in
821 |           self?.beginRebuildIndex(Element.self, fields: fields)
    |                 `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
822 |         }
823 |         return
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:821:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
819 |         tableSpace.queue.asyncAfter(deadline: .now() + Self.RebuildIndexDelayOnDiskFull) {
820 |           [weak self] in
821 |           self?.beginRebuildIndex(Element.self, fields: fields)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
822 |         }
823 |         return
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspace.swift:768:78: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
766 |   }
767 |
768 |   func beginRebuildIndex<Element: Atom, S: Sequence>(_ ofType: Element.Type, fields: S)
    |                                                                              `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
769 |   where S.Element == String {
770 |     guard
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:20:15: error: generic parameter 'Pointee' could not be inferred
  18 |     init(namespace: String) {
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
     |               |- error: generic parameter 'Pointee' could not be inferred
     |               `- note: explicitly specify the generic arguments to fix this issue
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:21:31: error: cannot find 'os_unfair_lock' in scope
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
     |                               `- error: cannot find 'os_unfair_lock' in scope
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
  23 |       subscriptions = Array(
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:638:5: error: cannot find 'os_unfair_lock_lock' in scope
 636 |     key.hash(into: &hasher)
 637 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 638 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 639 |     return (dictionaries[hashValue][key], hashValue)
 640 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:646:5: error: cannot find 'os_unfair_lock_lock' in scope
 644 |     key.hash(into: &hasher)
 645 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 646 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 647 |     return hashValue
 648 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:654:5: error: cannot find 'os_unfair_lock_lock' in scope
 652 |     key.hash(into: &hasher)
 653 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 654 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 655 |     let oldValue = dictionaries[hashValue].updateValue(value, forKey: key)
 656 |     return (oldValue, hashValue)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:693:5: error: cannot find 'os_unfair_lock_lock' in scope
 691 |   @inline(__always)
 692 |   func lock(_ hashValue: Int) {
 693 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 694 |   }
 695 |   @inline(__always)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:697:5: error: cannot find 'os_unfair_lock_unlock' in scope
 695 |   @inline(__always)
 696 |   func unlock(_ hashValue: Int) {
 697 |     os_unfair_lock_unlock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_unlock' in scope
 698 |   }
 699 | }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:1154:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1152 |           }
1153 |         }
1154 |         continuation.onTermination = { @Sendable _ in
     |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1155 |           cancellable.cancel()
1156 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceDictionary.swift:1175:38: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1173 |           }
1174 |         }
1175 |         continuation.onTermination = { @Sendable _ in
     |                                      `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
1176 |           cancellable.cancel()
1177 |         }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:12:5: error: cannot find 'os_unfair_lock_lock' in scope
10 |
11 |   func serial<T>(_ closure: () -> T) -> T {
12 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:14:5: error: cannot find 'os_unfair_lock_unlock' in scope
12 |     os_unfair_lock_lock(&lock)
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
15 |     return retval
16 |   }
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:20:5: error: cannot find 'os_unfair_lock_lock' in scope
18 |   func setTableTimestamp<S: Sequence>(_ timestamp: Int64, for identifiers: S)
19 |   where S.Element == ObjectIdentifier {
20 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
21 |     for identifier in identifiers {
22 |       tableTimestamps[identifier] = timestamp
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:24:5: error: cannot find 'os_unfair_lock_unlock' in scope
22 |       tableTimestamps[identifier] = timestamp
23 |     }
24 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
25 |   }
26 |
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:28:5: error: cannot find 'os_unfair_lock_lock' in scope
26 |
27 |   func tableTimestamp(for identifier: ObjectIdentifier) -> Int64 {
28 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/src/sqlite/SQLiteWorkspaceState.swift:30:5: error: cannot find 'os_unfair_lock_unlock' in scope
28 |     os_unfair_lock_lock(&lock)
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
31 |     return tableTimestamp
32 |   }
BUILD FAILURE 6.2 android