The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of RCDataKit, reference 1.0.2 (9a1e86), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 18:00:30 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/RCCoop/RCDataKit.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RCCoop/RCDataKit
 * tag               1.0.2      -> FETCH_HEAD
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 1.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/RCCoop/RCDataKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     // backup of the original Swift `fatalError`
/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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
19 |
20 |     /// Replace the `fatalError` global function with something else.
<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: note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
16 |
17 |     // backup of the original Swift `fatalError`
18 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /// Replace the `fatalError` global function with something else.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[4/30] Compiling RCDataKit PersistentHistoryTimestampManager.swift
[5/30] Compiling RCDataKit PersistentHistoryTracker.swift
[6/30] Compiling RCDataKit PersistentHistoryFetcher.swift
[7/30] Compiling RCDataKit PersistentHistoryMerger.swift
[8/30] Compiling RCDataKit NSPredicate+.swift
[9/30] Compiling RCDataKit NSSortDescriptor+.swift
[10/30] Compiling RCDataKit TypedObjectID.swift
[11/30] Compiling RCDataKit ModelManager.swift
[12/30] Compiling RCDataKit ModelVersion.swift
[13/30] Compiling RCDataKit Persistable.swift
[14/30] Compiling RCDataKit UTType+ManagedObjectModel.swift
[15/30] Compiling RCDataKit PersistentHistoryCleaner.swift
[16/30] Compiling RCDataKit TransactionAuthor.swift
[17/30] Compiling RCDataKit UpdatableManagedObject.swift
[18/30] Compiling RCDataKit BasicDataStack.swift
[19/30] Compiling RCDataKit NSManagedObjectContext+.swift
[20/30] Compiling RCDataKit NSManagedObjectModel+.swift
[21/30] Compiling RCDataKit NSPersistentContainer+Load.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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     // backup of the original Swift `fatalError`
/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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
19 |
20 |     /// Replace the `fatalError` global function with something else.
<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: note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
16 |
17 |     // backup of the original Swift `fatalError`
18 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /// Replace the `fatalError` global function with something else.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     // backup of the original Swift `fatalError`
/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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
19 |
20 |     /// Replace the `fatalError` global function with something else.
<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: note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
16 |
17 |     // backup of the original Swift `fatalError`
18 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /// Replace the `fatalError` global function with something else.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     // backup of the original Swift `fatalError`
/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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
19 |
20 |     /// Replace the `fatalError` global function with something else.
<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: note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
16 |
17 |     // backup of the original Swift `fatalError`
18 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /// Replace the `fatalError` global function with something else.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[25/30] Compiling RCDataKit PreviewStack.swift
[26/30] Compiling RCDataKit TestingStack.swift
[27/30] Compiling RCDataKit DataStackProtocol.swift
[28/30] Compiling RCDataKit DataStackLogger.swift
[29/30] Compiling RCDataKit PersistentHistoryTrackingOptions.swift
[30/30] Compiling RCDataKit SwiftUI+DataStack.swift
Build complete! (8.74s)
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.