Build Information
Successful build of RCDataKit, reference main (9a1e86
), with Swift 6.0 for macOS (SPM) on 17 Apr 2025 02:14:08 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/RCCoop/RCDataKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RCCoop/RCDataKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9a1e868 Update README.md
Cloned https://github.com/RCCoop/RCDataKit.git
Revision (git rev-parse @):
9a1e868f327794cf8693532ef49bca233097135e
SUCCESS checkout https://github.com/RCCoop/RCDataKit.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": "rcdatakit",
"name": "RCDataKit",
"url": "https://github.com/RCCoop/RCDataKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RCDataKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/RCCoop/RCDataKit.git
[1/741] Fetching rcdatakit
Fetched https://github.com/RCCoop/RCDataKit.git from cache (0.78s)
Creating working copy for https://github.com/RCCoop/RCDataKit.git
Working copy of https://github.com/RCCoop/RCDataKit.git resolved at main (9a1e868)
warning: '.resolve-product-dependencies': dependency 'rcdatakit' 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/RCCoop/RCDataKit.git
https://github.com/RCCoop/RCDataKit.git
{
"dependencies" : [
],
"manifest_display_name" : "RCDataKit",
"name" : "RCDataKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
}
],
"products" : [
{
"name" : "RCDataKit",
"targets" : [
"RCDataKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RCDataKitTests",
"module_type" : "SwiftTarget",
"name" : "RCDataKitTests",
"path" : "Tests/RCDataKitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RCDataKitTests/TestsDataModel/Sample Data/OldStudentsStore.sqlite",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RCDataKitTests/TestsDataModel/Sample Data/SchoolsData.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RCDataKitTests/TestsDataModel/Sample Data/TestSubjects.csv",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Stacks/ModelAuthors.swift",
"Stacks/ModelVersions.swift",
"Stacks/TestModelManager.swift",
"Stacks/TestingStacks.swift",
"TestsDataModel/ImportedDataTypes/SchoolImport.swift",
"TestsDataModel/ImportedDataTypes/StudentImport.swift",
"TestsDataModel/ImportedDataTypes/TeacherImport.swift",
"TestsDataModel/ImportedDataTypes/TestSubjectImport.swift",
"TestsDataModel/ManagedObjectTypes/ManualModelCreation.swift",
"TestsDataModel/ManagedObjectTypes/Person.swift",
"TestsDataModel/ManagedObjectTypes/School.swift",
"TestsDataModel/ManagedObjectTypes/Student.swift",
"TestsDataModel/ManagedObjectTypes/Teacher.swift",
"TestsDataModel/ManagedObjectTypes/TestSubject.swift",
"TestsDataModel/Sample Data/SchoolsData.swift",
"TestsDataModel/Sample Data/TestSubjectsData.swift",
"XCTestCaseHelpers/Sleep.swift",
"XCTests/Internal Utilities Tests/KeyPathTests.swift",
"XCTests/Internal Utilities Tests/XCTestCase+FatalError.swift",
"XCTests/NSExtension Tests/FetchRequestBuilderTests.swift",
"XCTests/NSExtension Tests/ManagedObjectContextTests.swift",
"XCTests/NSExtension Tests/PredicateTests.swift",
"XCTests/RCDataKit Protocol Tests/PersistableTests.swift",
"XCTests/RCDataKit Protocol Tests/UpdatableManagedObjectTests.swift",
"XCTests/System Tests/PersistentHistoryTest.swift",
"XCTests/System Tests/StagedMigrationTest.swift"
],
"target_dependencies" : [
"RCDataKit"
],
"type" : "test"
},
{
"c99name" : "RCDataKit",
"module_type" : "SwiftTarget",
"name" : "RCDataKit",
"path" : "Sources/RCDataKit",
"product_memberships" : [
"RCDataKit"
],
"sources" : [
"Basic Protocols/ModelManager.swift",
"Basic Protocols/ModelVersion.swift",
"Basic Protocols/Persistable.swift",
"Basic Protocols/TransactionAuthor.swift",
"Basic Protocols/UpdatableManagedObject.swift",
"Data Stack/DataStack Implementations/BasicDataStack.swift",
"Data Stack/DataStack Implementations/PreviewStack.swift",
"Data Stack/DataStack Implementations/TestingStack.swift",
"Data Stack/DataStackProtocol.swift",
"Data Stack/Helpers/DataStackLogger.swift",
"Data Stack/Helpers/PersistentHistoryTrackingOptions.swift",
"Data Stack/Helpers/SwiftUI+DataStack.swift",
"Internal Utilities/FatalError+Testing.swift",
"Internal Utilities/KeyPathString.swift",
"NSExtensions/NSFetchRequest+Builders.swift",
"NSExtensions/NSManagedObjectContext+.swift",
"NSExtensions/NSManagedObjectModel+.swift",
"NSExtensions/NSPersistentContainer+Load.swift",
"NSExtensions/NSPredicate+.swift",
"NSExtensions/NSSortDescriptor+.swift",
"NSExtensions/TypedObjectID.swift",
"NSExtensions/UTType+ManagedObjectModel.swift",
"PersistentHistoryTracking/PersistentHistoryCleaner.swift",
"PersistentHistoryTracking/PersistentHistoryFetcher.swift",
"PersistentHistoryTracking/PersistentHistoryMerger.swift",
"PersistentHistoryTracking/PersistentHistoryTimestampManager.swift",
"PersistentHistoryTracking/PersistentHistoryTracker.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/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/28] Emitting module RCDataKit
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:15:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct FatalErrorUtility {
14 | // Called by the custom implementation of `fatalError`.
15 | static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
| |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // backup of the original Swift `fatalError`
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:18:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // backup of the original Swift `fatalError`
18 | private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
| |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Replace the `fatalError` global function with something else.
[4/30] Compiling RCDataKit UTType+ManagedObjectModel.swift
[5/30] Compiling RCDataKit PersistentHistoryCleaner.swift
[6/30] Compiling RCDataKit PersistentHistoryTimestampManager.swift
[7/30] Compiling RCDataKit PersistentHistoryTracker.swift
[8/30] Compiling RCDataKit NSManagedObjectContext+.swift
[9/30] Compiling RCDataKit NSManagedObjectModel+.swift
[10/30] Compiling RCDataKit NSPersistentContainer+Load.swift
[11/30] Compiling RCDataKit NSPredicate+.swift
[12/30] Compiling RCDataKit NSSortDescriptor+.swift
[13/30] Compiling RCDataKit TypedObjectID.swift
[14/30] Compiling RCDataKit TransactionAuthor.swift
[15/30] Compiling RCDataKit UpdatableManagedObject.swift
[16/30] Compiling RCDataKit BasicDataStack.swift
[17/30] Compiling RCDataKit PersistentHistoryFetcher.swift
[18/30] Compiling RCDataKit PersistentHistoryMerger.swift
[19/30] Compiling RCDataKit PreviewStack.swift
[20/30] Compiling RCDataKit TestingStack.swift
[21/30] Compiling RCDataKit DataStackProtocol.swift
[22/30] Compiling RCDataKit FatalError+Testing.swift
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:15:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct FatalErrorUtility {
14 | // Called by the custom implementation of `fatalError`.
15 | static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
| |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // backup of the original Swift `fatalError`
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:18:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // backup of the original Swift `fatalError`
18 | private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
| |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Replace the `fatalError` global function with something else.
[23/30] Compiling RCDataKit KeyPathString.swift
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:15:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct FatalErrorUtility {
14 | // Called by the custom implementation of `fatalError`.
15 | static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
| |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // backup of the original Swift `fatalError`
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:18:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // backup of the original Swift `fatalError`
18 | private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
| |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Replace the `fatalError` global function with something else.
[24/30] Compiling RCDataKit NSFetchRequest+Builders.swift
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:15:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct FatalErrorUtility {
14 | // Called by the custom implementation of `fatalError`.
15 | static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
| |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // backup of the original Swift `fatalError`
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Internal Utilities/FatalError+Testing.swift:18:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // backup of the original Swift `fatalError`
18 | private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
| |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFatalErrorClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Replace the `fatalError` global function with something else.
[25/30] Compiling RCDataKit ModelManager.swift
[26/30] Compiling RCDataKit ModelVersion.swift
[27/30] Compiling RCDataKit Persistable.swift
[28/30] Compiling RCDataKit DataStackLogger.swift
[29/30] Compiling RCDataKit PersistentHistoryTrackingOptions.swift
[30/30] Compiling RCDataKit SwiftUI+DataStack.swift
Build complete! (22.22s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RCDataKit",
"name" : "RCDataKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
}
],
"products" : [
{
"name" : "RCDataKit",
"targets" : [
"RCDataKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RCDataKitTests",
"module_type" : "SwiftTarget",
"name" : "RCDataKitTests",
"path" : "Tests/RCDataKitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RCDataKitTests/TestsDataModel/Sample Data/OldStudentsStore.sqlite",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RCDataKitTests/TestsDataModel/Sample Data/SchoolsData.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RCDataKitTests/TestsDataModel/Sample Data/TestSubjects.csv",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Stacks/ModelAuthors.swift",
"Stacks/ModelVersions.swift",
"Stacks/TestModelManager.swift",
"Stacks/TestingStacks.swift",
"TestsDataModel/ImportedDataTypes/SchoolImport.swift",
"TestsDataModel/ImportedDataTypes/StudentImport.swift",
"TestsDataModel/ImportedDataTypes/TeacherImport.swift",
"TestsDataModel/ImportedDataTypes/TestSubjectImport.swift",
"TestsDataModel/ManagedObjectTypes/ManualModelCreation.swift",
"TestsDataModel/ManagedObjectTypes/Person.swift",
"TestsDataModel/ManagedObjectTypes/School.swift",
"TestsDataModel/ManagedObjectTypes/Student.swift",
"TestsDataModel/ManagedObjectTypes/Teacher.swift",
"TestsDataModel/ManagedObjectTypes/TestSubject.swift",
"TestsDataModel/Sample Data/SchoolsData.swift",
"TestsDataModel/Sample Data/TestSubjectsData.swift",
"XCTestCaseHelpers/Sleep.swift",
"XCTests/Internal Utilities Tests/KeyPathTests.swift",
"XCTests/Internal Utilities Tests/XCTestCase+FatalError.swift",
"XCTests/NSExtension Tests/FetchRequestBuilderTests.swift",
"XCTests/NSExtension Tests/ManagedObjectContextTests.swift",
"XCTests/NSExtension Tests/PredicateTests.swift",
"XCTests/RCDataKit Protocol Tests/PersistableTests.swift",
"XCTests/RCDataKit Protocol Tests/UpdatableManagedObjectTests.swift",
"XCTests/System Tests/PersistentHistoryTest.swift",
"XCTests/System Tests/StagedMigrationTest.swift"
],
"target_dependencies" : [
"RCDataKit"
],
"type" : "test"
},
{
"c99name" : "RCDataKit",
"module_type" : "SwiftTarget",
"name" : "RCDataKit",
"path" : "Sources/RCDataKit",
"product_memberships" : [
"RCDataKit"
],
"sources" : [
"Basic Protocols/ModelManager.swift",
"Basic Protocols/ModelVersion.swift",
"Basic Protocols/Persistable.swift",
"Basic Protocols/TransactionAuthor.swift",
"Basic Protocols/UpdatableManagedObject.swift",
"Data Stack/DataStack Implementations/BasicDataStack.swift",
"Data Stack/DataStack Implementations/PreviewStack.swift",
"Data Stack/DataStack Implementations/TestingStack.swift",
"Data Stack/DataStackProtocol.swift",
"Data Stack/Helpers/DataStackLogger.swift",
"Data Stack/Helpers/PersistentHistoryTrackingOptions.swift",
"Data Stack/Helpers/SwiftUI+DataStack.swift",
"Internal Utilities/FatalError+Testing.swift",
"Internal Utilities/KeyPathString.swift",
"NSExtensions/NSFetchRequest+Builders.swift",
"NSExtensions/NSManagedObjectContext+.swift",
"NSExtensions/NSManagedObjectModel+.swift",
"NSExtensions/NSPersistentContainer+Load.swift",
"NSExtensions/NSPredicate+.swift",
"NSExtensions/NSSortDescriptor+.swift",
"NSExtensions/TypedObjectID.swift",
"NSExtensions/UTType+ManagedObjectModel.swift",
"PersistentHistoryTracking/PersistentHistoryCleaner.swift",
"PersistentHistoryTracking/PersistentHistoryFetcher.swift",
"PersistentHistoryTracking/PersistentHistoryMerger.swift",
"PersistentHistoryTracking/PersistentHistoryTimestampManager.swift",
"PersistentHistoryTracking/PersistentHistoryTracker.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.