The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PowerSync, reference main (e6d57d), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 18:41:20 UTC.

Build Command

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

Build Log

[381/494] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[382/494] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[383/494] Compiling AsyncAlgorithms AsyncChannel.swift
[384/494] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[385/494] Compiling AsyncAlgorithms ChannelStateMachine.swift
[386/494] Compiling AsyncAlgorithms ChannelStorage.swift
[387/494] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[388/494] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[389/494] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[390/494] Compiling AsyncAlgorithms CombineLatestStorage.swift
[391/494] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[392/494] Compiling AsyncAlgorithms DebounceStateMachine.swift
[398/494] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[417/494] Compiling AsyncAlgorithms DebounceStorage.swift
[418/494] Compiling AsyncAlgorithms Dictionary.swift
[419/494] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[420/494] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[423/564] Compiling GRDB MutablePersistableRecord+Update.swift
[424/564] Compiling GRDB MutablePersistableRecord+Upsert.swift
[425/564] Compiling GRDB MutablePersistableRecord.swift
[426/564] Compiling GRDB PersistableRecord+Insert.swift
[427/564] Compiling GRDB PersistableRecord+Save.swift
[428/564] Compiling GRDB PersistableRecord+Upsert.swift
[429/564] Compiling GRDB PersistableRecord.swift
[430/564] Compiling GRDB Record.swift
[431/564] Compiling GRDB TableRecord.swift
[432/564] Compiling GRDB CaseInsensitiveIdentifier.swift
[433/564] Compiling GRDB Inflections+English.swift
[434/564] Compiling GRDB Inflections.swift
[435/564] Compiling GRDB Mutex.swift
[436/564] Compiling GRDB OnDemandFuture.swift
[437/564] Compiling GRDB OrderedDictionary.swift
[438/564] Compiling GRDB Pool.swift
[442/564] Compiling GRDB TableAlteration.swift
[443/564] Compiling GRDB TableDefinition.swift
[444/564] Compiling GRDB VirtualTableModule.swift
[445/564] Compiling GRDB TableRecord+Association.swift
[446/564] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[447/564] Compiling GRDB EncodableRecord+Encodable.swift
[448/564] Compiling GRDB EncodableRecord.swift
[449/564] Compiling GRDB FetchableRecord+Decodable.swift
[450/564] Compiling GRDB FetchableRecord+TableRecord.swift
[451/564] Compiling GRDB FetchableRecord.swift
[452/564] Compiling GRDB MutablePersistableRecord+DAO.swift
[453/564] Compiling GRDB MutablePersistableRecord+Delete.swift
[454/564] Compiling GRDB MutablePersistableRecord+Insert.swift
[455/564] Compiling GRDB MutablePersistableRecord+Save.swift
[456/564] Compiling PowerSync SyncCoordinator.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
[490/564] 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)
[491/564] 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)
[492/564] 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)
[493/564] 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)
[494/564] 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)
[495/564] 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)
[496/564] 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)
[497/564] 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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[498/571] Emitting module PowerSync
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[499/571] Compiling PowerSync PowerSyncBackendConnector.swift
[500/571] Compiling PowerSync PowerSyncDatabaseProtocol.swift
[501/571] Compiling PowerSync PowerSyncError.swift
[502/571] Compiling PowerSync QueriesProtocol.swift
[503/571] Compiling PowerSync SQLiteConnectionPool.swift
[504/571] Compiling PowerSync Column.swift
[505/571] Compiling PowerSync Index.swift
[506/571] Compiling PowerSync IndexedColumn.swift
[507/571] Compiling PowerSync DownloadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[508/571] Compiling PowerSync PriorityStatusEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[509/571] Compiling PowerSync SyncStatusData.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[510/571] Compiling PowerSync SyncStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[511/571] Compiling PowerSync AsyncMutex.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[512/571] Compiling PowerSync BroadcastStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[513/571] Compiling PowerSync MergeItemSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 24 |
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
    |                               `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 27 |         self.count = values.count
 28 |         state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 38 |     }
 39 |
 40 |     fileprivate func returnItems(items: consuming RigidArray<T>) {
    |                                                   `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
 86 |     private let semaphore: AsyncSemaphore<T>
 87 |     var acquiredItems: RigidArray<T>
    |                        `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 87 |     var acquiredItems: RigidArray<T>
 88 |
 89 |     fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
    |                                                                     `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
 90 |         self.semaphore = semaphore
 91 |         self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 |     // Available items that are not currently assigned to a waiter.
