Build Information
Failed to build PowerSync, reference 1.16.4 (e6d57d), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 18:41:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
[367/494] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[368/494] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[369/494] Compiling AsyncAlgorithms Rethrow.swift
[370/494] Compiling AsyncAlgorithms SetAlgebra.swift
[381/494] Compiling AsyncAlgorithms UnsafeTransfer.swift
[382/494] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[383/494] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[384/494] Compiling AsyncAlgorithms ZipStateMachine.swift
[385/494] Compiling AsyncAlgorithms ZipStorage.swift
[386/494] Compiling GRDB ReadWriteLock.swift
[387/494] Compiling GRDB ReceiveValuesOn.swift
[388/494] Compiling GRDB Refinable.swift
[389/494] Compiling GRDB Utils.swift
[390/494] Compiling GRDB DatabaseCancellable.swift
[391/494] Compiling GRDB ValueConcurrentObserver.swift
[392/494] Compiling GRDB ValueWriteOnlyObserver.swift
[393/494] Compiling GRDB Fetch.swift
[394/494] Compiling GRDB Map.swift
[395/494] Compiling GRDB RemoveDuplicates.swift
[396/494] Compiling GRDB Trace.swift
[397/494] Compiling GRDB ValueReducer.swift
[398/494] Compiling GRDB SharedValueObservation.swift
[399/494] Compiling GRDB ValueObservation.swift
[400/494] Compiling GRDB ValueObservationScheduler.swift
[401/494] Compiling GRDB resource_bundle_accessor.swift
[402/494] Compiling GRDB FTS3Pattern.swift
[403/494] Compiling GRDB FTS3TokenizerDescriptor.swift
[404/494] Compiling GRDB FTS4.swift
[405/494] Compiling GRDB FTS5.swift
[406/494] Compiling GRDB FTS5CustomTokenizer.swift
[407/494] Compiling GRDB FTS5Pattern.swift
[408/494] Compiling GRDB FTS5Tokenizer.swift
[409/494] Compiling GRDB FTS5TokenizerDescriptor.swift
[410/494] Compiling GRDB FTS5WrapperTokenizer.swift
[411/494] Compiling GRDB Fixits.swift
[412/494] Compiling GRDB JSONColumn.swift
[413/494] Compiling GRDB SQLJSONExpressible.swift
[414/494] Compiling GRDB SQLJSONFunctions.swift
[415/494] Compiling GRDB DatabaseMigrator.swift
[416/494] Compiling GRDB Migration.swift
[417/494] Compiling GRDB FTS3+QueryInterface.swift
[418/494] Compiling GRDB FTS5+QueryInterface.swift
[422/494] Compiling GRDB StandardLibrary.swift
[423/494] Compiling GRDB TransactionClock.swift
[424/494] Compiling GRDB TransactionObserver.swift
[425/494] Compiling GRDB WALSnapshot.swift
[426/494] Compiling GRDB WALSnapshotTransaction.swift
[427/494] Compiling GRDB Database+Dump.swift
[428/494] Compiling GRDB DatabaseReader+dump.swift
[429/494] Compiling GRDB DumpFormat.swift
[430/494] Compiling GRDB DebugDumpFormat.swift
[431/494] Compiling GRDB JSONDumpFormat.swift
[432/494] Compiling GRDB LineDumpFormat.swift
[433/494] Compiling GRDB ListDumpFormat.swift
[434/494] Compiling GRDB QuoteDumpFormat.swift
[435/494] Compiling GRDB FTS3.swift
[453/494] Emitting module GRDB
[454/494] Emitting module AsyncAlgorithms
[455/494] Compiling AsyncAlgorithms _TinyArray.swift
[456/494] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[457/494] Compiling AsyncAlgorithms Locking.swift
[458/494] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[459/494] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[461/494] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[462/494] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[463/494] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[464/494] Compiling AsyncAlgorithms CombineLatestStorage.swift
[465/494] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[466/494] Compiling AsyncAlgorithms DebounceStateMachine.swift
[473/564] Compiling PowerSync AsyncMutex.swift
[474/564] Compiling PowerSync BroadcastStream.swift
[475/564] Compiling PowerSync MergeItemSequence.swift
[476/564] Compiling PowerSync CachingCredentialsConnector.swift
[477/564] Compiling PowerSync CoreSyncStatus.swift
[478/564] Compiling PowerSync HttpClient.swift
[479/564] Compiling PowerSync Instruction.swift
[480/564] Compiling PowerSync PowerSyncControlArguments.swift
[481/564] Compiling PowerSync Status.swift
[482/564] Compiling PowerSync StreamingSyncClient.swift
[483/564] Compiling PowerSync SyncCoordinator.swift
[484/564] Compiling PowerSync CrudTransaction.swift
[485/564] Compiling PowerSync DataConvertible.swift
[486/564] Compiling PowerSync JsonParam.swift
[487/564] Compiling PowerSync SqlCursor.swift
[488/564] Compiling PowerSync Transaction.swift
[489/564] Compiling PowerSync BucketPriority.swift
[490/564] 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()
[491/564] 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()
[492/564] 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()
[493/564] 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()
[494/564] 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()
[495/564] 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()
[496/564] 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()
[497/564] 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()
[498/571] Compiling PowerSync CurrentVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[499/571] Compiling PowerSync ActiveInstanceStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[500/571] Compiling PowerSync AsyncConnectionPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[501/571] Compiling PowerSync CheckpointRequestImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[502/571] Compiling PowerSync CrossProcessChangeSignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[503/571] Compiling PowerSync CrossProcessUpdateLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[504/571] Compiling PowerSync PowerSyncDatabaseImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[505/571] Compiling PowerSync SyncStreams.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Implementation/AsyncConnectionPool.swift:188:65: error: argument passed to call that takes no arguments
186 | }
187 | let numReaders = 4
188 | var readers = RigidDeque<RawSqliteConnection>(capacity: numReaders)
| `- error: argument passed to call that takes no arguments
189 | while !readers.isFull {
190 | let reader = try location.openConnection(writer: false)
[512/571] Compiling PowerSync CoreTimestamp.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[513/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>
[514/571] Compiling PowerSync PowerSyncBackendConnector.swift
[515/571] Compiling PowerSync PowerSyncDatabaseProtocol.swift
[516/571] Compiling PowerSync PowerSyncError.swift
[517/571] Compiling PowerSync QueriesProtocol.swift
[518/571] Compiling PowerSync SQLiteConnectionPool.swift
[519/571] Compiling PowerSync Column.swift
[520/571] Compiling PowerSync Index.swift
[521/571] Compiling PowerSync IndexedColumn.swift
[522/571] Compiling PowerSync RawTable.swift
[523/571] Compiling PowerSync Schema.swift
[524/571] Compiling PowerSync Table.swift
[525/571] Compiling PowerSync TableOptions.swift
[526/571] Compiling PowerSync SyncRequestLogger.swift
[527/571] Compiling PowerSync ConnectionContext.swift
[528/571] Compiling PowerSync CrudBatch.swift
[529/571] Compiling PowerSync CrudEntry.swift
[530/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>
[531/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>
[532/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>
[533/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>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
24 |
25 | /// Creates a semaphore by consuming a queue of items.
26 | init (_ values: consuming RigidDeque<T>) {
| `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
27 | self.count = values.count
28 | state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidDeque' has been explicitly marked unavailable here
26 | public init() {
27 | fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
38 | }
39 |
40 | fileprivate func returnItems(items: consuming RigidArray<T>) {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
41 | let resumed = state.withLock { state in
42 | var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
86 | private let semaphore: AsyncSemaphore<T>
87 | var acquiredItems: RigidArray<T>
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
88 |
89 | fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
87 | var acquiredItems: RigidArray<T>
88 |
89 | fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
90 | self.semaphore = semaphore
91 | self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 | // Available items that are not currently assigned to a waiter.
101 | var available: RigidDeque<T>
| `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 | // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 | // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidDeque' has been explicitly marked unavailable here
26 | public init() {
27 | fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 | }
162 |
163 | mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 | }
258 |
259 | func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 | if let itemsBuffer {
261 | var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
25 | /// Creates a semaphore by consuming a queue of items.
26 | init (_ values: consuming RigidDeque<T>) {
27 | self.count = values.count
| `- error: value of type 'RigidDeque<T>' has no member 'count'
28 | state = Mutex(SemaphoreState(
29 | available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
33 | /// Creates a semaphore from a single owned item.
34 | convenience init(singleElement: consuming T) {
35 | var queue = RigidDeque<T>(capacity: 1)
| `- error: argument passed to call that takes no arguments
36 | queue.append(singleElement)
37 | self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
41 | let resumed = state.withLock { state in
42 | var resumed: [CheckedContinuation<(), Never>] = []
43 | while !items.isEmpty {
| `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
44 | if let continuation = state.returnItem(item: items.removeLast()) {
45 | resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
72 | extension AsyncSemaphore where T: Copyable {
73 | convenience init(from: [T]) {
74 | var queue = RigidDeque<T>(capacity: from.count)
| `- error: argument passed to call that takes no arguments
75 | for item in from {
76 | let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 | var size: Int {
108 | available.capacity
| `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 | } else {
157 | // No pending waiter, return lease into pool.
158 | available.append(item)
| `- error: value of type 'RigidDeque<T>' has no member 'append'
159 | return nil
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 | mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
| `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 | if let continuation = returnItem(item: items.removeLast()) {
167 | resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
166 | if let continuation = returnItem(item: items.removeLast()) {
| `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 | resumed.append(continuation)
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 | /// items it gives back, for the caller to resume outside the lock.
175 | mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 | let items: RigidArray<T>? = waiter.consumeItems()
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 | var resumed: [CheckedContinuation<(), Never>] = []
178 | if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 | // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 | // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 | while !available.isEmpty && !node.isFull {
| `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 | node.pushItem(item: available.removeFirst())
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 | // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 | while !available.isEmpty && !node.isFull {
204 | node.pushItem(item: available.removeFirst())
| `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 | }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 | func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 | if let itemsBuffer {
261 | var array = RigidArray<T>(capacity: acquiredItems)
| `- error: argument passed to call that takes no arguments
262 | let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 | array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 | case .hasWaiter(let node):
334 | assert(!node.isActive)
335 | let items: RigidArray<T>? = node.consumeItems()
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 | didComplete = node.isFull
337 | return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
24 |
25 | /// Creates a semaphore by consuming a queue of items.
26 | init (_ values: consuming RigidDeque<T>) {
| `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
27 | self.count = values.count
28 | state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidDeque' has been explicitly marked unavailable here
26 | public init() {
27 | fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
38 | }
39 |
40 | fileprivate func returnItems(items: consuming RigidArray<T>) {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
41 | let resumed = state.withLock { state in
42 | var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
86 | private let semaphore: AsyncSemaphore<T>
87 | var acquiredItems: RigidArray<T>
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
88 |
89 | fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
87 | var acquiredItems: RigidArray<T>
88 |
89 | fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
90 | self.semaphore = semaphore
91 | self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 | // Available items that are not currently assigned to a waiter.
101 | var available: RigidDeque<T>
| `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 | // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 | // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidDeque' has been explicitly marked unavailable here
26 | public init() {
27 | fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 | }
162 |
163 | mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 | }
258 |
259 | func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 | if let itemsBuffer {
261 | var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
25 | /// Creates a semaphore by consuming a queue of items.
26 | init (_ values: consuming RigidDeque<T>) {
27 | self.count = values.count
| `- error: value of type 'RigidDeque<T>' has no member 'count'
28 | state = Mutex(SemaphoreState(
29 | available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
33 | /// Creates a semaphore from a single owned item.
34 | convenience init(singleElement: consuming T) {
35 | var queue = RigidDeque<T>(capacity: 1)
| `- error: argument passed to call that takes no arguments
36 | queue.append(singleElement)
37 | self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
41 | let resumed = state.withLock { state in
42 | var resumed: [CheckedContinuation<(), Never>] = []
43 | while !items.isEmpty {
| `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
44 | if let continuation = state.returnItem(item: items.removeLast()) {
45 | resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
72 | extension AsyncSemaphore where T: Copyable {
73 | convenience init(from: [T]) {
74 | var queue = RigidDeque<T>(capacity: from.count)
| `- error: argument passed to call that takes no arguments
75 | for item in from {
76 | let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 | var size: Int {
108 | available.capacity
| `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 | } else {
157 | // No pending waiter, return lease into pool.
158 | available.append(item)
| `- error: value of type 'RigidDeque<T>' has no member 'append'
159 | return nil
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 | mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
| `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 | if let continuation = returnItem(item: items.removeLast()) {
167 | resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
166 | if let continuation = returnItem(item: items.removeLast()) {
| `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 | resumed.append(continuation)
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 | /// items it gives back, for the caller to resume outside the lock.
175 | mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 | let items: RigidArray<T>? = waiter.consumeItems()
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 | var resumed: [CheckedContinuation<(), Never>] = []
178 | if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 | // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 | // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 | while !available.isEmpty && !node.isFull {
| `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 | node.pushItem(item: available.removeFirst())
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 | // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 | while !available.isEmpty && !node.isFull {
204 | node.pushItem(item: available.removeFirst())
| `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 | }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 | func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 | if let itemsBuffer {
261 | var array = RigidArray<T>(capacity: acquiredItems)
| `- error: argument passed to call that takes no arguments
262 | let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 | array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 | case .hasWaiter(let node):
334 | assert(!node.isActive)
335 | let items: RigidArray<T>? = node.consumeItems()
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 | didComplete = node.isFull
337 | return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:26:31: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
24 |
25 | /// Creates a semaphore by consuming a queue of items.
26 | init (_ values: consuming RigidDeque<T>) {
| `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
27 | self.count = values.count
28 | state = Mutex(SemaphoreState(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidDeque' has been explicitly marked unavailable here
26 | public init() {
27 | fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:40:51: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
38 | }
39 |
40 | fileprivate func returnItems(items: consuming RigidArray<T>) {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
41 | let resumed = state.withLock { state in
42 | var resumed: [CheckedContinuation<(), Never>] = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:87:24: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
85 | struct SemaphoreGrant<T: ~Copyable>: ~Copyable {
86 | private let semaphore: AsyncSemaphore<T>
87 | var acquiredItems: RigidArray<T>
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
88 |
89 | fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:89:69: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
87 | var acquiredItems: RigidArray<T>
88 |
89 | fileprivate init(semaphore: AsyncSemaphore<T>, items: consuming RigidArray<T>) {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
90 | self.semaphore = semaphore
91 | self.acquiredItems = items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:101:20: error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
99 | private struct SemaphoreState<T: ~Copyable>: ~Copyable {
100 | // Available items that are not currently assigned to a waiter.
101 | var available: RigidDeque<T>
| `- error: 'RigidDeque' is unavailable: RigidDeque requires a Swift 6.2 toolchain
102 | // Wait nodes are guaranteed to outlive these references because we call deactiveWaiter before
103 | // it gets freed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift:25:15: note: 'RigidDeque' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidDeque requires a Swift 6.2 toolchain")
25 | public struct RigidDeque<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidDeque' has been explicitly marked unavailable here
26 | public init() {
27 | fatalError()
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:163:48: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
161 | }
162 |
163 | mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:259:42: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
257 | }
258 |
259 | func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
260 | if let itemsBuffer {
261 | var array = RigidArray<T>(capacity: acquiredItems)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:27:29: error: value of type 'RigidDeque<T>' has no member 'count'
25 | /// Creates a semaphore by consuming a queue of items.
26 | init (_ values: consuming RigidDeque<T>) {
27 | self.count = values.count
| `- error: value of type 'RigidDeque<T>' has no member 'count'
28 | state = Mutex(SemaphoreState(
29 | available: values
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:35:45: error: argument passed to call that takes no arguments
33 | /// Creates a semaphore from a single owned item.
34 | convenience init(singleElement: consuming T) {
35 | var queue = RigidDeque<T>(capacity: 1)
| `- error: argument passed to call that takes no arguments
36 | queue.append(singleElement)
37 | self.init(queue)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:43:26: error: value of type 'RigidArray<T>' has no member 'isEmpty'
41 | let resumed = state.withLock { state in
42 | var resumed: [CheckedContinuation<(), Never>] = []
43 | while !items.isEmpty {
| `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
44 | if let continuation = state.returnItem(item: items.removeLast()) {
45 | resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:74:50: error: argument passed to call that takes no arguments
72 | extension AsyncSemaphore where T: Copyable {
73 | convenience init(from: [T]) {
74 | var queue = RigidDeque<T>(capacity: from.count)
| `- error: argument passed to call that takes no arguments
75 | for item in from {
76 | let _ = queue.pushLast(item)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:108:19: error: value of type 'RigidDeque<T>' has no member 'capacity'
106 |
107 | var size: Int {
108 | available.capacity
| `- error: value of type 'RigidDeque<T>' has no member 'capacity'
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:158:23: error: value of type 'RigidDeque<T>' has no member 'append'
156 | } else {
157 | // No pending waiter, return lease into pool.
158 | available.append(item)
| `- error: value of type 'RigidDeque<T>' has no member 'append'
159 | return nil
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:165:22: error: value of type 'RigidArray<T>' has no member 'isEmpty'
163 | mutating func returnItems(items: consuming RigidArray<T>) -> [CheckedContinuation<(), Never>] {
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
| `- error: value of type 'RigidArray<T>' has no member 'isEmpty'
166 | if let continuation = returnItem(item: items.removeLast()) {
167 | resumed.append(continuation)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:166:58: error: value of type 'RigidArray<T>' has no member 'removeLast'
164 | var resumed: [CheckedContinuation<(), Never>] = []
165 | while !items.isEmpty {
166 | if let continuation = returnItem(item: items.removeLast()) {
| `- error: value of type 'RigidArray<T>' has no member 'removeLast'
167 | resumed.append(continuation)
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:176:20: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
174 | /// items it gives back, for the caller to resume outside the lock.
175 | mutating func abortWaiter(waiter: SemaphoreWaitNode) -> [CheckedContinuation<(), Never>] {
176 | let items: RigidArray<T>? = waiter.consumeItems()
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
177 | var resumed: [CheckedContinuation<(), Never>] = []
178 | if let continuation = deactivateWaiter(waiter: waiter) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:203:26: error: value of type 'RigidDeque<T>' has no member 'isEmpty'
201 | // If there are items in the pool that haven't been assigned, we can pull them into this waiter. Note that this is
202 | // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 | while !available.isEmpty && !node.isFull {
| `- error: value of type 'RigidDeque<T>' has no member 'isEmpty'
204 | node.pushItem(item: available.removeFirst())
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:204:43: error: value of type 'RigidDeque<T>' has no member 'removeFirst'
202 | // only the case if we're the first waiter (otherwise, items would have been assigned to an earlier waiter).
203 | while !available.isEmpty && !node.isFull {
204 | node.pushItem(item: available.removeFirst())
| `- error: value of type 'RigidDeque<T>' has no member 'removeFirst'
205 | }
206 |
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:261:49: error: argument passed to call that takes no arguments
259 | func consumeItems<T: ~Copyable>() -> RigidArray<T>? {
260 | if let itemsBuffer {
261 | var array = RigidArray<T>(capacity: acquiredItems)
| `- error: argument passed to call that takes no arguments
262 | let ptr = UnsafeBufferPointer(start: itemsBuffer.assumingMemoryBound(to: T.self), count: acquiredItems)
263 | array.insert(moving: UnsafeMutableBufferPointer(mutating: ptr), at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/Utils/AsyncMutex.swift:335:28: error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
333 | case .hasWaiter(let node):
334 | assert(!node.isActive)
335 | let items: RigidArray<T>? = node.consumeItems()
| `- error: 'RigidArray' is unavailable: RigidArray requires a Swift 6.2 toolchain
336 | didComplete = node.isFull
337 | return items
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-collections/Sources/BasicContainers/RigidArray/RigidArray.swift:25:15: note: 'RigidArray' has been explicitly marked unavailable here
23 | @frozen
24 | @available(*, unavailable, message: "RigidArray requires a Swift 6.2 toolchain")
25 | public struct RigidArray<Element: ~Copyable>: ~Copyable {
| `- note: 'RigidArray' has been explicitly marked unavailable here
26 | @usableFromInline
27 | internal var _storage: UnsafeMutableBufferPointer<Element>
/Users/admin/builder/spi-builder-workspace/Sources/PowerSync/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 |
/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 |
/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 |
/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 |
[545/571] Compiling PowerSync SyncSignals.swift
[546/571] Compiling PowerSync Transaction+PowerSyncControl.swift
[547/571] Compiling PowerSync UserAgent.swift
[548/571] Compiling PowerSync Logger.swift
[549/571] Compiling PowerSync PowerSyncCredentials.swift
[550/571] Compiling PowerSync PowerSyncDatabase.swift
[551/571] Compiling PowerSync CheckpointRequest.swift
[552/571] Compiling PowerSync LoggerProtocol.swift
[553/571] Compiling PowerSync Mutex.swift
[554/571] Compiling PowerSync sleepForSeconds.swift
[555/571] Compiling PowerSync Attachment.swift
[556/571] Compiling PowerSync AttachmentContext.swift
[557/571] Compiling PowerSync AttachmentQueue.swift
[558/571] Compiling PowerSync AttachmentService.swift
[559/571] Compiling PowerSync AttachmentTable.swift
[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