The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PowerSync, reference main (e7a3fa), with Swift 6.1 for macOS (SPM) on 1 Dec 2026 12:19:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

[381/494] Compiling AsyncAlgorithms ZipStateMachine.swift
[382/494] Compiling AsyncAlgorithms ZipStorage.swift
[392/494] Compiling GRDB DatabaseSchemaSource.swift
[393/494] Compiling GRDB DatabaseSnapshot.swift
[394/494] Compiling GRDB DatabaseSnapshotPool.swift
[395/494] Compiling GRDB DatabaseValue.swift
[396/494] Compiling GRDB DatabaseValueConvertible.swift
[397/494] Compiling GRDB DatabaseWriter.swift
[398/494] Compiling GRDB DispatchQueueActor.swift
[399/494] Compiling GRDB FetchRequest.swift
[400/494] Compiling GRDB Row.swift
[401/494] Compiling GRDB RowAdapter.swift
[402/494] Compiling GRDB RowDecodingError.swift
[403/494] Compiling GRDB SQL.swift
[404/494] Compiling GRDB SQLInterpolation.swift
[405/494] Compiling GRDB SQLRequest.swift
[406/494] Compiling GRDB SchedulingWatchdog.swift
[407/494] Compiling GRDB SerializedDatabase.swift
[408/494] Compiling GRDB Statement.swift
[409/494] Compiling AsyncAlgorithms Rethrow.swift
[410/494] Compiling AsyncAlgorithms SetAlgebra.swift
[431/494] Emitting module GRDB
[432/494] Compiling GRDB ReadWriteLock.swift
[433/494] Compiling GRDB ReceiveValuesOn.swift
[434/494] Compiling GRDB Refinable.swift
[435/494] Compiling GRDB Utils.swift
[436/494] Compiling GRDB DatabaseCancellable.swift
[437/494] Compiling GRDB ValueConcurrentObserver.swift
[438/494] Compiling GRDB ValueWriteOnlyObserver.swift
[439/494] Compiling GRDB Fetch.swift
[440/494] Compiling GRDB Map.swift
[441/494] Compiling GRDB RemoveDuplicates.swift
[442/494] Compiling GRDB Trace.swift
[443/494] Compiling GRDB ValueReducer.swift
[444/494] Compiling GRDB SharedValueObservation.swift
[445/494] Compiling GRDB ValueObservation.swift
[446/494] Compiling GRDB ValueObservationScheduler.swift
[447/494] Compiling GRDB resource_bundle_accessor.swift
[448/494] Emitting module AsyncAlgorithms
[449/494] Compiling AsyncAlgorithms _TinyArray.swift
[450/494] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[451/494] Compiling AsyncAlgorithms Locking.swift
[452/494] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[453/494] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[454/494] Compiling AsyncAlgorithms MergeStateMachine.swift
[455/494] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[456/494] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[457/494] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[458/494] Compiling AsyncAlgorithms CombineLatestStorage.swift
[459/494] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[460/494] Compiling AsyncAlgorithms DebounceStateMachine.swift
[461/494] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[462/494] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[463/494] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[464/494] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[465/494] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[466/494] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[467/494] Compiling AsyncAlgorithms MergeStorage.swift
[468/494] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[469/494] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[470/494] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[473/564] Compiling PowerSync UserAgent.swift
[474/564] Compiling PowerSync Logger.swift
[475/564] Compiling PowerSync PowerSyncCredentials.swift
[476/564] Compiling PowerSync PowerSyncDatabase.swift
[477/564] Compiling PowerSync CheckpointRequest.swift
[478/564] Compiling PowerSync LoggerProtocol.swift
[479/564] Compiling PowerSync RawTable.swift
[480/564] Compiling PowerSync Schema.swift
[481/564] Compiling PowerSync Table.swift
[482/564] Compiling PowerSync TableOptions.swift
[483/564] Compiling PowerSync SyncRequestLogger.swift
[484/564] Compiling PowerSync ConnectionContext.swift
[485/564] Compiling PowerSync CrudBatch.swift
[486/564] Compiling PowerSync CrudEntry.swift
[487/564] Compiling PowerSync CrudTransaction.swift
[488/564] Compiling PowerSync DataConvertible.swift
[489/564] Compiling PowerSync JsonParam.swift
[490/564] Compiling PowerSync DownloadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[491/564] Compiling PowerSync PriorityStatusEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[492/564] Compiling PowerSync SyncStatusData.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[493/564] Compiling PowerSync SyncStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[494/564] Compiling PowerSync AsyncMutex.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[495/564] Compiling PowerSync BroadcastStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[496/564] Compiling PowerSync MergeItemSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[497/571] Emitting module PowerSync
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[498/571] Compiling PowerSync SyncSignals.swift
[499/571] Compiling PowerSync Transaction+PowerSyncControl.swift
[509/571] Compiling PowerSync SqlCursor.swift
[510/571] Compiling PowerSync Transaction.swift
[511/571] Compiling PowerSync BucketPriority.swift
[512/571] Compiling PowerSync CoreTimestamp.swift
[513/571] Compiling PowerSync PowerSyncBackendConnector.swift
[514/571] Compiling PowerSync PowerSyncDatabaseProtocol.swift
[515/571] Compiling PowerSync PowerSyncError.swift
[516/571] Compiling PowerSync QueriesProtocol.swift
[517/571] Compiling PowerSync SQLiteConnectionPool.swift
[518/571] Compiling PowerSync Column.swift
[519/571] Compiling PowerSync Index.swift
[520/571] Compiling PowerSync IndexedColumn.swift
[521/571] Compiling PowerSync CachingCredentialsConnector.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[522/571] Compiling PowerSync CoreSyncStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[523/571] Compiling PowerSync HttpClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[524/571] Compiling PowerSync Instruction.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[525/571] Compiling PowerSync PowerSyncControlArguments.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[526/571] Compiling PowerSync Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[527/571] Compiling PowerSync StreamingSyncClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[528/571] Compiling PowerSync SyncCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/HttpClient.swift:73:127: error: extra argument 'default' in call
 71 |                 throw UnexpectedResponseError(
 72 |                     response: response,
 73 |                     message: "Invalid sync lines response, (expected \(jsonStreamMimeType), got \(response.mimeType, default: "")"
    |                                                                                                                               `- error: extra argument 'default' in call
 74 |                 )
 75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:71:20: error: extra argument 'name' in call
 69 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 70 |     func run() -> Task<Void, any Error> {
 71 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 72 |             // Once both loops end, no further sync iteration can resume checkpoint request
 73 |             // waiters, so fail any that are still pending instead of leaving them suspended.
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/StreamingSyncClient.swift:104:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
102 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
103 |         repeat {
104 |             async let crudThrottleDelay = sleepForSeconds(seconds: self.options.crudThrottle)
    |                       |- warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
    |                       `- note: add an explicit type annotation to silence this warning
105 |             try await uploadAllCrud(uploader: uploader)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:64:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
60 |
61 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
62 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
63 |         await disconnect()
64 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:70:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
71 |         }
72 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:72:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
66 |
67 |     /// Executes an inner function, but only if no connection is active or scheduled.
68 |     func guardNotConnected<T>(inner: () async throws -> T, ifConnected: (StreamingSyncClient) async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
69 |         guard activeSync != nil, let sync = syncClient else {
70 |             return try await inner();
71 |         }
72 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
73 |     }
74 |
[537/571] Compiling PowerSync Mutex.swift
[538/571] Compiling PowerSync sleepForSeconds.swift
[539/571] Compiling PowerSync Attachment.swift
[540/571] Compiling PowerSync AttachmentContext.swift
[541/571] Compiling PowerSync AttachmentQueue.swift
[542/571] Compiling PowerSync AttachmentService.swift
[543/571] Compiling PowerSync AttachmentTable.swift
[544/571] Compiling PowerSync LeaseContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[545/571] Compiling PowerSync TransactionImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[546/571] Compiling PowerSync watch.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[547/571] Compiling PowerSync NativeConnectionPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[548/571] Compiling PowerSync NativeStatement.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[549/571] Compiling PowerSync StatementCursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[550/571] Compiling PowerSync registerPowerSyncCoreExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[551/571] Compiling PowerSync throwDatabaseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[552/571] Compiling PowerSync CurrentVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[553/571] Compiling PowerSync ActiveInstanceStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[554/571] Compiling PowerSync AsyncConnectionPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[555/571] Compiling PowerSync CheckpointRequestImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[556/571] Compiling PowerSync CrossProcessChangeSignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[557/571] Compiling PowerSync CrossProcessUpdateLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[558/571] Compiling PowerSync PowerSyncDatabaseImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[559/571] Compiling PowerSync SyncStreams.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 |         }
187 |         let numReaders = 4
188 |         var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
    |                                                                 `- error: argument passed to call that takes no arguments
189 |         while !readers.isFull {
190 |             let reader = try location.openConnection(writer: false)
[560/571] Compiling PowerSync FileManagerLocalStorage.swift
[561/571] Compiling PowerSync LocalStorage.swift
[562/571] Compiling PowerSync RemoteStorage.swift
[563/571] Compiling PowerSync SyncErrorHandler.swift
[564/571] Compiling PowerSync SyncingService.swift
[565/571] Compiling PowerSync WatchedAttachmentItem.swift
[566/571] Compiling PowerSync resolvePowerSyncLoadableExtensionPath.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/PowerSync/attachments/README.md
BUILD FAILURE 6.1 macosSpm