101 |     var available: RigidDeque<T>
    |                    `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 |     // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 |     // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 |     }
162 |
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
    |                                                `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 |     }
258 |
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
    |                                          `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
 25 |     /// Creates a semaphore by consuming a queue of items.
 26 |     init (_ values: consuming RigidDeque<T>) {
 27 |         self.count = values.count
    |                             `- error: value of type 'RigidDeque<T>' has no member 'count'
 28 |         state = Mutex(SemaphoreState(
 29 |             available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
 33 |     /// Creates a semaphore from a single owned item.
 34 |     convenience init(singleElement: consuming T) {
 35 |         var queue = RigidDeque<T>(capacity: 1)
    |                                             `- error: argument passed to call that takes no arguments
 36 |         queue.append(singleElement)
 37 |         self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
 41 |         let resumed = state.withLock { state in
 42 |             var resumed: [CheckedContinuation<(), Never>] = []
 43 |             while !items.isEmpty {
    |                          `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
 44 |                 if let continuation = state.returnItem(item: items.removeLast()) {
 45 |                     resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
 72 | extension AsyncSemaphore where T: Copyable {
 73 |     convenience init(from: [T]) {
 74 |         var queue = RigidDeque<T>(capacity: from.count)
    |                                                  `- error: argument passed to call that takes no arguments
 75 |         for item in from {
 76 |             let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 |     var size: Int {
108 |         available.capacity
    |                   `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 |         } else {
157 |             // No pending waiter, return lease into pool.
158 |             available.append(item)
    |                       `- error: value of type 'RigidDeque<T>' has no member 'append'
159 |             return nil
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 |     mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
    |                      `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 |             if let continuation = returnItem(item: items.removeLast()) {
167 |                 resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 |         var resumed: [CheckedContinuation<(), Never>] = []
165 |         while !items.isEmpty {
166 |             if let continuation = returnItem(item: items.removeLast()) {
    |                                                          `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 |                 resumed.append(continuation)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 |     /// items it gives back, for the caller to resume outside the lock.
175 |     mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 |         let items: RigidArray<T>? = waiter.consumeItems()
    |                    `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 |         var resumed: [CheckedContinuation<(), Never>] = []
178 |         if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 |         // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
    |                          `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 |             node.pushItem(item: available.removeFirst())
205 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 |         // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 |         while !available.isEmpty && !node.isFull {
204 |             node.pushItem(item: available.removeFirst())
    |                                           `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 |         }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 |     func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 |         if let itemsBuffer {
261 |             var array = RigidArray<T>(capacity: acquiredItems)
    |                                                 `- error: argument passed to call that takes no arguments
262 |             let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 |             array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 |             case .hasWaiter(let node):
334 |                 assert(!node.isActive)
335 |                 let items: RigidArray<T>? = node.consumeItems()
    |                            `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 |                 didComplete = node.isFull
337 |                 return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
 25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidArray' has been explicitly marked unavailable here
 26 |   @usableFromInline
 27 |   internal var _storage: UnsafeMutableBufferPointer<Element>
[514/571] Compiling PowerSync Mutex.swift
[515/571] Compiling PowerSync sleepForSeconds.swift
[516/571] Compiling PowerSync Attachment.swift
[517/571] Compiling PowerSync AttachmentContext.swift
[518/571] Compiling PowerSync AttachmentQueue.swift
[519/571] Compiling PowerSync AttachmentService.swift
[520/571] Compiling PowerSync AttachmentTable.swift
[521/571] Compiling PowerSync SyncSignals.swift
[522/571] Compiling PowerSync Transaction+PowerSyncControl.swift
[523/571] Compiling PowerSync UserAgent.swift
[524/571] Compiling PowerSync Logger.swift
[525/571] Compiling PowerSync PowerSyncCredentials.swift
[526/571] Compiling PowerSync PowerSyncDatabase.swift
[527/571] Compiling PowerSync CheckpointRequest.swift
[528/571] Compiling PowerSync LoggerProtocol.swift
[529/571] Compiling PowerSync CrudTransaction.swift
[530/571] Compiling PowerSync DataConvertible.swift
[531/571] Compiling PowerSync JsonParam.swift
[532/571] Compiling PowerSync SqlCursor.swift
[533/571] Compiling PowerSync Transaction.swift
[534/571] Compiling PowerSync BucketPriority.swift
[535/571] Compiling PowerSync CoreTimestamp.swift
[536/571] Compiling PowerSync RawTable.swift
[537/571] Compiling PowerSync Schema.swift
[538/571] Compiling PowerSync Table.swift
[539/571] Compiling PowerSync TableOptions.swift
[540/571] Compiling PowerSync SyncRequestLogger.swift
[541/571] Compiling PowerSync ConnectionContext.swift
[542/571] Compiling PowerSync CrudBatch.swift
[543/571] Compiling PowerSync CrudEntry.swift
[544/571] Compiling PowerSync LeaseContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[545/571] Compiling PowerSync TransactionImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[546/571] Compiling PowerSync watch.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[547/571] Compiling PowerSync NativeConnectionPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[548/571] Compiling PowerSync NativeStatement.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[549/571] Compiling PowerSync StatementCursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[550/571] Compiling PowerSync registerPowerSyncCoreExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[551/571] Compiling PowerSync throwDatabaseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:20:28: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 18 |     init(
 19 |         writer: consuming RawSqliteConnection,
 20 |         readers: consuming RigidDeque<RawSqliteConnection>,
    |                            `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
 21 |         logger: any LoggerProtocol,
 22 |         updateLog: CrossProcessUpdateLog? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
 23 | @frozen
 24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
 25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
    |               `- note: 'RigidDeque' has been explicitly marked unavailable here
 26 |   public init() {
 27 |     fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:78:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 76 |         let semaphore = readers ?? writer
 77 |         let connection = try await semaphore.acquire(count: 1)
 78 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 79 |         return try await onConnection(lease)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:84:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 82 |     func write<T>(onConnection: (NativeConnectionLease) async throws -> T) async throws -> T {
 83 |         let connection = try await writer.acquire(count: 1)
 84 |         let lease = try connection.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 85 |         let result = try await onConnection(lease)
 86 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:91:49: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 89 |     func withAllConnections<T>(onConnection: (NativeConnectionLease, [NativeConnectionLease]) async throws -> T) async throws -> T {
 90 |         let write = try await writer.acquire(count: 1)
 91 |         let writeLease = try write.acquiredItems[0].asLease()
    |                                                 `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
 92 |
 93 |         let result: T
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:98:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 96 |             var readerLeases: [NativeConnectionLease] = []
 97 |
 98 |             let span = acquiredReaders.acquiredItems.span
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'span'
 99 |             for idx in span.indices {
100 |                 readerLeases.append(try span[idx].asLease())
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:118:28: error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
116 |
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
    |                            `- error: value of type 'RigidArray<RawSqliteConnection>' has no subscripts
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
120 |             for idx in span.indices {
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sqlite3/NativeConnectionPool.swift:119:54: error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
117 |         // Close the write connection first
118 |         write.acquiredItems[0].close()
119 |         if var span = acquiredReaders?.acquiredItems.mutableSpan {
    |                                                      `- error: value of type 'RigidArray<RawSqliteConnection>' has no member 'mutableSpan'
120 |             for idx in span.indices {
121 |                 span[idx].close()
[552/571] Compiling PowerSync 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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
[553/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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
[554/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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
[555/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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
[556/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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
[557/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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
[558/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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
/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:67:20: error: extra argument 'name' in call
 65 |     /// control for that (that's the responsibility of a ``SyncCoordinator``).
 66 |     func run() -> Task<Void, any Error> {
 67 |         Task(name: "StreamingSyncClient.run") {
    |                    `- error: extra argument 'name' in call
 68 |             // Once both loops end, no further sync iteration can resume checkpoint request
 69 |             // 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:88:23: warning: constant 'crudThrottleDelay' inferred to have type '()', which may be unexpected
 86 |         // Use a do-while loop to ensure we start an upload iteration even if we can't connect to the service.
 87 |         repeat {
 88 |             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
 89 |             try await uploadAllCrud()
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:43:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
39 |
40 |     /// Runs ``Self/disconnect`` and `action` in a single actor message lock.
41 |     func disconnectAndThen<T>(action: () async throws -> T) async rethrows -> T {
   |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
42 |         await disconnect()
43 |         return try await action()
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'
44 |     }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:49:30: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
   |                              `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'inner'
50 |         }
51 |         return try await ifConnected(sync)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/sync/SyncCoordinator.swift:51:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
45 |
46 |     /// Executes an inner function, but only if no connection is active or scheduled.
47 |     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
48 |         guard activeSync != nil, let sync = syncClient else {
49 |             return try await inner();
50 |         }
51 |         return try await ifConnected(sync)
   |                          `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'ifConnected'
52 |     }
53 |
[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