The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RCDataKit, reference 1.0.2 (9a1e86), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 05:05:31 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/RCCoop/RCDataKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[31 / 43] RCDataKit_RCDataKitTests
[34 / 43]
[35 / 44] RCDataKit
[45 / 121]
[48 / 121]
[56 / 121]
[58 / 121]
[59 / 121]
[64 / 121]
[66 / 121]
[68 / 121]
[71 / 121]
[76 / 121]
[79 / 121]
[81 / 121]
[82 / 121]
[92 / 121]
[94 / 121]
[95 / 121]
[98 / 121]
[100 / 121]
[112 / 121] RCDataKit
[113 / 121] RCDataKit
[118 / 121] RCDataKit
Build complete! (11.91 sec)
Model2.xcdatamodel: note: Model Model2 version checksum: E1zZ7FmrknNDlNJfy25xKQRiA/ztUEHhiJx2kItcHns=
Model4.xcdatamodel: note: Model Model4 version checksum: Vv9Hb2Yr+IQLbXehfp+HGy4/Z5KijnASTXuicLvKMSw=
Model.xcdatamodel: note: Model Model version checksum: SAz9xEqqbMHxsyBxQa2ljz+b+Sl+JTE/qhNPv8RGn3g=
Model3.xcdatamodel: note: Model Model3 version checksum: 0LmYhsW64IdOAeTUufQKgOBN9PsKr29SMmt0RcvrRHE=
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
   |                |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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>
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/PersistentHistoryTracking/PersistentHistoryMerger.swift:42:66: warning: capture of 'tx' with non-Sendable type 'NSPersistentHistoryTransaction' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
40 |             for tx in transactions {
41 |                 viewContext.performAndWait {
42 |                     viewContext.mergeChanges(fromContextDidSave: tx.objectIDNotification())
   |                                                                  `- warning: capture of 'tx' with non-Sendable type 'NSPersistentHistoryTransaction' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
43 |                 }
44 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentHistoryTransaction.h:21:12: note: class 'NSPersistentHistoryTransaction' does not conform to the 'Sendable' protocol
19 |
20 | API_AVAILABLE(macosx(10.13),ios(11.0),tvos(11.0),watchos(4.0))
21 | @interface NSPersistentHistoryTransaction : NSObject <NSCopying>
   |            `- note: class 'NSPersistentHistoryTransaction' does not conform to the 'Sendable' protocol
22 |
23 | + (nullable NSEntityDescription *)entityDescriptionWithContext:(NSManagedObjectContext *)context API_AVAILABLE(macosx(10.15),ios(13.0),tvos(13.0),watchos(6.0));
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/PersistentHistoryTracking/PersistentHistoryMerger.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 3 | //
 4 |
 5 | import CoreData
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 6 | import Foundation
 7 |
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
   |                |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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>
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Basic Protocols/ModelVersion.swift:134:25: warning: capture of 'preMigration' with non-Sendable type 'Self.MigrationHandler' (aka '(NSManagedObjectContext) throws -> ()') in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
132 |                 let context = container.newBackgroundContext()
133 |                 try context.performAndWait {
134 |                     try preMigration(context)
    |                         |- warning: capture of 'preMigration' with non-Sendable type 'Self.MigrationHandler' (aka '(NSManagedObjectContext) throws -> ()') in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 |                     try context.save()
136 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/RCDataKit/Basic Protocols/ModelVersion.swift:148:25: warning: capture of 'postMigration' with non-Sendable type 'Self.MigrationHandler' (aka '(NSManagedObjectContext) throws -> ()') in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
146 |                 let context = container.newBackgroundContext()
147 |                 try context.performAndWait {
148 |                     try postMigration(context)
    |                         |- warning: capture of 'postMigration' with non-Sendable type 'Self.MigrationHandler' (aka '(NSManagedObjectContext) throws -> ()') in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
149 |                     try context.saveIfNeeded()
150 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
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.