Build Information
Successful build of BMO, reference main (5d46c8
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 18:28:51 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/BMO.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/BMO
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5d46c8b Dummy typo fix
Cloned https://github.com/Frizlab/BMO.git
Revision (git rev-parse @):
5d46c8b2d3487a80ef612e9f48ded7bd757e9453
SUCCESS checkout https://github.com/Frizlab/BMO.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Frizlab/BMO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/23] Emitting module BMO
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:20:20: warning: class 'LocalDbImportOperation' must restate inherited '@unchecked Sendable' conformance
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- warning: class 'LocalDbImportOperation' must restate inherited '@unchecked Sendable' conformance
21 |
22 | public enum Request {
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:22:20: warning: class 'RequestOperation' must restate inherited '@unchecked Sendable' conformance
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- warning: class 'RequestOperation' must restate inherited '@unchecked Sendable' conformance
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
[5/25] Compiling BMO RequestHelperCollection.swift
[6/25] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[7/25] Compiling BMO RelationshipMergeType.swift
[8/25] Compiling BMO MapError.swift
[9/25] Compiling BMO GenericLocalDbObject.swift
[10/25] Compiling BMO LocalDbChanges.swift
[11/25] Compiling BMO RequestResult.swift
[12/25] Compiling BMO ErrorCollection.swift
[13/25] Compiling BMO OperationLifecycleError.swift
[14/25] Compiling BMO RequestError.swift
[15/25] Compiling BMO RemoteDb-Protocol.swift
[16/25] Compiling BMO Request.swift
[17/25] Compiling BMO Bridge-Protocol.swift
[18/25] Compiling BMO BridgeObjects-Protocol.swift
[19/25] Compiling BMO LocalDb-Protocol.swift
[20/25] Compiling BMO RequestHelper-Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:22:20: warning: class 'RequestOperation' must restate inherited '@unchecked Sendable' conformance
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- warning: class 'RequestOperation' must restate inherited '@unchecked Sendable' conformance
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:174:51: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:155:7: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
153 | private extension RequestOperation {
154 |
155 | func onContext_beginOperation() -> RequestError? {
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
156 | var step: RequestError.FailureStep = .none
157 | do {
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:208:51: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:197:7: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
195 | }
196 |
197 | func continueOperation(finishedRemoteOperation: Bridge.RemoteDb.RemoteOperation, userInfo: Bridge.UserInfo) -> RequestError? {
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
198 | /* Step 4: Create the import operation and launch it. */
199 | let step: RequestError.FailureStep = .none
[21/25] Compiling BMO RequestOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:22:20: warning: class 'RequestOperation' must restate inherited '@unchecked Sendable' conformance
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- warning: class 'RequestOperation' must restate inherited '@unchecked Sendable' conformance
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:174:51: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:155:7: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
153 | private extension RequestOperation {
154 |
155 | func onContext_beginOperation() -> RequestError? {
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
156 | var step: RequestError.FailureStep = .none
157 | do {
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:208:51: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:197:7: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
195 | }
196 |
197 | func continueOperation(finishedRemoteOperation: Bridge.RemoteDb.RemoteOperation, userInfo: Bridge.UserInfo) -> RequestError? {
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
198 | /* Step 4: Create the import operation and launch it. */
199 | let step: RequestError.FailureStep = .none
[22/25] Compiling BMO LocalDbImportOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:20:20: warning: class 'LocalDbImportOperation' must restate inherited '@unchecked Sendable' conformance
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- warning: class 'LocalDbImportOperation' must restate inherited '@unchecked Sendable' conformance
21 |
22 | public enum Request {
[23/25] Compiling BMO LocalDbImporter-Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:20:20: warning: class 'LocalDbImportOperation' must restate inherited '@unchecked Sendable' conformance
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- warning: class 'LocalDbImportOperation' must restate inherited '@unchecked Sendable' conformance
21 |
22 | public enum Request {
[24/25] Compiling BMO Result+Utils.swift
[25/25] Compiling BMO DummyRequestHelper.swift
[26/45] Emitting module BMOCoreData
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:107: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:107: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:157: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:157: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:32:126: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<(createdObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:32:184: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<(importedCreatedObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:32:103: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | settings: Settings? = nil,
31 | autoStart: Bool = true,
32 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:98:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | settings: Settings? = nil,
97 | autoStart: Bool = true,
98 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | ) -> RequestOperation<Bridge> {
100 | let fRequest = Object.fetchRequest()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:98:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | settings: Settings? = nil,
97 | autoStart: Bool = true,
98 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | ) -> RequestOperation<Bridge> {
100 | let fRequest = Object.fetchRequest()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:14:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
12 | extension Logger {
13 |
14 | nonisolated(unsafe) static let importer = {Logger(OSLog.importer)}()
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
15 | nonisolated(unsafe) static let saveRequestHelper = {Logger(OSLog.saveRequestHelper)}()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:15:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
13 |
14 | nonisolated(unsafe) static let importer = {Logger(OSLog.importer)}()
15 | nonisolated(unsafe) static let saveRequestHelper = {Logger(OSLog.saveRequestHelper)}()
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
16 |
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:21:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
19 | extension OSLog {
20 |
21 | nonisolated(unsafe) static let importer = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
22 | return OSLog(subsystem: OSLog.subsystem, category: "Importer")
23 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:25:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
23 | }()
24 |
25 | nonisolated(unsafe) static let saveRequestHelper = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
26 | return OSLog(subsystem: OSLog.subsystem, category: "SaveRequestHelper")
27 | }()
[27/47] Compiling BMOCoreData CoreDataAPI+Fetch.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:98:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | settings: Settings? = nil,
97 | autoStart: Bool = true,
98 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | ) -> RequestOperation<Bridge> {
100 | let fRequest = Object.fetchRequest()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:98:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | settings: Settings? = nil,
97 | autoStart: Bool = true,
98 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | ) -> RequestOperation<Bridge> {
100 | let fRequest = Object.fetchRequest()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:52:4: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | handler(op.result)
51 | }
52 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | }
54 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:50:5: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
48 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
49 | DispatchQueue.main.async{
50 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
51 | }
52 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:50:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
48 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
49 | DispatchQueue.main.async{
50 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
51 | }
52 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:19: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | autoStart: true,
75 | handler: { res in
76 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:68:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | settings: Settings? = nil
67 | ) async throws -> Bridge.RequestResults {
68 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | fetch(
70 | fetchRequest,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:36: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | autoStart: true,
75 | handler: { res in
76 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:124:19: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 | autoStart: true,
123 | handler: { res in
124 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:115:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | settings: Settings? = nil
114 | ) async throws -> Bridge.RequestResults {
115 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 | fetch(
117 | objectType,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:124:36: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 | autoStart: true,
123 | handler: { res in
124 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:54:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | handler(op.result)
53 | }
54 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 | }
56 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:52:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
50 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
51 | DispatchQueue.main.async{
52 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
53 | }
54 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:52:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
50 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
51 | DispatchQueue.main.async{
52 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
53 | }
54 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | discardableUpdates: discardableUpdates,
79 | handler: { res in
80 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 | }
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:72:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void
71 | ) async throws -> Bridge.RequestResults {
72 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 | do {
74 | try update(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:37: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | discardableUpdates: discardableUpdates,
79 | handler: { res in
80 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 | }
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:19: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
74 | autoStart: true,
75 | handler: { res in
76 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
77 | }
78 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:124:19: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
122 | autoStart: true,
123 | handler: { res in
124 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:20: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
78 | discardableUpdates: discardableUpdates,
79 | handler: { res in
80 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
81 | }
82 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[28/47] Compiling BMOCoreData CoreDataAPI+Update-Discarded.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:98:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | settings: Settings? = nil,
97 | autoStart: Bool = true,
98 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | ) -> RequestOperation<Bridge> {
100 | let fRequest = Object.fetchRequest()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:98:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | settings: Settings? = nil,
97 | autoStart: Bool = true,
98 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | ) -> RequestOperation<Bridge> {
100 | let fRequest = Object.fetchRequest()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:52:4: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | handler(op.result)
51 | }
52 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | }
54 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:50:5: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
48 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
49 | DispatchQueue.main.async{
50 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
51 | }
52 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:50:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
48 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
49 | DispatchQueue.main.async{
50 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
51 | }
52 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:40:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
38 | settings: Settings? = nil,
39 | autoStart: Bool = true,
40 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
41 | ) -> RequestOperation<Bridge> {
42 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:19: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | autoStart: true,
75 | handler: { res in
76 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:68:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | settings: Settings? = nil
67 | ) async throws -> Bridge.RequestResults {
68 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | fetch(
70 | fetchRequest,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:36: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | autoStart: true,
75 | handler: { res in
76 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:124:19: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 | autoStart: true,
123 | handler: { res in
124 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:115:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | settings: Settings? = nil
114 | ) async throws -> Bridge.RequestResults {
115 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 | fetch(
117 | objectType,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:124:36: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 | autoStart: true,
123 | handler: { res in
124 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:54:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | handler(op.result)
53 | }
54 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 | }
56 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:52:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
50 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
51 | DispatchQueue.main.async{
52 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
53 | }
54 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:52:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
50 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
51 | DispatchQueue.main.async{
52 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
53 | }
54 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
31 | autoStart: Bool = true,
32 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | discardableUpdates: discardableUpdates,
79 | handler: { res in
80 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 | }
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:72:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | discardableUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void
71 | ) async throws -> Bridge.RequestResults {
72 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 | do {
74 | try update(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:37: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | discardableUpdates: discardableUpdates,
79 | handler: { res in
80 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 | }
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:19: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
74 | autoStart: true,
75 | handler: { res in
76 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
77 | }
78 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:124:19: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
122 | autoStart: true,
123 | handler: { res in
124 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:20: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
78 | discardableUpdates: discardableUpdates,
79 | handler: { res in
80 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
81 | }
82 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[29/47] Compiling BMOCoreData NSManagedObjectContext+BMO.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:107: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:107: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:50:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
48 | handler(op.result)
49 | }
50 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | }
52 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:48:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
46 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
47 | DispatchQueue.main.async{
48 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
49 | }
50 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:48:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
46 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
47 | DispatchQueue.main.async{
48 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
49 | }
50 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:79:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | discardableObjectCreator: discardableObjectCreator,
78 | handler: { res in
79 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:79:20: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | discardableObjectCreator: discardableObjectCreator,
78 | handler: { res in
79 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:71:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
70 | ) async throws -> Bridge.RequestResults {
71 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | do {
73 | try createDiscarded(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:79:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
77 | discardableObjectCreator: discardableObjectCreator,
78 | handler: { res in
79 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
80 | }
81 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[30/47] Compiling BMOCoreData CoreDataAPI+Create-Discarded.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:107: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:107: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:50:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
48 | handler(op.result)
49 | }
50 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | }
52 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:48:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
46 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
47 | DispatchQueue.main.async{
48 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
49 | }
50 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:48:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
46 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
47 | DispatchQueue.main.async{
48 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
49 | }
50 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:79:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | discardableObjectCreator: discardableObjectCreator,
78 | handler: { res in
79 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:79:20: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | discardableObjectCreator: discardableObjectCreator,
78 | handler: { res in
79 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:71:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
70 | ) async throws -> Bridge.RequestResults {
71 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | do {
73 | try createDiscarded(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Discarded.swift:79:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
77 | discardableObjectCreator: discardableObjectCreator,
78 | handler: { res in
79 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
80 | }
81 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[31/47] Compiling BMOCoreData NSPredicate+Utils.swift
[32/47] Compiling BMOCoreData RemoteFetchType.swift
[33/47] Compiling BMOCoreData NSFetchRequest+Utils.swift
[34/47] Compiling BMOCoreData NSManagedObject+Utils.swift
[35/47] Compiling BMOCoreData CoreDataAPI+Update-Saved.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:51:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | handler(op.result)
50 | }
51 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | }
53 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:49:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
47 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
48 | DispatchQueue.main.async{
49 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
50 | }
51 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:49:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
47 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
48 | DispatchQueue.main.async{
49 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
50 | }
51 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 | savedUpdates: savedUpdates,
76 | handler: { res in
77 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:69:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void
68 | ) async throws -> Bridge.RequestResults {
69 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | do {
71 | try update(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:37: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 | savedUpdates: savedUpdates,
76 | handler: { res in
77 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:20: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
75 | savedUpdates: savedUpdates,
76 | handler: { res in
77 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
78 | }
79 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[36/47] Compiling BMOCoreData CoreDataAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:118: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:118: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:51:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | handler(op.result)
50 | }
51 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | }
53 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:49:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
47 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
48 | DispatchQueue.main.async{
49 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
50 | }
51 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:49:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
47 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
48 | DispatchQueue.main.async{
49 | handler(op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
50 | }
51 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:33:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
31 | autoStart: Bool = true,
32 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void,
33 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
34 | ) throws -> RequestOperation<Bridge> {
35 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 | savedUpdates: savedUpdates,
76 | handler: { res in
77 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:69:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | savedUpdates: @escaping @Sendable (_ object: Object, _ managedObjectContext: NSManagedObjectContext) throws -> Void
68 | ) async throws -> Bridge.RequestResults {
69 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | do {
71 | try update(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:37: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 | savedUpdates: savedUpdates,
76 | handler: { res in
77 | continuation.resume(with: res.mapError{ $0 as Error })
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:20: warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
75 | savedUpdates: savedUpdates,
76 | handler: { res in
77 | continuation.resume(with: res.mapError{ $0 as Error })
| |- warning: sending value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: Passing main actor-isolated value of non-Sendable type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' as a 'sending' parameter to instance method 'resume(with:)' risks causing races inbetween main actor-isolated uses and uses reachable from 'resume(with:)'
78 | }
79 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[37/47] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Saved.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:32:184: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<(importedCreatedObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:36:30: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:36:30: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<(importedCreatedObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:66:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | savedObjectCreator: savedObjectCreator,
65 | handler: { _, res in
66 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | }
68 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:58:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
57 | ) async throws -> (importedCreatedObject: Object, results: Bridge.RequestResults) {
58 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 | do {
60 | try createSavedAndGet(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:32:103: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | settings: Settings? = nil,
31 | autoStart: Bool = true,
32 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:43:8: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | let bridgeRequest = settings.deleteObjectBridgeRequest(object, .saveBeforeGoingRemote)
42 | let opRequest = Request(localDb: localDb, localRequest: bridgeRequest, remoteUserInfo: requestUserInfo)
43 | let op = RequestOperation(bridge: bridge, request: opRequest, remoteOperationQueue: settings.remoteOperationQueue, computeOperationQueue: settings.computeOperationQueue, startedOnContext: autoStart)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:61:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 | }
60 | }
61 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | }
63 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:46:22: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
46 | let result = op.result
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
47 | if case .success = result {
48 | /* If the request succeeded, we try and remove the Core Data object. */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:46:22: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
46 | let result = op.result
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
47 | if case .success = result {
48 | /* If the request succeeded, we try and remove the Core Data object. */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:43:8: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
41 | let bridgeRequest = settings.deleteObjectBridgeRequest(object, .saveBeforeGoingRemote)
42 | let opRequest = Request(localDb: localDb, localRequest: bridgeRequest, remoteUserInfo: requestUserInfo)
43 | let op = RequestOperation(bridge: bridge, request: opRequest, remoteOperationQueue: settings.remoteOperationQueue, computeOperationQueue: settings.computeOperationQueue, startedOnContext: autoStart)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:49:15: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.Type' in an isolated closure
47 | if case .success = result {
48 | /* If the request succeeded, we try and remove the Core Data object. */
49 | context.localDb.context.perform{
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.Type' in an isolated closure
50 | context.localDb.context.delete(context.object)
51 | if let error = context.localDb.context.saveOrRollback() {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:84:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
82 | settings: settings, autoStart: true,
83 | handler: { res in
84 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
85 | }
86 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:77:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 | settings: Settings? = nil
76 | ) async throws -> Bridge.RequestResults {
77 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | do {
79 | try delete(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:66:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
64 | savedObjectCreator: savedObjectCreator,
65 | handler: { _, res in
66 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
67 | }
68 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:84:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
82 | settings: settings, autoStart: true,
83 | handler: { res in
84 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
85 | }
86 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[38/47] Compiling BMOCoreData CoreDataAPI+Delete.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:32:184: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<(importedCreatedObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:36:30: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:36:30: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<(importedCreatedObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createSaved(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, savedObjectCreator: savedObjectCreator, handler: { createdObjectID, results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:66:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | savedObjectCreator: savedObjectCreator,
65 | handler: { _, res in
66 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | }
68 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:58:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
57 | ) async throws -> (importedCreatedObject: Object, results: Bridge.RequestResults) {
58 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 | do {
60 | try createSavedAndGet(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:32:103: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | settings: Settings? = nil,
31 | autoStart: Bool = true,
32 | handler: @escaping @Sendable @MainActor (_ results: Result<Bridge.RequestResults, Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:43:8: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | let bridgeRequest = settings.deleteObjectBridgeRequest(object, .saveBeforeGoingRemote)
42 | let opRequest = Request(localDb: localDb, localRequest: bridgeRequest, remoteUserInfo: requestUserInfo)
43 | let op = RequestOperation(bridge: bridge, request: opRequest, remoteOperationQueue: settings.remoteOperationQueue, computeOperationQueue: settings.computeOperationQueue, startedOnContext: autoStart)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:61:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 | }
60 | }
61 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | }
63 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:46:22: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
46 | let result = op.result
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
47 | if case .success = result {
48 | /* If the request succeeded, we try and remove the Core Data object. */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:46:22: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
46 | let result = op.result
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
47 | if case .success = result {
48 | /* If the request succeeded, we try and remove the Core Data object. */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:43:8: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
41 | let bridgeRequest = settings.deleteObjectBridgeRequest(object, .saveBeforeGoingRemote)
42 | let opRequest = Request(localDb: localDb, localRequest: bridgeRequest, remoteUserInfo: requestUserInfo)
43 | let op = RequestOperation(bridge: bridge, request: opRequest, remoteOperationQueue: settings.remoteOperationQueue, computeOperationQueue: settings.computeOperationQueue, startedOnContext: autoStart)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
44 | op.completionBlock = { [context = CompletionContext(object: object, localDb: localDb)] in /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
45 | DispatchQueue.main.async{
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:49:15: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.Type' in an isolated closure
47 | if case .success = result {
48 | /* If the request succeeded, we try and remove the Core Data object. */
49 | context.localDb.context.perform{
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.Type' in an isolated closure
50 | context.localDb.context.delete(context.object)
51 | if let error = context.localDb.context.saveOrRollback() {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:84:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
82 | settings: settings, autoStart: true,
83 | handler: { res in
84 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
85 | }
86 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:77:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 | settings: Settings? = nil
76 | ) async throws -> Bridge.RequestResults {
77 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | do {
79 | try delete(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Saved.swift:66:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
64 | savedObjectCreator: savedObjectCreator,
65 | handler: { _, res in
66 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
67 | }
68 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Delete.swift:84:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
82 | settings: settings, autoStart: true,
83 | handler: { res in
84 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
85 | }
86 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[39/47] Compiling BMOCoreData CoreDataAPI+Create-Saved.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:157: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:157: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:36:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | handler(objectID, op.result)
35 | }
36 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | }
38 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:34:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
32 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
33 | DispatchQueue.main.async{
34 | handler(objectID, op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
35 | }
36 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:34:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
32 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
33 | DispatchQueue.main.async{
34 | handler(objectID, op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
35 | }
36 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:68:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | savedObjectCreator: savedObjectCreator,
67 | handler: { _, res in
68 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | }
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:68:20: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | savedObjectCreator: savedObjectCreator,
67 | handler: { _, res in
68 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | }
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:60:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
59 | ) async throws -> Bridge.RequestResults {
60 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
61 | do {
62 | try createSaved(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:32:126: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<(createdObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:36:30: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:36:30: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<(createdObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:66:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | discardableObjectCreator: discardableObjectCreator,
65 | handler: { res in
66 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | }
68 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:58:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
57 | ) async throws -> (createdObject: Object, results: Bridge.RequestResults) {
58 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 | do {
60 | try createDiscardedAndGet(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:68:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
66 | savedObjectCreator: savedObjectCreator,
67 | handler: { _, res in
68 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
69 | }
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:66:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
64 | discardableObjectCreator: discardableObjectCreator,
65 | handler: { res in
66 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
67 | }
68 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[40/47] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Discarded.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:157: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:157: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:36:5: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | handler(objectID, op.result)
35 | }
36 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | }
38 | if autoStart {
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:34:6: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
32 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
33 | DispatchQueue.main.async{
34 | handler(objectID, op.result)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure
35 | }
36 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:34:6: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
32 | op.completionBlock = { /* We keep a strong ref to op but it’s not a problem because we nullify the completion block at the end of the block. */
33 | DispatchQueue.main.async{
34 | handler(objectID, op.result)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
35 | }
36 | op.completionBlock = nil /* In theory not needed anymore; I never tested that… */
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:17:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
15 | autoStart: Bool = true,
16 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
17 | handler: @escaping @Sendable @MainActor (_ createdObjectIDBeforeImport: NSManagedObjectID, Result<Bridge.RequestResults, RequestError<Bridge>>) -> Void = { _, _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure
18 | ) throws -> RequestOperation<Bridge> {
19 | let settings = settings ?? defaultSettings
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:68:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | savedObjectCreator: savedObjectCreator,
67 | handler: { _, res in
68 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | }
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:68:20: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | savedObjectCreator: savedObjectCreator,
67 | handler: { _, res in
68 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | }
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:60:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 | savedObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
59 | ) async throws -> Bridge.RequestResults {
60 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
61 | do {
62 | try createSaved(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:32:126: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<(createdObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:36:30: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:36:30: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
35 | do {
36 | let result = try results.get()
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | guard let importedObjects = result.dbChanges?.importedObjects,
38 | let createdObject = importedObjects.first?.object as? Object,
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:32:3: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | autoStart: Bool = true,
31 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object,
32 | handler: @escaping @Sendable @MainActor (Result<(createdObject: Object, results: Bridge.RequestResults), Error>) -> Void = { _ in }
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | ) throws -> RequestOperation<Bridge> {
34 | return try createDiscarded(objectType, requestUserInfo: requestUserInfo, settings: settings, autoStart: autoStart, discardableObjectCreator: discardableObjectCreator, handler: { results in
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:66:20: warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | discardableObjectCreator: discardableObjectCreator,
65 | handler: { res in
66 | continuation.resume(with: res)
| `- warning: capture of non-sendable type 'Bridge.BridgeObjects.LocalDb.DbObject.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | }
68 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:58:53: warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | discardableObjectCreator: @escaping @Sendable (_ managedObjectContext: NSManagedObjectContext) throws -> Object
57 | ) async throws -> (createdObject: Object, results: Bridge.RequestResults) {
58 | return try await withCheckedThrowingContinuation{ continuation in
| `- warning: capture of non-sendable type 'Bridge.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 | do {
60 | try createDiscardedAndGet(
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Create-Saved.swift:68:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
66 | savedObjectCreator: savedObjectCreator,
67 | handler: { _, res in
68 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
69 | }
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+CreateAndGet-Discarded.swift:66:20: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
64 | discardableObjectCreator: discardableObjectCreator,
65 | handler: { res in
66 | continuation.resume(with: res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
67 | }
68 | )
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[41/47] Compiling BMOCoreData Loggers.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:14:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
12 | extension Logger {
13 |
14 | nonisolated(unsafe) static let importer = {Logger(OSLog.importer)}()
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
15 | nonisolated(unsafe) static let saveRequestHelper = {Logger(OSLog.saveRequestHelper)}()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:15:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
13 |
14 | nonisolated(unsafe) static let importer = {Logger(OSLog.importer)}()
15 | nonisolated(unsafe) static let saveRequestHelper = {Logger(OSLog.saveRequestHelper)}()
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
16 |
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:21:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
19 | extension OSLog {
20 |
21 | nonisolated(unsafe) static let importer = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
22 | return OSLog(subsystem: OSLog.subsystem, category: "Importer")
23 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:25:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
23 | }()
24 |
25 | nonisolated(unsafe) static let saveRequestHelper = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
26 | return OSLog(subsystem: OSLog.subsystem, category: "SaveRequestHelper")
27 | }()
[42/47] Compiling BMOCoreData NSManagedObjectContext+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:14:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
12 | extension Logger {
13 |
14 | nonisolated(unsafe) static let importer = {Logger(OSLog.importer)}()
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
15 | nonisolated(unsafe) static let saveRequestHelper = {Logger(OSLog.saveRequestHelper)}()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:15:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
13 |
14 | nonisolated(unsafe) static let importer = {Logger(OSLog.importer)}()
15 | nonisolated(unsafe) static let saveRequestHelper = {Logger(OSLog.saveRequestHelper)}()
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'Logger', consider removing it
16 |
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:21:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
19 | extension OSLog {
20 |
21 | nonisolated(unsafe) static let importer = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
22 | return OSLog(subsystem: OSLog.subsystem, category: "Importer")
23 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/Utilities/Private/ Loggers.swift:25:2: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
23 | }()
24 |
25 | nonisolated(unsafe) static let saveRequestHelper = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'OSLog', consider removing it
26 | return OSLog(subsystem: OSLog.subsystem, category: "SaveRequestHelper")
27 | }()
[43/47] Compiling BMOCoreData BMOCoreDataSaveRequestHelper.swift
[44/47] Compiling BMOCoreData NSManagedObject+BMO.swift
[45/47] Compiling BMOCoreData Errors.swift
[46/47] Compiling BMOCoreData BMOCoreDataImporter.swift
[47/47] Compiling BMOCoreData BMOCoreDataFetchRequestHelper.swift
Build complete! (7.13s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BMO",
"name" : "BMO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BMO",
"targets" : [
"BMO"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BMOCoreData",
"targets" : [
"BMOCoreData"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BMOTests",
"module_type" : "SwiftTarget",
"name" : "BMOTests",
"path" : "Tests/BMOTests",
"sources" : [
"BMOTests.swift"
],
"target_dependencies" : [
"BMO"
],
"type" : "test"
},
{
"c99name" : "BMOCoreDataTests",
"module_type" : "SwiftTarget",
"name" : "BMOCoreDataTests",
"path" : "Tests/BMOCoreDataTests",
"sources" : [
"BMOCoreDataTests.swift"
],
"target_dependencies" : [
"BMOCoreData"
],
"type" : "test"
},
{
"c99name" : "BMOCoreData",
"module_type" : "SwiftTarget",
"name" : "BMOCoreData",
"path" : "Sources/BMOCoreData",
"product_memberships" : [
"BMOCoreData"
],
"sources" : [
" Errors.swift",
"BMOImplementations/BMOCoreDataImporter.swift",
"BMOImplementations/RequestHelpers/BMOCoreDataFetchRequestHelper.swift",
"BMOImplementations/RequestHelpers/BMOCoreDataSaveRequestHelper.swift",
"BMOProtocolsConformance/NSManagedObject+BMO.swift",
"BMOProtocolsConformance/NSManagedObjectContext+BMO.swift",
"CoreDataAPI+Create-Discarded.swift",
"CoreDataAPI+Create-Saved.swift",
"CoreDataAPI+CreateAndGet-Discarded.swift",
"CoreDataAPI+CreateAndGet-Saved.swift",
"CoreDataAPI+Delete.swift",
"CoreDataAPI+Fetch.swift",
"CoreDataAPI+Update-Discarded.swift",
"CoreDataAPI+Update-Saved.swift",
"CoreDataAPI.swift",
"Utilities/Private/ Loggers.swift",
"Utilities/Private/NSManagedObjectContext+Utils.swift",
"Utilities/Public/NSFetchRequest+Utils.swift",
"Utilities/Public/NSManagedObject+Utils.swift",
"Utilities/Public/NSPredicate+Utils.swift",
"Utilities/Public/RemoteFetchType.swift"
],
"target_dependencies" : [
"BMO"
],
"type" : "library"
},
{
"c99name" : "BMO",
"module_type" : "SwiftTarget",
"name" : "BMO",
"path" : "Sources/BMO",
"product_memberships" : [
"BMO",
"BMOCoreData"
],
"sources" : [
"Core/Bridge-Protocol.swift",
"Core/BridgeObjects-Protocol.swift",
"Core/LocalDb-Protocol.swift",
"Core/LocalDbImportOperation.swift",
"Core/LocalDbImporter-Protocol.swift",
"Core/RemoteDb-Protocol.swift",
"Core/Request.swift",
"Core/RequestHelper-Protocol.swift",
"Core/RequestOperation.swift",
"Core/RequestResult.swift",
"Errors/ErrorCollection.swift",
"Errors/OperationLifecycleError.swift",
"Errors/RequestError.swift",
"Helpers/GenericLocalDbObject.swift",
"Helpers/LocalDbChanges.swift",
"Helpers/RelationshipMergeType.swift",
"Utilities/Private/MapError.swift",
"Utilities/Private/Result+Utils.swift",
"Utilities/Public/DummyRequestHelper.swift",
"Utilities/Public/RequestHelperCollection.swift",
"Utilities/Public/RequestHelperCollectionForOldRuntimes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.