The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CodableDatastore, reference main (123bea), with Swift 6.2 (beta) for Android on 23 Jun 2025 04:01:13 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:239:33: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
237 |
238 |             /// Load the store info so we have a fresh copy, unless we have a cached copy already.
239 |             let storeInfo = try cachedStoreInfo ?? self.loadStoreInfo()
    |                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
240 |
241 |             /// Let the accessor do something with the store info, storing the variable on the Task Local stack.
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:225:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
223 |     /// - Parameter accessor: An accessor that takes an immutable reference to a store info, and will forward the returned value to the caller.
224 |     /// - Returns: A ``/Swift/Task`` which contains the value of the updater upon completion.
225 |     func updateStoreInfo<T: Sendable>(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
226 |         @_inheritActorContext accessor: @Sendable @escaping (_ storeInfo: StoreInfo) async throws -> T
227 |     ) -> Task<T, Error> {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:409:39: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
    |                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
410 |         }
411 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:408:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
406 |     var currentSnapshot: Snapshot<AccessMode> {
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
410 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:533:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
535 |                 }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:534:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
535 |                 }
536 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:532:55: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
530 |             return (datastore as! DiskPersistence<AccessMode>.Datastore, rootID)
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
    |                                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:555:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
553 |                 actionName: actionName, options: options
554 |             ) { interface, isDurable in
555 |                 try await escapingTransaction(interface, isDurable)
    |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
556 |             }
557 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:574:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
572 |     ) async throws {
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
575 |                 for (key, root) in roots {
576 |                     guard iteration.dataStores[key]?.root == root.id
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:575:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
575 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
576 |                     guard iteration.dataStores[key]?.root == root.id
577 |                     else { return true }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:596:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
594 |                 iteration.addedDatastoreRoots = addedDatastoreRoots
595 |                 iteration.removedDatastoreRoots = removedDatastoreRoots
596 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
597 |                     iteration.dataStores[key] = SnapshotIteration.DatastoreInfo(
598 |                         key: key,
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:47:57: warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
45 |
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
   |                                                         `- warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
Foundation.ISO8601DateFormatter:2:11: note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension ISO8601DateFormatter : @unchecked Sendable {
  |           `- note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:48:56: warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
50 | #endif
FoundationEssentials.JSONDecoder.DateDecodingStrategy:2:25: note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONDecoder {
 2 | public enum JSONDecoder.DateDecodingStrategy : Sendable {
   |                         `- note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:49:56: warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
50 | #endif
51 |
FoundationEssentials.JSONEncoder.DateEncodingStrategy:2:25: note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONEncoder {
 2 | public enum JSONEncoder.DateEncodingStrategy : Sendable {
   |                         `- note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:33:35: warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
31 |
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
34 | extension JSONDecoder: @unchecked Sendable {}
35 | #endif
FoundationEssentials.JSONEncoder:2:11: note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONEncoder : @unchecked Sendable {
  |           `- note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:34:35: warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
34 | extension JSONDecoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
35 | #endif
36 |
FoundationEssentials.JSONDecoder:2:11: note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONDecoder : @unchecked Sendable {
  |           `- note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
3 | }
[56/77] Compiling CodableDatastore DiskPersistenceError.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:138:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
136 |         let rootObject = RootObject(datastore: self, id: identifier)
137 |         trackedRootObjects[identifier] = WeakValue(rootObject)
138 |         Task { await snapshot.persistence.cache(rootObject) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
139 |         return rootObject
140 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:131:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
129 |
130 | extension DiskPersistence.Datastore {
131 |     func rootObject(for identifier: RootObject.ID) -> RootObject {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
132 |         if let rootObject = trackedRootObjects[identifier]?.value {
133 |             return rootObject
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:144:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
142 |     func adopt(rootObject: RootObject) {
143 |         trackedRootObjects[rootObject.id] = WeakValue(rootObject)
144 |         Task { await snapshot.persistence.cache(rootObject) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
145 |     }
146 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:142:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
140 |     }
141 |
142 |     func adopt(rootObject: RootObject) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
143 |         trackedRootObjects[rootObject.id] = WeakValue(rootObject)
144 |         Task { await snapshot.persistence.cache(rootObject) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:166:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
164 |         let index = Index(datastore: self, id: identifier)
165 |         trackedIndexes[identifier] = WeakValue(index)
166 |         Task { await snapshot.persistence.cache(index) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
167 |         return index
168 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:159:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
157 |     }
158 |
159 |     func index(for identifier: Index.ID) -> Index {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
160 |         if let index = trackedIndexes[identifier]?.value {
161 |             return index
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:172:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
170 |     func adopt(index: Index) {
171 |         trackedIndexes[index.id] = WeakValue(index)
172 |         Task { await snapshot.persistence.cache(index) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
173 |     }
174 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:170:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
168 |     }
169 |
170 |     func adopt(index: Index) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
171 |         trackedIndexes[index.id] = WeakValue(index)
172 |         Task { await snapshot.persistence.cache(index) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:194:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
192 |         let page = Page(datastore: self, id: identifier)
193 |         trackedPages[identifier.withoutManifest] = WeakValue(page)
194 |         Task { await snapshot.persistence.cache(page) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
195 |         return page
196 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:187:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
185 |     }
186 |
187 |     func page(for identifier: Page.ID) -> Page {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
188 |         if let page = trackedPages[identifier.withoutManifest]?.value {
189 |             return page
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:200:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
198 |     func adopt(page: Page) {
199 |         trackedPages[page.id.withoutManifest] = WeakValue(page)
200 |         Task { await snapshot.persistence.cache(page) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
201 |     }
202 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:198:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
196 |     }
197 |
198 |     func adopt(page: Page) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
199 |         trackedPages[page.id.withoutManifest] = WeakValue(page)
200 |         Task { await snapshot.persistence.cache(page) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:255:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
253 |
254 | extension DiskPersistence.Datastore {
255 |     func register(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
256 |         observer: DiskPersistence.EventObserver
257 |     ) {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:263:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
261 |         observer.onTermination = { _ in
262 |             Task {
263 |                 await self.unregisterObserver(for: id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
264 |             }
265 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:255:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
253 |
254 | extension DiskPersistence.Datastore {
255 |     func register(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
256 |         observer: DiskPersistence.EventObserver
257 |     ) {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DatedIdentifier.swift:124:37: warning: conformance of 'DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
122 |
123 | #if !canImport(Darwin)
124 | extension DateFormatter: @unchecked Sendable {}
    |                                     `- warning: conformance of 'DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
125 | #endif
126 |
Foundation.DateFormatter:1:12: note: 'DateFormatter' declares conformance to protocol 'Sendable' here
 1 | open class DateFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateFormatter' declares conformance to protocol 'Sendable' here
 2 |     override public init()
 3 |     override open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:239:33: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
237 |
238 |             /// Load the store info so we have a fresh copy, unless we have a cached copy already.
239 |             let storeInfo = try cachedStoreInfo ?? self.loadStoreInfo()
    |                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
240 |
241 |             /// Let the accessor do something with the store info, storing the variable on the Task Local stack.
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:225:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
223 |     /// - Parameter accessor: An accessor that takes an immutable reference to a store info, and will forward the returned value to the caller.
224 |     /// - Returns: A ``/Swift/Task`` which contains the value of the updater upon completion.
225 |     func updateStoreInfo<T: Sendable>(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
226 |         @_inheritActorContext accessor: @Sendable @escaping (_ storeInfo: StoreInfo) async throws -> T
227 |     ) -> Task<T, Error> {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:409:39: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
    |                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
410 |         }
411 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:408:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
406 |     var currentSnapshot: Snapshot<AccessMode> {
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
410 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:533:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
535 |                 }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:534:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
535 |                 }
536 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:532:55: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
530 |             return (datastore as! DiskPersistence<AccessMode>.Datastore, rootID)
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
    |                                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:555:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
553 |                 actionName: actionName, options: options
554 |             ) { interface, isDurable in
555 |                 try await escapingTransaction(interface, isDurable)
    |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
556 |             }
557 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:574:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
572 |     ) async throws {
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
575 |                 for (key, root) in roots {
576 |                     guard iteration.dataStores[key]?.root == root.id
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:575:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
575 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
576 |                     guard iteration.dataStores[key]?.root == root.id
577 |                     else { return true }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:596:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
594 |                 iteration.addedDatastoreRoots = addedDatastoreRoots
595 |                 iteration.removedDatastoreRoots = removedDatastoreRoots
596 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
597 |                     iteration.dataStores[key] = SnapshotIteration.DatastoreInfo(
598 |                         key: key,
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:47:57: warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
45 |
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
   |                                                         `- warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
Foundation.ISO8601DateFormatter:2:11: note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension ISO8601DateFormatter : @unchecked Sendable {
  |           `- note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:48:56: warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
50 | #endif
FoundationEssentials.JSONDecoder.DateDecodingStrategy:2:25: note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONDecoder {
 2 | public enum JSONDecoder.DateDecodingStrategy : Sendable {
   |                         `- note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:49:56: warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
50 | #endif
51 |
FoundationEssentials.JSONEncoder.DateEncodingStrategy:2:25: note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONEncoder {
 2 | public enum JSONEncoder.DateEncodingStrategy : Sendable {
   |                         `- note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:33:35: warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
31 |
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
34 | extension JSONDecoder: @unchecked Sendable {}
35 | #endif
FoundationEssentials.JSONEncoder:2:11: note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONEncoder : @unchecked Sendable {
  |           `- note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:34:35: warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
34 | extension JSONDecoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
35 | #endif
36 |
FoundationEssentials.JSONDecoder:2:11: note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONDecoder : @unchecked Sendable {
  |           `- note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
3 | }
[57/77] Compiling CodableDatastore ISO8601DateFormatter+Milliseconds.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:138:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
136 |         let rootObject = RootObject(datastore: self, id: identifier)
137 |         trackedRootObjects[identifier] = WeakValue(rootObject)
138 |         Task { await snapshot.persistence.cache(rootObject) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
139 |         return rootObject
140 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:131:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
129 |
130 | extension DiskPersistence.Datastore {
131 |     func rootObject(for identifier: RootObject.ID) -> RootObject {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
132 |         if let rootObject = trackedRootObjects[identifier]?.value {
133 |             return rootObject
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:144:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
142 |     func adopt(rootObject: RootObject) {
143 |         trackedRootObjects[rootObject.id] = WeakValue(rootObject)
144 |         Task { await snapshot.persistence.cache(rootObject) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
145 |     }
146 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:142:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
140 |     }
141 |
142 |     func adopt(rootObject: RootObject) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
143 |         trackedRootObjects[rootObject.id] = WeakValue(rootObject)
144 |         Task { await snapshot.persistence.cache(rootObject) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:166:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
164 |         let index = Index(datastore: self, id: identifier)
165 |         trackedIndexes[identifier] = WeakValue(index)
166 |         Task { await snapshot.persistence.cache(index) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
167 |         return index
168 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:159:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
157 |     }
158 |
159 |     func index(for identifier: Index.ID) -> Index {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
160 |         if let index = trackedIndexes[identifier]?.value {
161 |             return index
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:172:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
170 |     func adopt(index: Index) {
171 |         trackedIndexes[index.id] = WeakValue(index)
172 |         Task { await snapshot.persistence.cache(index) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
173 |     }
174 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:170:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
168 |     }
169 |
170 |     func adopt(index: Index) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
171 |         trackedIndexes[index.id] = WeakValue(index)
172 |         Task { await snapshot.persistence.cache(index) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:194:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
192 |         let page = Page(datastore: self, id: identifier)
193 |         trackedPages[identifier.withoutManifest] = WeakValue(page)
194 |         Task { await snapshot.persistence.cache(page) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
195 |         return page
196 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:187:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
185 |     }
186 |
187 |     func page(for identifier: Page.ID) -> Page {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
188 |         if let page = trackedPages[identifier.withoutManifest]?.value {
189 |             return page
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:200:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
198 |     func adopt(page: Page) {
199 |         trackedPages[page.id.withoutManifest] = WeakValue(page)
200 |         Task { await snapshot.persistence.cache(page) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
201 |     }
202 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:198:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
196 |     }
197 |
198 |     func adopt(page: Page) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
199 |         trackedPages[page.id.withoutManifest] = WeakValue(page)
200 |         Task { await snapshot.persistence.cache(page) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:255:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
253 |
254 | extension DiskPersistence.Datastore {
255 |     func register(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
256 |         observer: DiskPersistence.EventObserver
257 |     ) {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:263:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
261 |         observer.onTermination = { _ in
262 |             Task {
263 |                 await self.unregisterObserver(for: id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
264 |             }
265 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:255:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
253 |
254 | extension DiskPersistence.Datastore {
255 |     func register(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
256 |         observer: DiskPersistence.EventObserver
257 |     ) {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DatedIdentifier.swift:124:37: warning: conformance of 'DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
122 |
123 | #if !canImport(Darwin)
124 | extension DateFormatter: @unchecked Sendable {}
    |                                     `- warning: conformance of 'DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
125 | #endif
126 |
Foundation.DateFormatter:1:12: note: 'DateFormatter' declares conformance to protocol 'Sendable' here
 1 | open class DateFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateFormatter' declares conformance to protocol 'Sendable' here
 2 |     override public init()
 3 |     override open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:239:33: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
237 |
238 |             /// Load the store info so we have a fresh copy, unless we have a cached copy already.
239 |             let storeInfo = try cachedStoreInfo ?? self.loadStoreInfo()
    |                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
240 |
241 |             /// Let the accessor do something with the store info, storing the variable on the Task Local stack.
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:225:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
223 |     /// - Parameter accessor: An accessor that takes an immutable reference to a store info, and will forward the returned value to the caller.
224 |     /// - Returns: A ``/Swift/Task`` which contains the value of the updater upon completion.
225 |     func updateStoreInfo<T: Sendable>(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
226 |         @_inheritActorContext accessor: @Sendable @escaping (_ storeInfo: StoreInfo) async throws -> T
227 |     ) -> Task<T, Error> {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:409:39: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
    |                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
410 |         }
411 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:408:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
406 |     var currentSnapshot: Snapshot<AccessMode> {
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
410 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:533:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
535 |                 }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:534:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
535 |                 }
536 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:532:55: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
530 |             return (datastore as! DiskPersistence<AccessMode>.Datastore, rootID)
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
    |                                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:555:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
553 |                 actionName: actionName, options: options
554 |             ) { interface, isDurable in
555 |                 try await escapingTransaction(interface, isDurable)
    |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
556 |             }
557 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:574:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
572 |     ) async throws {
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
575 |                 for (key, root) in roots {
576 |                     guard iteration.dataStores[key]?.root == root.id
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:575:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
575 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
576 |                     guard iteration.dataStores[key]?.root == root.id
577 |                     else { return true }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:596:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
594 |                 iteration.addedDatastoreRoots = addedDatastoreRoots
595 |                 iteration.removedDatastoreRoots = removedDatastoreRoots
596 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
597 |                     iteration.dataStores[key] = SnapshotIteration.DatastoreInfo(
598 |                         key: key,
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:47:57: warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
45 |
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
   |                                                         `- warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
Foundation.ISO8601DateFormatter:2:11: note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension ISO8601DateFormatter : @unchecked Sendable {
  |           `- note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:48:56: warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
50 | #endif
FoundationEssentials.JSONDecoder.DateDecodingStrategy:2:25: note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONDecoder {
 2 | public enum JSONDecoder.DateDecodingStrategy : Sendable {
   |                         `- note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:49:56: warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
50 | #endif
51 |
FoundationEssentials.JSONEncoder.DateEncodingStrategy:2:25: note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONEncoder {
 2 | public enum JSONEncoder.DateEncodingStrategy : Sendable {
   |                         `- note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:33:35: warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
31 |
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
34 | extension JSONDecoder: @unchecked Sendable {}
35 | #endif
FoundationEssentials.JSONEncoder:2:11: note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONEncoder : @unchecked Sendable {
  |           `- note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:34:35: warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
34 | extension JSONDecoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
35 | #endif
36 |
FoundationEssentials.JSONDecoder:2:11: note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONDecoder : @unchecked Sendable {
  |           `- note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
3 | }
[58/77] Compiling CodableDatastore JSONCoder.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:138:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
136 |         let rootObject = RootObject(datastore: self, id: identifier)
137 |         trackedRootObjects[identifier] = WeakValue(rootObject)
138 |         Task { await snapshot.persistence.cache(rootObject) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
139 |         return rootObject
140 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:131:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
129 |
130 | extension DiskPersistence.Datastore {
131 |     func rootObject(for identifier: RootObject.ID) -> RootObject {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
132 |         if let rootObject = trackedRootObjects[identifier]?.value {
133 |             return rootObject
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:144:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
142 |     func adopt(rootObject: RootObject) {
143 |         trackedRootObjects[rootObject.id] = WeakValue(rootObject)
144 |         Task { await snapshot.persistence.cache(rootObject) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
145 |     }
146 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:142:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
140 |     }
141 |
142 |     func adopt(rootObject: RootObject) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
143 |         trackedRootObjects[rootObject.id] = WeakValue(rootObject)
144 |         Task { await snapshot.persistence.cache(rootObject) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:166:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
164 |         let index = Index(datastore: self, id: identifier)
165 |         trackedIndexes[identifier] = WeakValue(index)
166 |         Task { await snapshot.persistence.cache(index) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
167 |         return index
168 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:159:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
157 |     }
158 |
159 |     func index(for identifier: Index.ID) -> Index {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
160 |         if let index = trackedIndexes[identifier]?.value {
161 |             return index
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:172:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
170 |     func adopt(index: Index) {
171 |         trackedIndexes[index.id] = WeakValue(index)
172 |         Task { await snapshot.persistence.cache(index) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
173 |     }
174 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:170:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
168 |     }
169 |
170 |     func adopt(index: Index) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
171 |         trackedIndexes[index.id] = WeakValue(index)
172 |         Task { await snapshot.persistence.cache(index) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:194:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
192 |         let page = Page(datastore: self, id: identifier)
193 |         trackedPages[identifier.withoutManifest] = WeakValue(page)
194 |         Task { await snapshot.persistence.cache(page) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
195 |         return page
196 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:187:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
185 |     }
186 |
187 |     func page(for identifier: Page.ID) -> Page {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
188 |         if let page = trackedPages[identifier.withoutManifest]?.value {
189 |             return page
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:200:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
198 |     func adopt(page: Page) {
199 |         trackedPages[page.id.withoutManifest] = WeakValue(page)
200 |         Task { await snapshot.persistence.cache(page) }
    |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
201 |     }
202 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:198:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
196 |     }
197 |
198 |     func adopt(page: Page) {
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
199 |         trackedPages[page.id.withoutManifest] = WeakValue(page)
200 |         Task { await snapshot.persistence.cache(page) }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:255:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
253 |
254 | extension DiskPersistence.Datastore {
255 |     func register(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
256 |         observer: DiskPersistence.EventObserver
257 |     ) {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:263:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
261 |         observer.onTermination = { _ in
262 |             Task {
263 |                 await self.unregisterObserver(for: id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
264 |             }
265 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift:255:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
253 |
254 | extension DiskPersistence.Datastore {
255 |     func register(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
256 |         observer: DiskPersistence.EventObserver
257 |     ) {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DatedIdentifier.swift:124:37: warning: conformance of 'DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
122 |
123 | #if !canImport(Darwin)
124 | extension DateFormatter: @unchecked Sendable {}
    |                                     `- warning: conformance of 'DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
125 | #endif
126 |
Foundation.DateFormatter:1:12: note: 'DateFormatter' declares conformance to protocol 'Sendable' here
 1 | open class DateFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateFormatter' declares conformance to protocol 'Sendable' here
 2 |     override public init()
 3 |     override open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:239:33: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
237 |
238 |             /// Load the store info so we have a fresh copy, unless we have a cached copy already.
239 |             let storeInfo = try cachedStoreInfo ?? self.loadStoreInfo()
    |                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
240 |
241 |             /// Let the accessor do something with the store info, storing the variable on the Task Local stack.
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:225:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
223 |     /// - Parameter accessor: An accessor that takes an immutable reference to a store info, and will forward the returned value to the caller.
224 |     /// - Returns: A ``/Swift/Task`` which contains the value of the updater upon completion.
225 |     func updateStoreInfo<T: Sendable>(
    |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
226 |         @_inheritActorContext accessor: @Sendable @escaping (_ storeInfo: StoreInfo) async throws -> T
227 |     ) -> Task<T, Error> {
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:409:39: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
    |                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
410 |         }
411 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:408:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
406 |     var currentSnapshot: Snapshot<AccessMode> {
407 |         // TODO: This should return a readonly snapshot, but we need to be able to make a read-only copy from the persistence first.
408 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
409 |             try await withStoreInfo { await loadSnapshot(from: $0) }
410 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:533:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
535 |                 }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:534:21: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
532 |             return try await readingCurrentSnapshot { snapshot in
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
    |                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
535 |                 }
536 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:532:55: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
530 |             return (datastore as! DiskPersistence<AccessMode>.Datastore, rootID)
531 |         } else {
532 |             return try await readingCurrentSnapshot { snapshot in
    |                                                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
533 |                 try await snapshot.readingManifest { snapshotManifest, currentIteration in
534 |                     await snapshot.loadDatastore(for: datastoreKey, from: currentIteration)
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:555:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
553 |                 actionName: actionName, options: options
554 |             ) { interface, isDurable in
555 |                 try await escapingTransaction(interface, isDurable)
    |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
556 |             }
557 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:574:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
572 |     ) async throws {
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
575 |                 for (key, root) in roots {
576 |                     guard iteration.dataStores[key]?.root == root.id
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:575:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
573 |         let containsEdits = try await readingCurrentSnapshot { snapshot in
574 |             try await snapshot.readingManifest { manifest, iteration in
575 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
576 |                     guard iteration.dataStores[key]?.root == root.id
577 |                     else { return true }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:596:36: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
594 |                 iteration.addedDatastoreRoots = addedDatastoreRoots
595 |                 iteration.removedDatastoreRoots = removedDatastoreRoots
596 |                 for (key, root) in roots {
    |                                    `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
597 |                     iteration.dataStores[key] = SnapshotIteration.DatastoreInfo(
598 |                         key: key,
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:569:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
567 |     func persist(
568 |         actionName: String?,
569 |         roots: [DatastoreKey : Datastore.RootObject],
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
570 |         addedDatastoreRoots: Set<DatastoreRootReference>,
571 |         removedDatastoreRoots: Set<DatastoreRootReference>
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:47:57: warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
45 |
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
   |                                                         `- warning: conformance of 'ISO8601DateFormatter' to protocol 'Sendable' was already stated in the type's module 'Foundation'
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
Foundation.ISO8601DateFormatter:2:11: note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension ISO8601DateFormatter : @unchecked Sendable {
  |           `- note: 'ISO8601DateFormatter' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:48:56: warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
46 | #if compiler(>=6)
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONDecoder.DateDecodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
50 | #endif
FoundationEssentials.JSONDecoder.DateDecodingStrategy:2:25: note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONDecoder {
 2 | public enum JSONDecoder.DateDecodingStrategy : Sendable {
   |                         `- note: 'JSONDecoder.DateDecodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift:49:56: warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
47 | extension ISO8601DateFormatter: @unchecked @retroactive Sendable {}
48 | extension JSONDecoder.DateDecodingStrategy: @unchecked Sendable {}
49 | extension JSONEncoder.DateEncodingStrategy: @unchecked Sendable {}
   |                                                        `- warning: conformance of 'JSONEncoder.DateEncodingStrategy' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
50 | #endif
51 |
FoundationEssentials.JSONEncoder.DateEncodingStrategy:2:25: note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 1 | class JSONEncoder {
 2 | public enum JSONEncoder.DateEncodingStrategy : Sendable {
   |                         `- note: 'JSONEncoder.DateEncodingStrategy' declares conformance to protocol 'Sendable' here
 3 |     case deferredToDate
 4 |     case secondsSince1970
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:33:35: warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
31 |
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONEncoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
34 | extension JSONDecoder: @unchecked Sendable {}
35 | #endif
FoundationEssentials.JSONEncoder:2:11: note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONEncoder : @unchecked Sendable {
  |           `- note: 'JSONEncoder' declares conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/JSONCoder.swift:34:35: warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
32 | #if !canImport(Darwin)
33 | extension JSONEncoder: @unchecked Sendable {}
34 | extension JSONDecoder: @unchecked Sendable {}
   |                                   `- warning: conformance of 'JSONDecoder' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
35 | #endif
36 |
FoundationEssentials.JSONDecoder:2:11: note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
1 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
2 | extension JSONDecoder : @unchecked Sendable {
  |           `- note: 'JSONDecoder' declares conformance to protocol 'Sendable' here
3 | }
[59/77] Compiling CodableDatastore Configuration.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:167:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 165 |             }
 166 |             let warmupTask = Task {
 167 |                 try await persistence._withTransaction(
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 168 |                     actionName: "Migrate Entries",
 169 |                     options: []
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:152:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 150 |
 151 |     @discardableResult
 152 |     func warmupIfNeeded(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 153 |         @_inheritActorContext progressHandler: ProgressHandler? = nil
 154 |     ) async throws -> Progress {
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:514:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 512 |         AsyncThrowingBackpressureStream { provider in
 513 |             if awaitWarmup {
 514 |                 try await self.warmupIfNeeded()
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 515 |             }
 516 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:522:114: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 520 |             ) { transaction, _ in
 521 |                 do {
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
     |                                                                                                                  `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:524:49: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
     |                                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 525 |                         let decodedValue = try await decoder(instanceData)
 526 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:602:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 600 |             else { throw DatastoreError.missingIndex }
 601 |
 602 |             try await self.warmupIfNeeded()
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 603 |
 604 |             try await self.persistence._withTransaction(
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:614:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 612 |                             range: range.applying(order),
 613 |                             indexName: declaredIndex.indexName,
 614 |                             datastoreKey: self.key
     |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:617:53: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
 617 |                             let decoder = try await self.decoder(for: entryVersion)
     |                                                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 618 |                             let instance = try await decoder(instanceData).instance
 619 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:628:122: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 626 |                             datastoreKey: self.key
 627 |                         ) { (identifier: IdentifierType) in
 628 |                             let persistedEntry = try await transaction.primaryIndexCursor(for: identifier, datastoreKey: self.key)
     |                                                                                                                          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 629 |
 630 |                             let entryVersion = try Version(persistedEntry.versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:752:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 750 |     }
 751 |
 752 |     public func observe() async throws -> some TypedAsyncSequence<ObservedEvent<IdentifierType, InstanceType>> & Sendable {
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 753 |         try await warmupIfNeeded()
 754 |
[60/77] Compiling CodableDatastore Datastore.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:167:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 165 |             }
 166 |             let warmupTask = Task {
 167 |                 try await persistence._withTransaction(
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 168 |                     actionName: "Migrate Entries",
 169 |                     options: []
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:152:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 150 |
 151 |     @discardableResult
 152 |     func warmupIfNeeded(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 153 |         @_inheritActorContext progressHandler: ProgressHandler? = nil
 154 |     ) async throws -> Progress {
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:514:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 512 |         AsyncThrowingBackpressureStream { provider in
 513 |             if awaitWarmup {
 514 |                 try await self.warmupIfNeeded()
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 515 |             }
 516 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:522:114: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 520 |             ) { transaction, _ in
 521 |                 do {
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
     |                                                                                                                  `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:524:49: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
     |                                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 525 |                         let decodedValue = try await decoder(instanceData)
 526 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:602:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 600 |             else { throw DatastoreError.missingIndex }
 601 |
 602 |             try await self.warmupIfNeeded()
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 603 |
 604 |             try await self.persistence._withTransaction(
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:614:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 612 |                             range: range.applying(order),
 613 |                             indexName: declaredIndex.indexName,
 614 |                             datastoreKey: self.key
     |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:617:53: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
 617 |                             let decoder = try await self.decoder(for: entryVersion)
     |                                                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 618 |                             let instance = try await decoder(instanceData).instance
 619 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:628:122: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 626 |                             datastoreKey: self.key
 627 |                         ) { (identifier: IdentifierType) in
 628 |                             let persistedEntry = try await transaction.primaryIndexCursor(for: identifier, datastoreKey: self.key)
     |                                                                                                                          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 629 |
 630 |                             let entryVersion = try Version(persistedEntry.versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:752:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 750 |     }
 751 |
 752 |     public func observe() async throws -> some TypedAsyncSequence<ObservedEvent<IdentifierType, InstanceType>> & Sendable {
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 753 |         try await warmupIfNeeded()
 754 |
[61/77] Compiling CodableDatastore DatastoreDescriptor.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:167:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 165 |             }
 166 |             let warmupTask = Task {
 167 |                 try await persistence._withTransaction(
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 168 |                     actionName: "Migrate Entries",
 169 |                     options: []
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:152:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 150 |
 151 |     @discardableResult
 152 |     func warmupIfNeeded(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 153 |         @_inheritActorContext progressHandler: ProgressHandler? = nil
 154 |     ) async throws -> Progress {
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:514:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 512 |         AsyncThrowingBackpressureStream { provider in
 513 |             if awaitWarmup {
 514 |                 try await self.warmupIfNeeded()
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 515 |             }
 516 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:522:114: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 520 |             ) { transaction, _ in
 521 |                 do {
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
     |                                                                                                                  `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:524:49: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
     |                                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 525 |                         let decodedValue = try await decoder(instanceData)
 526 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:602:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 600 |             else { throw DatastoreError.missingIndex }
 601 |
 602 |             try await self.warmupIfNeeded()
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 603 |
 604 |             try await self.persistence._withTransaction(
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:614:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 612 |                             range: range.applying(order),
 613 |                             indexName: declaredIndex.indexName,
 614 |                             datastoreKey: self.key
     |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:617:53: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
 617 |                             let decoder = try await self.decoder(for: entryVersion)
     |                                                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 618 |                             let instance = try await decoder(instanceData).instance
 619 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:628:122: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 626 |                             datastoreKey: self.key
 627 |                         ) { (identifier: IdentifierType) in
 628 |                             let persistedEntry = try await transaction.primaryIndexCursor(for: identifier, datastoreKey: self.key)
     |                                                                                                                          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 629 |
 630 |                             let entryVersion = try Version(persistedEntry.versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:752:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 750 |     }
 751 |
 752 |     public func observe() async throws -> some TypedAsyncSequence<ObservedEvent<IdentifierType, InstanceType>> & Sendable {
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 753 |         try await warmupIfNeeded()
 754 |
[62/77] Compiling CodableDatastore DatastoreError.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:167:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 165 |             }
 166 |             let warmupTask = Task {
 167 |                 try await persistence._withTransaction(
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 168 |                     actionName: "Migrate Entries",
 169 |                     options: []
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:152:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 150 |
 151 |     @discardableResult
 152 |     func warmupIfNeeded(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 153 |         @_inheritActorContext progressHandler: ProgressHandler? = nil
 154 |     ) async throws -> Progress {
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:514:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 512 |         AsyncThrowingBackpressureStream { provider in
 513 |             if awaitWarmup {
 514 |                 try await self.warmupIfNeeded()
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 515 |             }
 516 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:522:114: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 520 |             ) { transaction, _ in
 521 |                 do {
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
     |                                                                                                                  `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:524:49: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
     |                                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 525 |                         let decodedValue = try await decoder(instanceData)
 526 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:602:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 600 |             else { throw DatastoreError.missingIndex }
 601 |
 602 |             try await self.warmupIfNeeded()
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 603 |
 604 |             try await self.persistence._withTransaction(
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:614:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 612 |                             range: range.applying(order),
 613 |                             indexName: declaredIndex.indexName,
 614 |                             datastoreKey: self.key
     |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:617:53: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
 617 |                             let decoder = try await self.decoder(for: entryVersion)
     |                                                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 618 |                             let instance = try await decoder(instanceData).instance
 619 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:628:122: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 626 |                             datastoreKey: self.key
 627 |                         ) { (identifier: IdentifierType) in
 628 |                             let persistedEntry = try await transaction.primaryIndexCursor(for: identifier, datastoreKey: self.key)
     |                                                                                                                          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 629 |
 630 |                             let entryVersion = try Version(persistedEntry.versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:752:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 750 |     }
 751 |
 752 |     public func observe() async throws -> some TypedAsyncSequence<ObservedEvent<IdentifierType, InstanceType>> & Sendable {
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 753 |         try await warmupIfNeeded()
 754 |
[63/77] Compiling CodableDatastore DatastoreFormat.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:167:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 165 |             }
 166 |             let warmupTask = Task {
 167 |                 try await persistence._withTransaction(
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 168 |                     actionName: "Migrate Entries",
 169 |                     options: []
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:152:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 150 |
 151 |     @discardableResult
 152 |     func warmupIfNeeded(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 153 |         @_inheritActorContext progressHandler: ProgressHandler? = nil
 154 |     ) async throws -> Progress {
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:514:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 512 |         AsyncThrowingBackpressureStream { provider in
 513 |             if awaitWarmup {
 514 |                 try await self.warmupIfNeeded()
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 515 |             }
 516 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:522:114: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 520 |             ) { transaction, _ in
 521 |                 do {
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
     |                                                                                                                  `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:524:49: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
     |                                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 525 |                         let decodedValue = try await decoder(instanceData)
 526 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:602:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 600 |             else { throw DatastoreError.missingIndex }
 601 |
 602 |             try await self.warmupIfNeeded()
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 603 |
 604 |             try await self.persistence._withTransaction(
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:614:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 612 |                             range: range.applying(order),
 613 |                             indexName: declaredIndex.indexName,
 614 |                             datastoreKey: self.key
     |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:617:53: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
 617 |                             let decoder = try await self.decoder(for: entryVersion)
     |                                                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 618 |                             let instance = try await decoder(instanceData).instance
 619 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:628:122: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 626 |                             datastoreKey: self.key
 627 |                         ) { (identifier: IdentifierType) in
 628 |                             let persistedEntry = try await transaction.primaryIndexCursor(for: identifier, datastoreKey: self.key)
     |                                                                                                                          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 629 |
 630 |                             let entryVersion = try Version(persistedEntry.versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:752:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 750 |     }
 751 |
 752 |     public func observe() async throws -> some TypedAsyncSequence<ObservedEvent<IdentifierType, InstanceType>> & Sendable {
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 753 |         try await warmupIfNeeded()
 754 |
[64/77] Compiling CodableDatastore DatastoreKey.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:167:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 165 |             }
 166 |             let warmupTask = Task {
 167 |                 try await persistence._withTransaction(
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 168 |                     actionName: "Migrate Entries",
 169 |                     options: []
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:152:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 150 |
 151 |     @discardableResult
 152 |     func warmupIfNeeded(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 153 |         @_inheritActorContext progressHandler: ProgressHandler? = nil
 154 |     ) async throws -> Progress {
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:514:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 512 |         AsyncThrowingBackpressureStream { provider in
 513 |             if awaitWarmup {
 514 |                 try await self.warmupIfNeeded()
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 515 |             }
 516 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:522:114: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 520 |             ) { transaction, _ in
 521 |                 do {
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
     |                                                                                                                  `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:524:49: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
     |                                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 525 |                         let decodedValue = try await decoder(instanceData)
 526 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:602:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 600 |             else { throw DatastoreError.missingIndex }
 601 |
 602 |             try await self.warmupIfNeeded()
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 603 |
 604 |             try await self.persistence._withTransaction(
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:614:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 612 |                             range: range.applying(order),
 613 |                             indexName: declaredIndex.indexName,
 614 |                             datastoreKey: self.key
     |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:617:53: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
 617 |                             let decoder = try await self.decoder(for: entryVersion)
     |                                                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 618 |                             let instance = try await decoder(instanceData).instance
 619 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:628:122: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 626 |                             datastoreKey: self.key
 627 |                         ) { (identifier: IdentifierType) in
 628 |                             let persistedEntry = try await transaction.primaryIndexCursor(for: identifier, datastoreKey: self.key)
     |                                                                                                                          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 629 |
 630 |                             let entryVersion = try Version(persistedEntry.versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:752:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 750 |     }
 751 |
 752 |     public func observe() async throws -> some TypedAsyncSequence<ObservedEvent<IdentifierType, InstanceType>> & Sendable {
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 753 |         try await warmupIfNeeded()
 754 |
[65/77] Compiling CodableDatastore Dictionary+RawRepresentable.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:167:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 165 |             }
 166 |             let warmupTask = Task {
 167 |                 try await persistence._withTransaction(
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 168 |                     actionName: "Migrate Entries",
 169 |                     options: []
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:152:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 150 |
 151 |     @discardableResult
 152 |     func warmupIfNeeded(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 153 |         @_inheritActorContext progressHandler: ProgressHandler? = nil
 154 |     ) async throws -> Progress {
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:514:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 512 |         AsyncThrowingBackpressureStream { provider in
 513 |             if awaitWarmup {
 514 |                 try await self.warmupIfNeeded()
     |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 515 |             }
 516 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:522:114: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 520 |             ) { transaction, _ in
 521 |                 do {
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
     |                                                                                                                  `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:524:49: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 522 |                     try await transaction.primaryIndexScan(range: identifierRange.applying(order), datastoreKey: self.key) { versionData, instanceData in
 523 |                         let entryVersion = try Version(versionData)
 524 |                         let decoder = try await self.decoder(for: entryVersion)
     |                                                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 525 |                         let decodedValue = try await decoder(instanceData)
 526 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:507:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 505 |     ///   - awaitWarmup: Whether the sequence should await warmup or jump right into loading.
 506 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 507 |     nonisolated func _load(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 508 |         _ identifierRange: some IndexRangeExpression<IdentifierType> & Sendable,
 509 |         order: RangeOrder,
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:602:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 600 |             else { throw DatastoreError.missingIndex }
 601 |
 602 |             try await self.warmupIfNeeded()
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 603 |
 604 |             try await self.persistence._withTransaction(
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:614:43: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 612 |                             range: range.applying(order),
 613 |                             indexName: declaredIndex.indexName,
 614 |                             datastoreKey: self.key
     |                                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:617:53: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 615 |                         ) { versionData, instanceData in
 616 |                             let entryVersion = try Version(versionData)
 617 |                             let decoder = try await self.decoder(for: entryVersion)
     |                                                     `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 618 |                             let instance = try await decoder(instanceData).instance
 619 |
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:628:122: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 626 |                             datastoreKey: self.key
 627 |                         ) { (identifier: IdentifierType) in
 628 |                             let persistedEntry = try await transaction.primaryIndexCursor(for: identifier, datastoreKey: self.key)
     |                                                                                                                          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 629 |
 630 |                             let entryVersion = try Version(persistedEntry.versionData)
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:588:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 586 |     /// - Returns: An asynchronous sequence containing the instances matching the range of values in that sequence.
 587 |     @usableFromInline
 588 |     nonisolated func _load<
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 589 |         Index: IndexRepresentation<InstanceType>,
 590 |         Bound: Indexable
/host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift:752:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 750 |     }
 751 |
 752 |     public func observe() async throws -> some TypedAsyncSequence<ObservedEvent<IdentifierType, InstanceType>> & Sendable {
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 753 |         try await warmupIfNeeded()
 754 |
[66/77] Compiling CodableDatastore DatastoreIndexManifest.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:42:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 40 |         deinit {
 41 |             Task { [id, datastore] in
 42 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 43 |             }
 44 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:41:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 39 |
 40 |         deinit {
 41 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 42 |                 await datastore.invalidate(id)
 43 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:132:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
130 |
131 |             let readerTask = Task {
132 |                 try await performRead(sequence: try readableSequence)
    |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
133 |             }
134 |             isPersisted = true
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:126:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
124 |
125 |     var blocks: MultiplexedAsyncSequence<AnyReadableSequence<DatastorePageEntryBlock>> {
126 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
127 |             if let blocksReaderTask {
128 |                 return try await blocksReaderTask.value
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:222:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
220 |     init<S: AsyncSequence>(_ sequence: S) async throws where S.Element == Element {
221 |         self = try await sequence.reduce(into: Self.init()) { @Sendable partialResult, element in
222 |             partialResult.append(element)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
223 |         }
224 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:70:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 68 |         deinit {
 69 |             Task { [id, datastore] in
 70 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 71 |             }
 72 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:69:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 67 |
 68 |         deinit {
 69 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 70 |                 await datastore.invalidate(id)
 71 |             }
[67/77] Compiling CodableDatastore DatastorePage.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:42:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 40 |         deinit {
 41 |             Task { [id, datastore] in
 42 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 43 |             }
 44 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:41:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 39 |
 40 |         deinit {
 41 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 42 |                 await datastore.invalidate(id)
 43 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:132:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
130 |
131 |             let readerTask = Task {
132 |                 try await performRead(sequence: try readableSequence)
    |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
133 |             }
134 |             isPersisted = true
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:126:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
124 |
125 |     var blocks: MultiplexedAsyncSequence<AnyReadableSequence<DatastorePageEntryBlock>> {
126 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
127 |             if let blocksReaderTask {
128 |                 return try await blocksReaderTask.value
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:222:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
220 |     init<S: AsyncSequence>(_ sequence: S) async throws where S.Element == Element {
221 |         self = try await sequence.reduce(into: Self.init()) { @Sendable partialResult, element in
222 |             partialResult.append(element)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
223 |         }
224 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:70:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 68 |         deinit {
 69 |             Task { [id, datastore] in
 70 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 71 |             }
 72 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:69:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 67 |
 68 |         deinit {
 69 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 70 |                 await datastore.invalidate(id)
 71 |             }
[68/77] Compiling CodableDatastore DatastorePageEntry.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:42:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 40 |         deinit {
 41 |             Task { [id, datastore] in
 42 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 43 |             }
 44 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:41:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 39 |
 40 |         deinit {
 41 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 42 |                 await datastore.invalidate(id)
 43 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:132:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
130 |
131 |             let readerTask = Task {
132 |                 try await performRead(sequence: try readableSequence)
    |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
133 |             }
134 |             isPersisted = true
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:126:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
124 |
125 |     var blocks: MultiplexedAsyncSequence<AnyReadableSequence<DatastorePageEntryBlock>> {
126 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
127 |             if let blocksReaderTask {
128 |                 return try await blocksReaderTask.value
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:222:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
220 |     init<S: AsyncSequence>(_ sequence: S) async throws where S.Element == Element {
221 |         self = try await sequence.reduce(into: Self.init()) { @Sendable partialResult, element in
222 |             partialResult.append(element)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
223 |         }
224 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:70:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 68 |         deinit {
 69 |             Task { [id, datastore] in
 70 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 71 |             }
 72 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:69:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 67 |
 68 |         deinit {
 69 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 70 |                 await datastore.invalidate(id)
 71 |             }
[69/77] Compiling CodableDatastore DatastorePageEntryBlock.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:42:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 40 |         deinit {
 41 |             Task { [id, datastore] in
 42 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 43 |             }
 44 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:41:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 39 |
 40 |         deinit {
 41 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 42 |                 await datastore.invalidate(id)
 43 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:132:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
130 |
131 |             let readerTask = Task {
132 |                 try await performRead(sequence: try readableSequence)
    |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
133 |             }
134 |             isPersisted = true
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:126:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
124 |
125 |     var blocks: MultiplexedAsyncSequence<AnyReadableSequence<DatastorePageEntryBlock>> {
126 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
127 |             if let blocksReaderTask {
128 |                 return try await blocksReaderTask.value
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:222:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
220 |     init<S: AsyncSequence>(_ sequence: S) async throws where S.Element == Element {
221 |         self = try await sequence.reduce(into: Self.init()) { @Sendable partialResult, element in
222 |             partialResult.append(element)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
223 |         }
224 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:70:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 68 |         deinit {
 69 |             Task { [id, datastore] in
 70 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 71 |             }
 72 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:69:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 67 |
 68 |         deinit {
 69 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 70 |                 await datastore.invalidate(id)
 71 |             }
[70/77] Compiling CodableDatastore DatastoreRoot.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:42:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 40 |         deinit {
 41 |             Task { [id, datastore] in
 42 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 43 |             }
 44 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:41:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 39 |
 40 |         deinit {
 41 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 42 |                 await datastore.invalidate(id)
 43 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:132:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
130 |
131 |             let readerTask = Task {
132 |                 try await performRead(sequence: try readableSequence)
    |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
133 |             }
134 |             isPersisted = true
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:126:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
124 |
125 |     var blocks: MultiplexedAsyncSequence<AnyReadableSequence<DatastorePageEntryBlock>> {
126 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
127 |             if let blocksReaderTask {
128 |                 return try await blocksReaderTask.value
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:222:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
220 |     init<S: AsyncSequence>(_ sequence: S) async throws where S.Element == Element {
221 |         self = try await sequence.reduce(into: Self.init()) { @Sendable partialResult, element in
222 |             partialResult.append(element)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
223 |         }
224 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:70:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 68 |         deinit {
 69 |             Task { [id, datastore] in
 70 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 71 |             }
 72 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:69:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 67 |
 68 |         deinit {
 69 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 70 |                 await datastore.invalidate(id)
 71 |             }
[71/77] Compiling CodableDatastore DatastoreRootManifest.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:42:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 40 |         deinit {
 41 |             Task { [id, datastore] in
 42 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 43 |             }
 44 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:41:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 39 |
 40 |         deinit {
 41 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 42 |                 await datastore.invalidate(id)
 43 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:132:27: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
130 |
131 |             let readerTask = Task {
132 |                 try await performRead(sequence: try readableSequence)
    |                           `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
133 |             }
134 |             isPersisted = true
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:126:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
124 |
125 |     var blocks: MultiplexedAsyncSequence<AnyReadableSequence<DatastorePageEntryBlock>> {
126 |         get async throws {
    |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
127 |             if let blocksReaderTask {
128 |                 return try await blocksReaderTask.value
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastorePage.swift:222:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
220 |     init<S: AsyncSequence>(_ sequence: S) async throws where S.Element == Element {
221 |         self = try await sequence.reduce(into: Self.init()) { @Sendable partialResult, element in
222 |             partialResult.append(element)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
223 |         }
224 |     }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:70:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 68 |         deinit {
 69 |             Task { [id, datastore] in
 70 |                 await datastore.invalidate(id)
    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 71 |             }
 72 |         }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreRoot.swift:69:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 67 |
 68 |         deinit {
 69 |             Task { [id, datastore] in
    |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 70 |                 await datastore.invalidate(id)
 71 |             }
[72/77] Compiling CodableDatastore DiskCursor.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:55:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  53 |         ) async -> Task<T, Error> {
  54 |             let task = Task {
  55 |                 isActive = true
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  56 |                 let returnValue = try await TransactionTaskLocals.$transaction.withValue(self) {
  57 |                     try await handler()
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:74:31: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  72 |                 /// If we previously skipped persisting, go ahead and do so now.
  73 |                 if options.contains(.collateWrites) {
  74 |                     try await self.persist()
     |                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  75 |                 }
  76 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:220:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 218 |                 /// If the transaction is not read only, wait for the last transaction to properly finish before starting the next one.
 219 |                 if !options.contains(.readOnly) {
 220 |                     try? await lastTransaction?.task.value
     |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 221 |                 }
 222 |                 return try await handler(transaction, options.isDisjoint(with: [.collateWrites, .readOnly]))
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:200:13: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 198 |         static func makeTransaction<T>(
 199 |             persistence: DiskPersistence,
 200 |             lastTransaction: Transaction?,
     |             `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 201 |             actionName: String?,
 202 |             options: UnsafeTransactionOptions,
[73/77] Compiling CodableDatastore Transaction.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:55:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  53 |         ) async -> Task<T, Error> {
  54 |             let task = Task {
  55 |                 isActive = true
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  56 |                 let returnValue = try await TransactionTaskLocals.$transaction.withValue(self) {
  57 |                     try await handler()
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:74:31: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  72 |                 /// If we previously skipped persisting, go ahead and do so now.
  73 |                 if options.contains(.collateWrites) {
  74 |                     try await self.persist()
     |                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  75 |                 }
  76 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:220:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 218 |                 /// If the transaction is not read only, wait for the last transaction to properly finish before starting the next one.
 219 |                 if !options.contains(.readOnly) {
 220 |                     try? await lastTransaction?.task.value
     |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 221 |                 }
 222 |                 return try await handler(transaction, options.isDisjoint(with: [.collateWrites, .readOnly]))
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:200:13: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 198 |         static func makeTransaction<T>(
 199 |             persistence: DiskPersistence,
 200 |             lastTransaction: Transaction?,
     |             `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 201 |             actionName: String?,
 202 |             options: UnsafeTransactionOptions,
[74/77] Compiling CodableDatastore TypedIdentifier.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:55:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  53 |         ) async -> Task<T, Error> {
  54 |             let task = Task {
  55 |                 isActive = true
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  56 |                 let returnValue = try await TransactionTaskLocals.$transaction.withValue(self) {
  57 |                     try await handler()
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:74:31: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  72 |                 /// If we previously skipped persisting, go ahead and do so now.
  73 |                 if options.contains(.collateWrites) {
  74 |                     try await self.persist()
     |                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  75 |                 }
  76 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:220:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 218 |                 /// If the transaction is not read only, wait for the last transaction to properly finish before starting the next one.
 219 |                 if !options.contains(.readOnly) {
 220 |                     try? await lastTransaction?.task.value
     |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 221 |                 }
 222 |                 return try await handler(transaction, options.isDisjoint(with: [.collateWrites, .readOnly]))
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:200:13: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 198 |         static func makeTransaction<T>(
 199 |             persistence: DiskPersistence,
 200 |             lastTransaction: Transaction?,
     |             `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 201 |             actionName: String?,
 202 |             options: UnsafeTransactionOptions,
[75/77] Compiling CodableDatastore MemoryPersistence.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:55:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  53 |         ) async -> Task<T, Error> {
  54 |             let task = Task {
  55 |                 isActive = true
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  56 |                 let returnValue = try await TransactionTaskLocals.$transaction.withValue(self) {
  57 |                     try await handler()
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:74:31: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  72 |                 /// If we previously skipped persisting, go ahead and do so now.
  73 |                 if options.contains(.collateWrites) {
  74 |                     try await self.persist()
     |                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  75 |                 }
  76 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:220:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 218 |                 /// If the transaction is not read only, wait for the last transaction to properly finish before starting the next one.
 219 |                 if !options.contains(.readOnly) {
 220 |                     try? await lastTransaction?.task.value
     |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 221 |                 }
 222 |                 return try await handler(transaction, options.isDisjoint(with: [.collateWrites, .readOnly]))
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:200:13: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 198 |         static func makeTransaction<T>(
 199 |             persistence: DiskPersistence,
 200 |             lastTransaction: Transaction?,
     |             `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 201 |             actionName: String?,
 202 |             options: UnsafeTransactionOptions,
[76/77] Compiling CodableDatastore Persistence.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:55:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  53 |         ) async -> Task<T, Error> {
  54 |             let task = Task {
  55 |                 isActive = true
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  56 |                 let returnValue = try await TransactionTaskLocals.$transaction.withValue(self) {
  57 |                     try await handler()
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:74:31: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  72 |                 /// If we previously skipped persisting, go ahead and do so now.
  73 |                 if options.contains(.collateWrites) {
  74 |                     try await self.persist()
     |                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  75 |                 }
  76 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:220:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 218 |                 /// If the transaction is not read only, wait for the last transaction to properly finish before starting the next one.
 219 |                 if !options.contains(.readOnly) {
 220 |                     try? await lastTransaction?.task.value
     |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 221 |                 }
 222 |                 return try await handler(transaction, options.isDisjoint(with: [.collateWrites, .readOnly]))
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:200:13: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 198 |         static func makeTransaction<T>(
 199 |             persistence: DiskPersistence,
 200 |             lastTransaction: Transaction?,
     |             `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 201 |             actionName: String?,
 202 |             options: UnsafeTransactionOptions,
[77/77] Compiling CodableDatastore TransactionOptions.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:55:17: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  53 |         ) async -> Task<T, Error> {
  54 |             let task = Task {
  55 |                 isActive = true
     |                 `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  56 |                 let returnValue = try await TransactionTaskLocals.$transaction.withValue(self) {
  57 |                     try await handler()
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:74:31: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  72 |                 /// If we previously skipped persisting, go ahead and do so now.
  73 |                 if options.contains(.collateWrites) {
  74 |                     try await self.persist()
     |                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  75 |                 }
  76 |             }
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:50:22: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  48 |         }
  49 |
  50 |         private func attachTask<T>(
     |                      `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  51 |             options: UnsafeTransactionOptions,
  52 |             @_inheritActorContext handler: @Sendable @escaping () async throws -> T
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:220:47: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 218 |                 /// If the transaction is not read only, wait for the last transaction to properly finish before starting the next one.
 219 |                 if !options.contains(.readOnly) {
 220 |                     try? await lastTransaction?.task.value
     |                                               `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 221 |                 }
 222 |                 return try await handler(transaction, options.isDisjoint(with: [.collateWrites, .readOnly]))
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Transaction/Transaction.swift:200:13: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 198 |         static func makeTransaction<T>(
 199 |             persistence: DiskPersistence,
 200 |             lastTransaction: Transaction?,
     |             `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 201 |             actionName: String?,
 202 |             options: UnsafeTransactionOptions,
Build complete! (32.37s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "asyncsequencereader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.1",
            "upper_bound" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mochidev/AsyncSequenceReader.git"
    },
    {
      "identity" : "bytes",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mochidev/Bytes.git"
    }
  ],
  "manifest_display_name" : "CodableDatastore",
  "name" : "CodableDatastore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "CodableDatastore",
      "targets" : [
        "CodableDatastore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CodableDatastoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CodableDatastoreTests",
      "path" : "Tests/CodableDatastoreTests",
      "sources" : [
        "DatastoreDescriptorTests.swift",
        "DatastoreFormatTests.swift",
        "DatastorePageEntryTests.swift",
        "DatedIdentifierTests.swift",
        "DiskPersistenceDatastoreIndexTests.swift",
        "DiskPersistenceDatastoreTests.swift",
        "DiskPersistenceTests.swift",
        "DiskTransactionTests.swift",
        "IndexRangeExpressionTests.swift",
        "OptionalTests.swift",
        "SnapshotIterationTests.swift",
        "SnapshotTests.swift",
        "TransactionOptionsTests.swift",
        "TypedIdentifierTests.swift",
        "UUIDTests.swift"
      ],
      "target_dependencies" : [
        "CodableDatastore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CodableDatastore",
      "module_type" : "SwiftTarget",
      "name" : "CodableDatastore",
      "path" : "Sources/CodableDatastore",
      "product_dependencies" : [
        "AsyncSequenceReader",
        "Bytes"
      ],
      "product_memberships" : [
        "CodableDatastore"
      ],
      "sources" : [
        "Datastore/Configuration.swift",
        "Datastore/Datastore.swift",
        "Datastore/DatastoreDescriptor.swift",
        "Datastore/DatastoreError.swift",
        "Datastore/DatastoreFormat.swift",
        "Datastore/DatastoreKey.swift",
        "Datastore/Dictionary+RawRepresentable.swift",
        "Datastore/ObservedEvent.swift",
        "Datastore/Progress.swift",
        "Datastore/RawRepresentable+Codable.swift",
        "Datastore/TypedAsyncSequence.swift",
        "Debug/GlobalTimer.swift",
        "Indexes/GeneratedIndexRepresentation.swift",
        "Indexes/IndexName.swift",
        "Indexes/IndexRangeExpression.swift",
        "Indexes/IndexRepresentation.swift",
        "Indexes/IndexStorage.swift",
        "Indexes/IndexType.swift",
        "Indexes/Indexable.swift",
        "Indexes/UUID+Comparable.swift",
        "Persistence/AccessMode.swift",
        "Persistence/Cursor.swift",
        "Persistence/DatastoreInterfaceError.swift",
        "Persistence/DatastoreInterfaceProtocol.swift",
        "Persistence/Disk Persistence/AsyncThrowingBackpressureStream.swift",
        "Persistence/Disk Persistence/Datastore/DatastoreIndex.swift",
        "Persistence/Disk Persistence/Datastore/DatastoreIndexManifest.swift",
        "Persistence/Disk Persistence/Datastore/DatastorePage.swift",
        "Persistence/Disk Persistence/Datastore/DatastorePageEntry.swift",
        "Persistence/Disk Persistence/Datastore/DatastorePageEntryBlock.swift",
        "Persistence/Disk Persistence/Datastore/DatastoreRoot.swift",
        "Persistence/Disk Persistence/Datastore/DatastoreRootManifest.swift",
        "Persistence/Disk Persistence/Datastore/PersistenceDatastore.swift",
        "Persistence/Disk Persistence/DatedIdentifier.swift",
        "Persistence/Disk Persistence/DiskPersistence.swift",
        "Persistence/Disk Persistence/DiskPersistenceError.swift",
        "Persistence/Disk Persistence/ISO8601DateFormatter+Milliseconds.swift",
        "Persistence/Disk Persistence/JSONCoder.swift",
        "Persistence/Disk Persistence/LazyTask.swift",
        "Persistence/Disk Persistence/Snapshot/Snapshot.swift",
        "Persistence/Disk Persistence/Snapshot/SnapshotIteration.swift",
        "Persistence/Disk Persistence/Snapshot/SnapshotManifest.swift",
        "Persistence/Disk Persistence/SortOrder.swift",
        "Persistence/Disk Persistence/StoreInfo/StoreInfo.swift",
        "Persistence/Disk Persistence/Transaction/DiskCursor.swift",
        "Persistence/Disk Persistence/Transaction/Transaction.swift",
        "Persistence/Disk Persistence/TypedIdentifier.swift",
        "Persistence/Memory Persistence/MemoryPersistence.swift",
        "Persistence/Persistence.swift",
        "Persistence/TransactionOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.