The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PowerSync, reference main (04a26e), with Swift 6.1 for macOS (SPM) on 4 Nov 2026 12:37:15 UTC.

Build Command

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

Build Log

[353/494] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[354/494] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[355/564] Compiling GRDB MutablePersistableRecord+Update.swift
[356/564] Compiling GRDB MutablePersistableRecord+Upsert.swift
[357/564] Compiling GRDB MutablePersistableRecord.swift
[358/564] Compiling GRDB PersistableRecord+Insert.swift
[359/564] Compiling GRDB PersistableRecord+Save.swift
[360/564] Compiling GRDB PersistableRecord+Upsert.swift
[361/564] Compiling GRDB PersistableRecord.swift
[362/564] Compiling GRDB Record.swift
[363/564] Compiling GRDB TableRecord.swift
[364/564] Compiling GRDB CaseInsensitiveIdentifier.swift
[365/564] Compiling GRDB Inflections+English.swift
[366/564] Compiling GRDB Inflections.swift
[367/564] Compiling GRDB Mutex.swift
[368/564] Compiling GRDB OnDemandFuture.swift
[369/564] Compiling GRDB OrderedDictionary.swift
[370/564] Compiling GRDB Pool.swift
[371/564] Compiling GRDB Database+SchemaDefinition.swift
[372/564] Compiling GRDB ForeignKeyDefinition.swift
[373/564] Compiling GRDB IndexDefinition.swift
[374/564] Compiling GRDB TableAlteration.swift
[375/564] Compiling GRDB TableDefinition.swift
[376/564] Compiling GRDB VirtualTableModule.swift
[377/564] Compiling GRDB TableRecord+Association.swift
[378/564] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[379/564] Compiling GRDB EncodableRecord+Encodable.swift
[380/564] Compiling GRDB EncodableRecord.swift
[381/564] Compiling GRDB FetchableRecord+Decodable.swift
[382/564] Compiling GRDB FetchableRecord+TableRecord.swift
[383/564] Compiling GRDB FetchableRecord.swift
[384/564] Compiling GRDB MutablePersistableRecord+DAO.swift
[385/564] Compiling GRDB MutablePersistableRecord+Delete.swift
[386/564] Compiling GRDB MutablePersistableRecord+Insert.swift
[387/564] Compiling GRDB MutablePersistableRecord+Save.swift
[388/564] Compiling PowerSync JsonParam.swift
[389/564] Compiling PowerSync SqlCursor.swift
[390/564] Compiling PowerSync Transaction.swift
[391/564] Compiling PowerSync BucketPriority.swift
[392/564] Compiling PowerSync CoreTimestamp.swift
[393/564] Compiling PowerSync LeaseContext.swift
[394/564] Compiling PowerSync TransactionImpl.swift
[395/564] Compiling PowerSync watch.swift
[396/564] Compiling PowerSync NativeConnectionPool.swift
[397/564] Compiling PowerSync NativeStatement.swift
[398/564] Compiling PowerSync StatementCursor.swift
[399/564] Compiling PowerSync registerPowerSyncCoreExtension.swift
[400/564] Compiling PowerSync throwDatabaseError.swift
[401/564] Compiling PowerSync Mutex.swift
[402/564] Compiling PowerSync sleepForSeconds.swift
[403/564] Compiling PowerSync Attachment.swift
[404/564] Compiling PowerSync AttachmentContext.swift
[405/564] Compiling PowerSync Transaction+PowerSyncControl.swift
[406/564] Compiling PowerSync UserAgent.swift
[407/564] Compiling PowerSync Logger.swift
[408/564] Compiling PowerSync PowerSyncCredentials.swift
[409/564] Compiling PowerSync PowerSyncDatabase.swift
[410/564] Compiling PowerSync CheckpointRequest.swift
[411/564] Compiling PowerSync LoggerProtocol.swift
[412/564] Compiling PowerSync PowerSyncBackendConnector.swift
[413/564] Compiling PowerSync PowerSyncDatabaseProtocol.swift
[414/564] Compiling PowerSync PowerSyncError.swift
[415/564] Compiling PowerSync QueriesProtocol.swift
[416/564] Compiling PowerSync SQLiteConnectionPool.swift
[417/564] Compiling PowerSync Column.swift
[418/564] Compiling PowerSync Index.swift
[419/564] Compiling PowerSync IndexedColumn.swift
[420/564] Compiling PowerSync CrudTransaction.swift
[421/564] Compiling PowerSync DataConvertible.swift
[422/564] Compiling PowerSync CrudEntry.swift
[442/564] Compiling GRDB FTS5.swift
[443/564] Compiling GRDB FTS5CustomTokenizer.swift
[444/564] Compiling GRDB FTS5Pattern.swift
[445/564] Compiling GRDB FTS5Tokenizer.swift
[446/564] Compiling GRDB FTS5TokenizerDescriptor.swift
[447/564] Compiling GRDB FTS5WrapperTokenizer.swift
[448/564] Compiling GRDB Fixits.swift
[449/564] Compiling GRDB JSONColumn.swift
[450/564] Compiling GRDB SQLJSONExpressible.swift
[451/564] Compiling GRDB SQLJSONFunctions.swift
[452/564] Compiling GRDB DatabaseMigrator.swift
[453/564] Compiling GRDB Migration.swift
[454/564] Compiling GRDB FTS3+QueryInterface.swift
[455/564] Compiling GRDB FTS5+QueryInterface.swift
[456/564] Compiling PowerSync AttachmentQueue.swift
[457/564] Compiling PowerSync AttachmentService.swift
[458/564] Compiling PowerSync AttachmentTable.swift
[459/564] Compiling PowerSync DownloadProgress.swift
[460/564] Compiling PowerSync PriorityStatusEntry.swift
[461/564] Compiling PowerSync SyncStatusData.swift
[462/564] Compiling PowerSync SyncStream.swift
[463/564] Compiling PowerSync AsyncMutex.swift
[464/564] Compiling PowerSync BroadcastStream.swift
[465/564] Compiling PowerSync MergeItemSequence.swift
[466/564] Compiling PowerSync RawTable.swift
[467/564] Compiling PowerSync Schema.swift
[468/564] Compiling PowerSync Table.swift
[469/564] Compiling PowerSync TableOptions.swift
[470/564] Compiling PowerSync SyncRequestLogger.swift
[471/564] Compiling PowerSync ConnectionContext.swift
[472/564] Compiling PowerSync CrudBatch.swift
[473/564] Compiling GRDB Configuration.swift
[474/564] Compiling GRDB Cursor.swift
[475/564] Compiling GRDB Database+SQLCipher.swift
[476/564] Compiling GRDB Database+Schema.swift
[477/564] Compiling GRDB Database+Statements.swift
[478/564] Compiling GRDB Database.swift
[479/564] Compiling GRDB DatabaseBackupProgress.swift
[480/564] Compiling GRDB DatabaseCollation.swift
[481/564] Compiling GRDB DatabaseError.swift
[482/564] Compiling GRDB DatabaseFunction.swift
[483/564] Compiling GRDB DatabasePool.swift
[484/564] Compiling GRDB DatabasePublishers.swift
[485/564] Compiling GRDB DatabaseQueue.swift
[486/564] Compiling GRDB DatabaseReader.swift
[487/564] Compiling GRDB DatabaseRegion.swift
[488/564] Compiling GRDB DatabaseRegionObservation.swift
[489/564] Compiling GRDB DatabaseSchemaCache.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[490/564] 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>
[491/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)
[492/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)
[493/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)
[494/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)
[495/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)
[496/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)
[497/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)
[498/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)
[507/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 |
[508/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 |
[509/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 |
[510/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 |
[511/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 |
[512/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 |
[513/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 |
[514/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 |
[515/571] Compiling PowerSync SyncSignals.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()
/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()
/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()
/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()
/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()
/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()
/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()
/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()
/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>
/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>
/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>
/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>
/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>
/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>
/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>
[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