Build Information
Successful build of BMO with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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 2e49230 Fix the remaining Sendability warnings
Cloned https://github.com/Frizlab/BMO.git
Revision (git rev-parse @):
2e492302a6c3b2a2c87ec74bfc2331a0b482490d
SUCCESS checkout https://github.com/Frizlab/BMO.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Frizlab/BMO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/23] Compiling BMO GenericLocalDbObject.swift
[5/23] Compiling BMO LocalDbChanges.swift
[6/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 {
[7/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 {
[8/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>
[9/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>
[10/25] Compiling BMO RequestResult.swift
[11/25] Compiling BMO ErrorCollection.swift
[12/25] Compiling BMO RelationshipMergeType.swift
[13/25] Compiling BMO MapError.swift
[14/25] Compiling BMO OperationLifecycleError.swift
[15/25] Compiling BMO RequestError.swift
[16/25] Compiling BMO Result+Utils.swift
[17/25] Compiling BMO DummyRequestHelper.swift
[18/25] Compiling BMO RemoteDb-Protocol.swift
[19/25] Compiling BMO Request.swift
[20/25] 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>
[21/25] Compiling BMO Bridge-Protocol.swift
[22/25] Compiling BMO BridgeObjects-Protocol.swift
[23/25] Compiling BMO LocalDb-Protocol.swift
[24/25] Compiling BMO RequestHelperCollection.swift
[25/25] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[26/45] Emitting module BMOCoreData
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/BMOProtocolsConformance/NSManagedObject+BMO.swift:23:1: warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'LocalDbObjectProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
21 |
22 |
23 | extension NSManagedObject : LocalDbObjectProtocol {
| |- warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'LocalDbObjectProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | public typealias DbID = NSManagedObjectID
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/BMOProtocolsConformance/NSManagedObjectContext+BMO.swift:23:1: warning: extension declares a conformance of imported type 'NSManagedObjectContext' to imported protocol 'LocalDbContextProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
21 |
22 |
23 | extension NSManagedObjectContext : LocalDbContextProtocol {
| |- warning: extension declares a conformance of imported type 'NSManagedObjectContext' to imported protocol 'LocalDbContextProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | public func performRW(_ block: @escaping () -> Void) {
[27/47] Compiling BMOCoreData CoreDataAPI+Create-Saved.swift
[28/47] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Discarded.swift
[29/47] Compiling BMOCoreData CoreDataAPI+Fetch.swift
[30/47] Compiling BMOCoreData CoreDataAPI+Update-Discarded.swift
[31/47] Compiling BMOCoreData Loggers.swift
[32/47] Compiling BMOCoreData NSManagedObjectContext+Utils.swift
[33/47] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Saved.swift
[34/47] Compiling BMOCoreData CoreDataAPI+Delete.swift
[35/47] Compiling BMOCoreData CoreDataAPI+Update-Saved.swift
[36/47] Compiling BMOCoreData CoreDataAPI.swift
[37/47] Compiling BMOCoreData NSFetchRequest+Utils.swift
[38/47] Compiling BMOCoreData NSManagedObject+Utils.swift
[39/47] Compiling BMOCoreData BMOCoreDataSaveRequestHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/BMOProtocolsConformance/NSManagedObject+BMO.swift:23:1: warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'LocalDbObjectProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
21 |
22 |
23 | extension NSManagedObject : LocalDbObjectProtocol {
| |- warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'LocalDbObjectProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | public typealias DbID = NSManagedObjectID
[40/47] Compiling BMOCoreData NSManagedObject+BMO.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/BMOProtocolsConformance/NSManagedObject+BMO.swift:23:1: warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'LocalDbObjectProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
21 |
22 |
23 | extension NSManagedObject : LocalDbObjectProtocol {
| |- warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'LocalDbObjectProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | public typealias DbID = NSManagedObjectID
[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/BMOProtocolsConformance/NSManagedObjectContext+BMO.swift:23:1: warning: extension declares a conformance of imported type 'NSManagedObjectContext' to imported protocol 'LocalDbContextProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
21 |
22 |
23 | extension NSManagedObjectContext : LocalDbContextProtocol {
| |- warning: extension declares a conformance of imported type 'NSManagedObjectContext' to imported protocol 'LocalDbContextProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | public func performRW(_ block: @escaping () -> Void) {
[44/47] Compiling BMOCoreData CoreDataAPI+Create-Discarded.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreData/BMOProtocolsConformance/NSManagedObjectContext+BMO.swift:23:1: warning: extension declares a conformance of imported type 'NSManagedObjectContext' to imported protocol 'LocalDbContextProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
21 |
22 |
23 | extension NSManagedObjectContext : LocalDbContextProtocol {
| |- warning: extension declares a conformance of imported type 'NSManagedObjectContext' to imported protocol 'LocalDbContextProtocol'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | public func performRW(_ block: @escaping () -> Void) {
[45/47] Compiling BMOCoreData Errors.swift
[46/47] Compiling BMOCoreData BMOCoreDataImporter.swift
[47/47] Compiling BMOCoreData BMOCoreDataFetchRequestHelper.swift
Build complete! (25.95s)
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.