Build Information
Successful build of CoreStore, reference develop (104def
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 09:03:50 UTC.
Swift 6 data race errors: 29
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[167/178] Compiling CoreStore ListMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[168/178] Compiling CoreStore ListObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[169/178] Compiling CoreStore ListPublisher+Reactive.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[170/178] Compiling CoreStore ListPublisher.SnapshotPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[171/178] Compiling CoreStore ListPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[172/178] Compiling CoreStore ListReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[173/178] Compiling CoreStore ListSnapshot.SectionInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[174/178] Compiling CoreStore ListSnapshot.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[175/178] Compiling CoreStore ListState.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[176/178] Compiling CoreStore MigrationChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[177/178] Compiling CoreStore MigrationProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
[178/178] Compiling CoreStore MigrationResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1167:34: warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1165 | self.transactionQueue.async { [weak self] in
1166 |
1167 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1168 |
1169 | return
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1173:25: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1171 | do {
1172 |
1173 | try newFetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1174 | }
1175 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1184:17: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1182 | self.fetchedResultsControllerDelegate.enabled = false
1183 | }
1184 | newFetchedResultsControllerDelegate.taskGroup.notify(queue: .main) { [weak self] () -> Void in
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1185 |
1186 | guard let self = self else {
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:95: warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsController' with non-sendable type 'Internals.CoreStoreFetchedResultsController' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.CoreStoreFetchedResultsController.swift:36:26: note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
34 | // MARK: - CoreStoreFetchedResultsController
35 |
36 | internal final class CoreStoreFetchedResultsController: NSFetchedResultsController<NSManagedObject> {
| `- note: class 'CoreStoreFetchedResultsController' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1191:124: warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1189 | }
1190 |
1191 | (self.fetchedResultsController, self.fetchedResultsControllerDelegate) = (newFetchedResultsController, newFetchedResultsControllerDelegate)
| `- warning: capture of 'newFetchedResultsControllerDelegate' with non-sendable type 'Internals.FetchedResultsControllerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
1192 | newFetchedResultsControllerDelegate.enabled = true
1193 |
/Users/admin/builder/spi-builder-workspace/Sources/Internals.FetchedResultsControllerDelegate.swift:67:26: note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
65 | // MARK: - FetchedResultsControllerDelegate
66 |
67 | internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate {
| `- note: class 'FetchedResultsControllerDelegate' does not conform to the 'Sendable' protocol
68 |
69 | // MARK: Internal
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1198:43: warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1196 | newFetchedResultsController.managedObjectContext.saveMetadata = .init(
1197 | isSavingSynchronously: false,
1198 | sourceIdentifier: sourceIdentifier
| `- warning: capture of 'sourceIdentifier' with non-sendable type 'Any?' in an isolated closure; this is an error in the Swift 6 language mode
1199 | )
1200 | NotificationCenter.default.post(
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1389:22: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1387 | transactionQueue.async {
1388 |
1389 | try! self.fetchedResultsController.performFetchFromSpecifiedStores()
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:21: warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| |- warning: capture of 'createAsynchronously' with non-sendable type '(ListMonitor<O>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListMonitor.swift:1392:42: warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
67 | In the example above, both `person1` and `person2` will contain the object at section=2, index=3.
68 | */
69 | public final class ListMonitor<O: DynamicObject>: Hashable {
| `- note: generic class 'ListMonitor' does not conform to the 'Sendable' protocol
70 |
71 | // MARK: Public (Accessors)
:
1390 | self.taskGroup.notify(queue: .main) {
1391 |
1392 | createAsynchronously(self)
| `- warning: capture of 'self' with non-sendable type 'ListMonitor<O>' in an isolated closure; this is an error in the Swift 6 language mode
1393 | }
1394 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
341 | private var observer: Observer
342 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:72:14: warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | ) {
71 |
72 | self.observer = .init(listPublisher: listPublisher)
| `- warning: main actor-isolated property 'observer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: mutation of this property is only permitted within the actor
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:321:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
319 | public var wrappedValue: ListSnapshot<Object> {
320 |
321 | return self.observer.items
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
322 | }
323 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:326:21: warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | public var projectedValue: ListPublisher<Object> {
325 |
326 | return self.observer.listPublisher
| `- warning: main actor-isolated property 'observer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
327 | }
328 |
:
339 |
340 | @ObservedObject
341 | private var observer: Observer
| `- note: property declared here
342 |
343 |
/Users/admin/builder/spi-builder-workspace/Sources/ListPublisher.SnapshotPublisher.swift:149:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
147 | DispatchQueue.main.async {
148 |
149 | self.publisher.removeObserver(self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/ListState.swift:340:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
338 | // MARK: Private
339 |
340 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
341 | private var observer: Observer
342 |
Build complete! (24.12s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CoreStore",
"name" : "CoreStore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "CoreStore",
"targets" : [
"CoreStore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CoreStoreTests",
"module_type" : "SwiftTarget",
"name" : "CoreStoreTests",
"path" : "CoreStoreTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/CoreStoreTests/Model.xcdatamodeld",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BaseTestCase.swift",
"BaseTestDataTestCase.swift",
"ConvenienceTests.swift",
"DynamicModelTests.swift",
"ErrorTests.swift",
"FetchTests.swift",
"FromTests.swift",
"GroupByTests.swift",
"ImportTests.swift",
"IntoTests.swift",
"ListObserverTests.swift",
"ListPublisherTests.swift",
"MigrationChainTests.swift",
"ObjectObserverTests.swift",
"ObjectPublisherTests.swift",
"OrderByTests.swift",
"QueryTests.swift",
"SectionByTests.swift",
"SelectTests.swift",
"SetupTests.swift",
"StorageInterfaceTests.swift",
"TestEntity1.swift",
"TestEntity2.swift",
"TransactionTests.swift",
"TweakTests.swift",
"VersionLockTests.swift",
"WhereTests.swift"
],
"target_dependencies" : [
"CoreStore"
],
"type" : "test"
},
{
"c99name" : "CoreStore",
"module_type" : "SwiftTarget",
"name" : "CoreStore",
"path" : "Sources",
"product_memberships" : [
"CoreStore"
],
"sources" : [
"AsynchronousDataTransaction.swift",
"AttributeProtocol.swift",
"BaseDataTransaction+Importing.swift",
"BaseDataTransaction+Querying.swift",
"BaseDataTransaction.swift",
"CoreDataNativeType.swift",
"CoreStore+CustomDebugStringConvertible.swift",
"CoreStore+Logging.swift",
"CoreStoreDefaults.swift",
"CoreStoreError.swift",
"CoreStoreLogger.swift",
"CoreStoreManagedObject.swift",
"CoreStoreObject+Convenience.swift",
"CoreStoreObject+DataSources.swift",
"CoreStoreObject+Observing.swift",
"CoreStoreObject+Querying.swift",
"CoreStoreObject.swift",
"CoreStoreSchema.swift",
"CoreStoreStrings.swift",
"CustomSchemaMappingProvider.swift",
"DataStack+Concurrency.swift",
"DataStack+DataSources.swift",
"DataStack+Migration.swift",
"DataStack+Observing.swift",
"DataStack+Querying.swift",
"DataStack+Reactive.swift",
"DataStack+Transaction.swift",
"DataStack.AddStoragePublisher.swift",
"DataStack.swift",
"DefaultLogger.swift",
"DiffableDataSource.BaseAdapter.swift",
"DiffableDataSource.CollectionViewAdapter-AppKit.swift",
"DiffableDataSource.CollectionViewAdapter-UIKit.swift",
"DiffableDataSource.TableViewAdapter-UIKit.swift",
"DiffableDataSource.Target.swift",
"DiffableDataSource.swift",
"DiffableDataSourceSnapshotProtocol.swift",
"Differentiable.swift",
"DispatchQueue+CoreStore.swift",
"DynamicObject.swift",
"DynamicSchema+Convenience.swift",
"DynamicSchema.swift",
"Entity.swift",
"EnvironmentValues+DataSources.swift",
"FIeldRelationshipType.swift",
"FetchChainBuilder.swift",
"FetchableSource.swift",
"Field.Coded.swift",
"Field.Relationship.swift",
"Field.Stored.swift",
"Field.Virtual.swift",
"Field.swift",
"FieldAttributeProtocol.swift",
"FieldCoderType.swift",
"FieldCoders.DefaultNSSecureCoding.swift",
"FieldCoders.Json.swift",
"FieldCoders.NSCoding.swift",
"FieldCoders.Plist.swift",
"FieldCoders.swift",
"FieldOptionalType.swift",
"FieldProtocol.swift",
"FieldRelationshipProtocol.swift",
"FieldStorableType.swift",
"ForEach+SwiftUI.swift",
"From+Querying.swift",
"From.swift",
"GroupBy.swift",
"ImportableAttributeType.swift",
"ImportableObject.swift",
"ImportableUniqueObject.swift",
"InMemoryStore.swift",
"InferredSchemaMappingProvider.swift",
"Internals.AnyFieldCoder.swift",
"Internals.Closure.swift",
"Internals.CoreStoreFetchRequest.swift",
"Internals.CoreStoreFetchedResultsController.swift",
"Internals.DiffableDataSourceSnapshot.swift",
"Internals.DiffableDataUIDispatcher.Changeset.swift",
"Internals.DiffableDataUIDispatcher.DiffResult.swift",
"Internals.DiffableDataUIDispatcher.StagedChangeset.swift",
"Internals.DiffableDataUIDispatcher.swift",
"Internals.EntityIdentifier.swift",
"Internals.FetchedDiffableDataSourceSnapshotDelegate.swift",
"Internals.FetchedResultsControllerDelegate.swift",
"Internals.LazyNonmutating.swift",
"Internals.MigrationManager.swift",
"Internals.NotificationObserver.swift",
"Internals.SharedNotificationObserver.swift",
"Internals.WeakObject.swift",
"Internals.swift",
"Into.swift",
"KeyPath+KeyPaths.swift",
"KeyPath+Querying.swift",
"KeyPathGenericBindings.swift",
"KeyPathStringConvertible.swift",
"ListMonitor.swift",
"ListObserver.swift",
"ListPublisher+Reactive.swift",
"ListPublisher.SnapshotPublisher.swift",
"ListPublisher.swift",
"ListReader.swift",
"ListSnapshot.SectionInfo.swift",
"ListSnapshot.swift",
"ListState.swift",
"MigrationChain.swift",
"MigrationProgress.swift",
"MigrationResult.swift",
"MigrationType.swift",
"Module.swift",
"NSEntityDescription+DynamicModel.swift",
"NSEntityDescription+Migration.swift",
"NSFetchedResultsController+Convenience.swift",
"NSManagedObject+Convenience.swift",
"NSManagedObject+DynamicModel.swift",
"NSManagedObject+Logging.swift",
"NSManagedObject+Transaction.swift",
"NSManagedObjectContext+CoreStore.swift",
"NSManagedObjectContext+Logging.swift",
"NSManagedObjectContext+Querying.swift",
"NSManagedObjectContext+Setup.swift",
"NSManagedObjectContext+Transaction.swift",
"NSManagedObjectModel+Migration.swift",
"NSPersistentStore+Setup.swift",
"NSPersistentStoreCoordinator+Setup.swift",
"ObjectMonitor.swift",
"ObjectObserver.swift",
"ObjectProxy.swift",
"ObjectPublisher+Reactive.swift",
"ObjectPublisher.SnapshotPublisher.swift",
"ObjectPublisher.swift",
"ObjectReader.swift",
"ObjectRepresentation.swift",
"ObjectSnapshot.swift",
"ObjectState.swift",
"Operators.swift",
"OrderBy.swift",
"PartialObject.swift",
"Progress+Convenience.swift",
"PropertyProtocol.swift",
"QueryChainBuilder.swift",
"QueryableAttributeType.swift",
"QueryableSource.swift",
"Relationship.ToManyOrdered.swift",
"Relationship.ToManyUnordered.swift",
"Relationship.ToOne.swift",
"Relationship.swift",
"RelationshipProtocol.swift",
"SQLiteStore.swift",
"SchemaHistory.swift",
"SchemaMappingProvider.swift",
"SectionBy.swift",
"SectionMonitorBuilder.swift",
"Select.swift",
"SetupResult.swift",
"StorageInterface.swift",
"String+KeyPaths.swift",
"SynchronousDataTransaction.swift",
"Transformable.Optional.swift",
"Transformable.Required.swift",
"Transformable.swift",
"Tweak.swift",
"TypeErasedClauses.swift",
"UnsafeDataModelSchema.swift",
"UnsafeDataTransaction+Observing.swift",
"UnsafeDataTransaction.swift",
"UserInfo.swift",
"Value.Optional.swift",
"Value.Required.swift",
"Value.swift",
"VersionLock.swift",
"Where.Expression.swift",
"Where.swift",
"WhereClauseType.swift",
"XcodeDataModelSchema.swift",
"XcodeSchemaMappingProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.