The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Dflat, reference unstable (73925e), with Swift 6.3 for Android on 21 Apr 2026 09:51:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/dflat.git
Reference: unstable
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
 * branch            unstable   -> FETCH_HEAD
 * [new branch]      unstable   -> origin/unstable
HEAD is now at 73925e5 Turn trusted schema off.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
73925e51e4f44add842177a229f9990cb13711ff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/dflat.git at unstable
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/liuliu/dflat.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/google/flatbuffers.git
[1/99040] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (11.34s)
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/1820] Fetching swift-atomics
[456/4097] Fetching swift-atomics, swift-docc-plugin
[830/4216] Fetching swift-atomics, swift-docc-plugin, swift-sqlite3-support
Fetched https://github.com/apple/swift-atomics.git from cache (0.95s)
[2389/2396] Fetching swift-docc-plugin, swift-sqlite3-support
Fetched https://github.com/apple/swift-docc-plugin from cache (2.12s)
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (2.12s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (3.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.85s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (2.87s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (4.74s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
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.6
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/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
[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
[8/20] Compiling SQLite3 sqlite3.c
[9/20] Write Objects.LinkFileList
[9/20] Write swift-version--4F562202D5529B1.txt
[11/21] Archiving libSQLite3.a
[13/57] Emitting module FlatBuffers
[14/59] Compiling Atomics AtomicStorage.swift
[15/59] Compiling Atomics AtomicValue.swift
[16/61] Compiling Atomics UnsafeAtomic.swift
[17/61] Compiling Atomics UnsafeAtomicLazyReference.swift
[18/61] Compiling Atomics AtomicInteger.swift
[19/61] Compiling Atomics AtomicOptionalWrappable.swift
[20/61] Compiling Atomics AtomicReference.swift
[21/61] Compiling Atomics AtomicMemoryOrderings.swift
[22/61] Compiling Atomics DoubleWord.swift
[23/61] Compiling Atomics ManagedAtomic.swift
[24/61] Compiling Atomics ManagedAtomicLazyReference.swift
[25/61] Compiling Atomics OptionalRawRepresentable.swift
[26/61] Compiling Atomics RawRepresentable.swift
[27/61] Compiling Atomics AtomicBool.swift
[28/61] Emitting module Atomics
[29/61] Compiling Atomics IntegerConformances.swift
[30/61] Compiling Atomics PointerConformances.swift
[31/61] Compiling Atomics Primitives.native.swift
[32/61] Compiling Atomics IntegerOperations.swift
[33/61] Compiling Atomics Unmanaged extensions.swift
[34/62] Wrapping AST for Atomics for debugging
[44/62] Compiling FlatBuffers Verifier.swift
[56/63] Wrapping AST for FlatBuffers for debugging
[58/101] Compiling Dflat Atom.swift
[59/101] Compiling Dflat ChangeRequest.swift
[60/101] Compiling Dflat Expr.swift
[61/101] Compiling Dflat FetchedResult.swift
[62/101] Compiling Dflat FlatBuffersCodable.swift
[63/101] Compiling Dflat Publisher.swift
[64/106] Compiling Dflat SQLiteIsNull.swift
[65/106] Compiling Dflat SQLiteLessThan.swift
[66/106] Compiling Dflat SQLiteLessThanOrEqualTo.swift
[67/106] Compiling Dflat SQLiteMod.swift
[68/106] Compiling Dflat SQLiteNot.swift
[69/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 {
[70/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 {
[71/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 {
[72/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 {
[73/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 {
[74/106] Compiling Dflat LessThan.swift
[75/106] Compiling Dflat LessThanOrEqualTo.swift
[76/106] Compiling Dflat Mod.swift
[77/106] Compiling Dflat Not.swift
[78/106] Compiling Dflat NotEqualTo.swift
[79/106] Compiling Dflat EqualTo.swift
[80/106] Compiling Dflat Field.swift
[81/106] Compiling Dflat In.swift
[82/106] Compiling Dflat IsNotNull.swift
[83/106] Compiling Dflat IsNull.swift
[84/106] Compiling Dflat SQLiteAnd.swift
[85/106] Compiling Dflat SQLiteEqualTo.swift
[86/106] Compiling Dflat SQLiteField.swift
[87/106] Compiling Dflat SQLiteIn.swift
[88/106] Compiling Dflat SQLiteIsNotNull.swift
[89/106] Compiling Dflat QueryBuilder.swift
[90/106] Compiling Dflat SQLiteExpr.swift
[91/106] Compiling Dflat TransactionContext.swift
[92/106] Compiling Dflat Workspace.swift
[93/106] Compiling Dflat Addition.swift
[94/106] Compiling Dflat And.swift
[95/106] Compiling Dflat SQLiteNotEqualTo.swift
[96/106] Compiling Dflat SQLiteNotIn.swift
[97/106] Compiling Dflat SQLiteOr.swift
[98/106] Compiling Dflat SQLiteSubtraction.swift
[99/106] Compiling Dflat SQLiteValue.swift
[100/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 {
[101/107] Wrapping AST for Dflat for debugging
[102/107] Write Objects.LinkFileList
[103/108] Archiving libDflat.a
[105/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 |   }
[106/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 |   }
[107/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 |   }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[108/130] 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/SQLiteTableSpace.swift:21:41: error: cannot find 'os_unfair_lock' 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 'os_unfair_lock' 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(bitPattern: 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(bitPattern: 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)
[109/130] Compiling SQLiteDflat SQLiteObjectRepository.swift
[110/130] Compiling SQLiteDflat SQLitePersistenceToolbox.swift
[111/130] Compiling SQLiteDflat SQLitePublisher.swift
[112/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(bitPattern: 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(bitPattern: 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.
[113/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(bitPattern: 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(bitPattern: 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 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(bitPattern: 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(bitPattern: 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 OSShim.swift
[116/130] Compiling SQLiteDflat SQLiteAtom.swift
[117/130] Compiling SQLiteDflat SQLiteConnection.swift
[118/130] Compiling SQLiteDflat dict_mutating_generated.swift
[119/130] Compiling SQLiteDflat dict_query_generated.swift
[120/130] Compiling SQLiteDflat dict_data_model_generated.swift
[121/130] Compiling SQLiteDflat dict_generated.swift
[122/130] Compiling SQLiteDflat SQLiteWorkspace.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/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/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 |   }
[123/130] Compiling SQLiteDflat SQLiteWorkspaceDictionary.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/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/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 |   }
[124/130] Compiling SQLiteDflat SQLiteWorkspaceState.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/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/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 |   }
[125/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:21:41: error: cannot find 'os_unfair_lock' 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 'os_unfair_lock' 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() {
[126/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:21:41: error: cannot find 'os_unfair_lock' 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 'os_unfair_lock' 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() {
[127/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:21:41: error: cannot find 'os_unfair_lock' 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 'os_unfair_lock' 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() {
BUILD FAILURE 6.3 android