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 0.3.8 (123bea), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 03:44:38 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

    |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 71 |             }
 72 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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.
/Users/admin/builder/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> {
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |                 }
/Users/admin/builder/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 |             }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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>
/Users/admin/builder/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 }
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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,
/Users/admin/builder/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>
[48/75] Compiling CodableDatastore PersistenceDatastore.swift
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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.
/Users/admin/builder/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> {
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |                 }
/Users/admin/builder/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 |             }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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>
/Users/admin/builder/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 }
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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,
/Users/admin/builder/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>
[49/75] Compiling CodableDatastore DatedIdentifier.swift
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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.
/Users/admin/builder/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> {
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |                 }
/Users/admin/builder/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 |             }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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>
/Users/admin/builder/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 }
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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,
/Users/admin/builder/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>
[50/75] Compiling CodableDatastore DiskPersistence.swift
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |     ) {
/Users/admin/builder/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.
/Users/admin/builder/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> {
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |                 }
/Users/admin/builder/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 |             }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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>
/Users/admin/builder/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 }
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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,
/Users/admin/builder/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>
[51/75] Compiling CodableDatastore IndexRepresentation.swift
[52/75] Compiling CodableDatastore IndexStorage.swift
[53/75] Compiling CodableDatastore IndexType.swift
[54/75] Compiling CodableDatastore Indexable.swift
[55/75] Compiling CodableDatastore UUID+Comparable.swift
[56/75] Compiling CodableDatastore DatastoreKey.swift
[57/75] Compiling CodableDatastore Dictionary+RawRepresentable.swift
[58/75] Compiling CodableDatastore ObservedEvent.swift
[59/75] Compiling CodableDatastore Progress.swift
[60/75] Compiling CodableDatastore RawRepresentable+Codable.swift
[61/75] Compiling CodableDatastore DatastoreIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:44:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  42 |         deinit {
  43 |             Task { [id, datastore] in
  44 |                 await datastore.invalidate(id)
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  45 |             }
  46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:43:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  41 |
  42 |         deinit {
  43 |             Task { [id, datastore] in
     |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  44 |                 await datastore.invalidate(id)
  45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:123:24: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 121 |
 122 |             let loader = Task {
 123 |                 if let _manifest { return _manifest }
     |                        `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 124 |
 125 |                 let manifest = try await DatastoreIndexManifest(contentsOf: manifestURL, id: id.manifestID)
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:119:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 117 | extension DiskPersistence.Datastore.Index {
 118 |     private var manifest: DatastoreIndexManifest {
 119 |         get async throws {
     |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 120 |             if let manifestTask { return try await manifestTask.value }
 121 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:420:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 418 |             in: try await manifest.orderedPages,
 419 |             requiresCompleteEntries: requiresCompleteEntries,
 420 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 421 |             comparator: comparator
 422 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:408:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 406 |     }
 407 |
 408 |     func entry<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 409 |         for proposedEntry: T,
 410 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:582:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 580 |             in: try await manifest.orderedPages,
 581 |             requiresCompleteEntries: requiresCompleteEntries,
 582 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 583 |             comparator: comparator
 584 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:573:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 571 |     }
 572 |
 573 |     func insertionCursor<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 574 |         for proposedEntry: T,
 575 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:721:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 719 |             after: startCursor,
 720 |             in: try await manifest.orderedPages,
 721 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 722 |             entryHandler: entryHandler
 723 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:714:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 712 |
 713 | extension DiskPersistence.Datastore.Index {
 714 |     func forwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 715 |         after startCursor: DiskPersistence.InsertionCursor,
 716 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:796:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 794 |             before: startCursor,
 795 |             in: try await manifest.orderedPages,
 796 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 797 |             entryHandler: entryHandler
 798 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:789:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 787 |     }
 788 |
 789 |     func backwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 790 |         before startCursor: DiskPersistence.InsertionCursor,
 791 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1519:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1517 |
1518 |         let stream = AsyncThrowingBackpressureStream { continuation in
1519 |             try await self.forwardScanEntries(after: self.firstInsertionCursor) { entry in
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1520 |                 try await continuation.yield(entry)
1521 |                 return true
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1506:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1504 | extension DiskPersistence.Datastore.Index {
1505 |     @discardableResult
1506 |     func copy(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1507 |         into newDatastore: DiskPersistence<ReadWrite>.Datastore,
1508 |         rootObjectManifest: inout DatastoreRootManifest,
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
[62/75] Compiling CodableDatastore DatastoreIndexManifest.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:44:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  42 |         deinit {
  43 |             Task { [id, datastore] in
  44 |                 await datastore.invalidate(id)
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  45 |             }
  46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:43:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  41 |
  42 |         deinit {
  43 |             Task { [id, datastore] in
     |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  44 |                 await datastore.invalidate(id)
  45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:123:24: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 121 |
 122 |             let loader = Task {
 123 |                 if let _manifest { return _manifest }
     |                        `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 124 |
 125 |                 let manifest = try await DatastoreIndexManifest(contentsOf: manifestURL, id: id.manifestID)
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:119:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 117 | extension DiskPersistence.Datastore.Index {
 118 |     private var manifest: DatastoreIndexManifest {
 119 |         get async throws {
     |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 120 |             if let manifestTask { return try await manifestTask.value }
 121 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:420:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 418 |             in: try await manifest.orderedPages,
 419 |             requiresCompleteEntries: requiresCompleteEntries,
 420 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 421 |             comparator: comparator
 422 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:408:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 406 |     }
 407 |
 408 |     func entry<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 409 |         for proposedEntry: T,
 410 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:582:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 580 |             in: try await manifest.orderedPages,
 581 |             requiresCompleteEntries: requiresCompleteEntries,
 582 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 583 |             comparator: comparator
 584 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:573:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 571 |     }
 572 |
 573 |     func insertionCursor<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 574 |         for proposedEntry: T,
 575 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:721:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 719 |             after: startCursor,
 720 |             in: try await manifest.orderedPages,
 721 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 722 |             entryHandler: entryHandler
 723 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:714:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 712 |
 713 | extension DiskPersistence.Datastore.Index {
 714 |     func forwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 715 |         after startCursor: DiskPersistence.InsertionCursor,
 716 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:796:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 794 |             before: startCursor,
 795 |             in: try await manifest.orderedPages,
 796 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 797 |             entryHandler: entryHandler
 798 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:789:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 787 |     }
 788 |
 789 |     func backwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 790 |         before startCursor: DiskPersistence.InsertionCursor,
 791 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1519:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1517 |
1518 |         let stream = AsyncThrowingBackpressureStream { continuation in
1519 |             try await self.forwardScanEntries(after: self.firstInsertionCursor) { entry in
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1520 |                 try await continuation.yield(entry)
1521 |                 return true
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1506:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1504 | extension DiskPersistence.Datastore.Index {
1505 |     @discardableResult
1506 |     func copy(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1507 |         into newDatastore: DiskPersistence<ReadWrite>.Datastore,
1508 |         rootObjectManifest: inout DatastoreRootManifest,
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
[63/75] Compiling CodableDatastore DatastorePage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:44:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  42 |         deinit {
  43 |             Task { [id, datastore] in
  44 |                 await datastore.invalidate(id)
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  45 |             }
  46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:43:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  41 |
  42 |         deinit {
  43 |             Task { [id, datastore] in
     |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  44 |                 await datastore.invalidate(id)
  45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:123:24: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 121 |
 122 |             let loader = Task {
 123 |                 if let _manifest { return _manifest }
     |                        `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 124 |
 125 |                 let manifest = try await DatastoreIndexManifest(contentsOf: manifestURL, id: id.manifestID)
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:119:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 117 | extension DiskPersistence.Datastore.Index {
 118 |     private var manifest: DatastoreIndexManifest {
 119 |         get async throws {
     |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 120 |             if let manifestTask { return try await manifestTask.value }
 121 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:420:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 418 |             in: try await manifest.orderedPages,
 419 |             requiresCompleteEntries: requiresCompleteEntries,
 420 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 421 |             comparator: comparator
 422 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:408:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 406 |     }
 407 |
 408 |     func entry<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 409 |         for proposedEntry: T,
 410 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:582:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 580 |             in: try await manifest.orderedPages,
 581 |             requiresCompleteEntries: requiresCompleteEntries,
 582 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 583 |             comparator: comparator
 584 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:573:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 571 |     }
 572 |
 573 |     func insertionCursor<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 574 |         for proposedEntry: T,
 575 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:721:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 719 |             after: startCursor,
 720 |             in: try await manifest.orderedPages,
 721 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 722 |             entryHandler: entryHandler
 723 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:714:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 712 |
 713 | extension DiskPersistence.Datastore.Index {
 714 |     func forwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 715 |         after startCursor: DiskPersistence.InsertionCursor,
 716 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:796:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 794 |             before: startCursor,
 795 |             in: try await manifest.orderedPages,
 796 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 797 |             entryHandler: entryHandler
 798 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:789:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 787 |     }
 788 |
 789 |     func backwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 790 |         before startCursor: DiskPersistence.InsertionCursor,
 791 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1519:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1517 |
1518 |         let stream = AsyncThrowingBackpressureStream { continuation in
1519 |             try await self.forwardScanEntries(after: self.firstInsertionCursor) { entry in
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1520 |                 try await continuation.yield(entry)
1521 |                 return true
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1506:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1504 | extension DiskPersistence.Datastore.Index {
1505 |     @discardableResult
1506 |     func copy(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1507 |         into newDatastore: DiskPersistence<ReadWrite>.Datastore,
1508 |         rootObjectManifest: inout DatastoreRootManifest,
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
[64/75] Compiling CodableDatastore DatastorePageEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:44:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  42 |         deinit {
  43 |             Task { [id, datastore] in
  44 |                 await datastore.invalidate(id)
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  45 |             }
  46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:43:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  41 |
  42 |         deinit {
  43 |             Task { [id, datastore] in
     |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  44 |                 await datastore.invalidate(id)
  45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:123:24: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 121 |
 122 |             let loader = Task {
 123 |                 if let _manifest { return _manifest }
     |                        `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 124 |
 125 |                 let manifest = try await DatastoreIndexManifest(contentsOf: manifestURL, id: id.manifestID)
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:119:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 117 | extension DiskPersistence.Datastore.Index {
 118 |     private var manifest: DatastoreIndexManifest {
 119 |         get async throws {
     |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 120 |             if let manifestTask { return try await manifestTask.value }
 121 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:420:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 418 |             in: try await manifest.orderedPages,
 419 |             requiresCompleteEntries: requiresCompleteEntries,
 420 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 421 |             comparator: comparator
 422 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:408:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 406 |     }
 407 |
 408 |     func entry<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 409 |         for proposedEntry: T,
 410 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:582:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 580 |             in: try await manifest.orderedPages,
 581 |             requiresCompleteEntries: requiresCompleteEntries,
 582 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 583 |             comparator: comparator
 584 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:573:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 571 |     }
 572 |
 573 |     func insertionCursor<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 574 |         for proposedEntry: T,
 575 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:721:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 719 |             after: startCursor,
 720 |             in: try await manifest.orderedPages,
 721 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 722 |             entryHandler: entryHandler
 723 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:714:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 712 |
 713 | extension DiskPersistence.Datastore.Index {
 714 |     func forwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 715 |         after startCursor: DiskPersistence.InsertionCursor,
 716 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:796:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 794 |             before: startCursor,
 795 |             in: try await manifest.orderedPages,
 796 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 797 |             entryHandler: entryHandler
 798 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:789:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 787 |     }
 788 |
 789 |     func backwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 790 |         before startCursor: DiskPersistence.InsertionCursor,
 791 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1519:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1517 |
1518 |         let stream = AsyncThrowingBackpressureStream { continuation in
1519 |             try await self.forwardScanEntries(after: self.firstInsertionCursor) { entry in
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1520 |                 try await continuation.yield(entry)
1521 |                 return true
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1506:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1504 | extension DiskPersistence.Datastore.Index {
1505 |     @discardableResult
1506 |     func copy(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1507 |         into newDatastore: DiskPersistence<ReadWrite>.Datastore,
1508 |         rootObjectManifest: inout DatastoreRootManifest,
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
[65/75] Compiling CodableDatastore DatastorePageEntryBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:44:23: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  42 |         deinit {
  43 |             Task { [id, datastore] in
  44 |                 await datastore.invalidate(id)
     |                       `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  45 |             }
  46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:43:25: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  41 |
  42 |         deinit {
  43 |             Task { [id, datastore] in
     |                         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
  44 |                 await datastore.invalidate(id)
  45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:123:24: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 121 |
 122 |             let loader = Task {
 123 |                 if let _manifest { return _manifest }
     |                        `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 124 |
 125 |                 let manifest = try await DatastoreIndexManifest(contentsOf: manifestURL, id: id.manifestID)
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:119:9: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 117 | extension DiskPersistence.Datastore.Index {
 118 |     private var manifest: DatastoreIndexManifest {
 119 |         get async throws {
     |         `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 120 |             if let manifestTask { return try await manifestTask.value }
 121 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:420:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 418 |             in: try await manifest.orderedPages,
 419 |             requiresCompleteEntries: requiresCompleteEntries,
 420 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 421 |             comparator: comparator
 422 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:408:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 406 |     }
 407 |
 408 |     func entry<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 409 |         for proposedEntry: T,
 410 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:582:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 580 |             in: try await manifest.orderedPages,
 581 |             requiresCompleteEntries: requiresCompleteEntries,
 582 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 583 |             comparator: comparator
 584 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:573:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 571 |     }
 572 |
 573 |     func insertionCursor<T>(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 574 |         for proposedEntry: T,
 575 |         requiresCompleteEntries: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:721:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 719 |             after: startCursor,
 720 |             in: try await manifest.orderedPages,
 721 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 722 |             entryHandler: entryHandler
 723 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:714:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 712 |
 713 | extension DiskPersistence.Datastore.Index {
 714 |     func forwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 715 |         after startCursor: DiskPersistence.InsertionCursor,
 716 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:796:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 794 |             before: startCursor,
 795 |             in: try await manifest.orderedPages,
 796 |             pageBuilder: { await datastore.page(for: .init(index: self.id, page: $0)) },
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 797 |             entryHandler: entryHandler
 798 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:789:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 787 |     }
 788 |
 789 |     func backwardScanEntries(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
 790 |         before startCursor: DiskPersistence.InsertionCursor,
 791 |         entryHandler: @Sendable (_ entry: DatastorePageEntry) async throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1519:28: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1517 |
1518 |         let stream = AsyncThrowingBackpressureStream { continuation in
1519 |             try await self.forwardScanEntries(after: self.firstInsertionCursor) { entry in
     |                            `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1520 |                 try await continuation.yield(entry)
1521 |                 return true
/Users/admin/builder/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Datastore/DatastoreIndex.swift:1506:10: warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1504 | extension DiskPersistence.Datastore.Index {
1505 |     @discardableResult
1506 |     func copy(
     |          `- warning: capture of non-sendable type 'AccessMode.Type' in an isolated closure
1507 |         into newDatastore: DiskPersistence<ReadWrite>.Datastore,
1508 |         rootObjectManifest: inout DatastoreRootManifest,
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
[66/75] Compiling CodableDatastore Transaction.swift
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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]))
/Users/admin/builder/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,
[67/75] Compiling CodableDatastore TypedIdentifier.swift
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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]))
/Users/admin/builder/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,
[68/75] Compiling CodableDatastore MemoryPersistence.swift
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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]))
/Users/admin/builder/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,
[69/75] Compiling CodableDatastore Persistence.swift
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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]))
/Users/admin/builder/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,
[70/75] Compiling CodableDatastore TransactionOptions.swift
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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]))
/Users/admin/builder/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,
[71/75] Compiling CodableDatastore Configuration.swift
/Users/admin/builder/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: []
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
[72/75] Compiling CodableDatastore Datastore.swift
/Users/admin/builder/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: []
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
[73/75] Compiling CodableDatastore DatastoreDescriptor.swift
/Users/admin/builder/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: []
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
[74/75] Compiling CodableDatastore DatastoreError.swift
/Users/admin/builder/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: []
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
[75/75] Compiling CodableDatastore DatastoreFormat.swift
/Users/admin/builder/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: []
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
Build complete! (11.46s)
Fetching https://github.com/mochidev/Bytes.git
Fetching https://github.com/mochidev/AsyncSequenceReader.git
[1/226] Fetching asyncsequencereader
[203/678] Fetching asyncsequencereader, bytes
Fetched https://github.com/mochidev/AsyncSequenceReader.git from cache (0.65s)
[118/452] Fetching bytes
Fetched https://github.com/mochidev/Bytes.git from cache (0.75s)
Computing version for https://github.com/mochidev/AsyncSequenceReader.git
Computed https://github.com/mochidev/AsyncSequenceReader.git at 0.3.1 (1.18s)
Computing version for https://github.com/mochidev/Bytes.git
Computed https://github.com/mochidev/Bytes.git at 0.3.1 (2.60s)
Creating working copy for https://github.com/mochidev/AsyncSequenceReader.git
Working copy of https://github.com/mochidev/AsyncSequenceReader.git resolved at 0.3.1
Creating working copy for https://github.com/mochidev/Bytes.git
Working copy of https://github.com/mochidev/Bytes.git resolved at 0.3.1
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" : "/Users/admin/builder/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"
}
Done.