Build Information
Successful build of BMO, reference main (5d46c8
), with Swift 6.0 for macOS (SPM) on 8 Mar 2025 07:08:19 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "bmo",
"name": "BMO",
"url": "https://github.com/Frizlab/BMO.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BMO",
"dependencies": [
]
}
]
}
Fetching https://github.com/Frizlab/BMO.git
[1/2517] Fetching bmo
Fetched https://github.com/Frizlab/BMO.git from cache (1.05s)
Creating working copy for https://github.com/Frizlab/BMO.git
Working copy of https://github.com/Frizlab/BMO.git resolved at main (5d46c8b)
warning: '.resolve-product-dependencies': dependency 'bmo' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Frizlab/BMO.git
https://github.com/Frizlab/BMO.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.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 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>
[8/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>
[9/25] Compiling BMO Bridge-Protocol.swift
[10/25] Compiling BMO BridgeObjects-Protocol.swift
[11/25] Compiling BMO LocalDb-Protocol.swift
[12/25] Compiling BMO Result+Utils.swift
[13/25] Compiling BMO DummyRequestHelper.swift
[14/25] Compiling BMO GenericLocalDbObject.swift
[15/25] Compiling BMO LocalDbChanges.swift
[16/25] Compiling BMO RelationshipMergeType.swift
[17/25] Compiling BMO MapError.swift
[18/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 {
[19/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 {
[20/25] Compiling BMO RemoteDb-Protocol.swift
[21/25] Compiling BMO Request.swift
[22/25] Compiling BMO RequestResult.swift
[23/25] Compiling BMO ErrorCollection.swift
[24/25] Compiling BMO OperationLifecycleError.swift
[25/25] Compiling BMO RequestError.swift
[26/45] Emitting module BMOCoreData
/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 NSFetchRequest+Utils.swift
[28/47] Compiling BMOCoreData NSManagedObject+Utils.swift
[29/47] Compiling BMOCoreData CoreDataAPI+Create-Saved.swift
/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
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
| `- 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
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
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
67 | }
68 | )
[30/47] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Discarded.swift
/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
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
| `- 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
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
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
67 | }
68 | )
[31/47] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Saved.swift
/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
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
| `- 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
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
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
85 | }
86 | )
[32/47] Compiling BMOCoreData CoreDataAPI+Delete.swift
/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
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
| `- 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
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
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
85 | }
86 | )
[33/47] Compiling BMOCoreData BMOCoreDataSaveRequestHelper.swift
[34/47] Compiling BMOCoreData NSManagedObject+BMO.swift
[35/47] Compiling BMOCoreData CoreDataAPI+Fetch.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:19: warning: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:20: warning: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
81 | }
82 | )
[36/47] Compiling BMOCoreData CoreDataAPI+Update-Discarded.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Fetch.swift:76:19: warning: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Discarded.swift:80:20: warning: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
81 | }
82 | )
[37/47] Compiling BMOCoreData CoreDataAPI+Update-Saved.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:20: warning: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
78 | }
79 | )
[38/47] Compiling BMOCoreData CoreDataAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/CoreDataAPI+Update-Saved.swift:77:20: warning: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; 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: main actor-isolated value of type 'Result<RequestResult<Bridge.BridgeObjects.RemoteDb.RemoteOperation, Bridge.BridgeObjects.LocalDb.DbObject, Bridge.BridgeObjects.Metadata>, any Error>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
78 | }
79 | )
[39/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 | }()
[40/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 | }()
[41/47] Compiling BMOCoreData NSPredicate+Utils.swift
[42/47] Compiling BMOCoreData RemoteFetchType.swift
[43/47] Compiling BMOCoreData NSManagedObjectContext+BMO.swift
/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
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
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
80 | }
81 | )
[44/47] Compiling BMOCoreData CoreDataAPI+Create-Discarded.swift
/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
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
| `- note: main actor-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
80 | }
81 | )
[45/47] Compiling BMOCoreData Errors.swift
[46/47] Compiling BMOCoreData BMOCoreDataImporter.swift
[47/47] Compiling BMOCoreData BMOCoreDataFetchRequestHelper.swift
Build complete! (22.30s)
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.