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 JSQCoreDataKit, reference main (84f382), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 19:45:47 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jessesquires/JSQCoreDataKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jessesquires/JSQCoreDataKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 84f382e Bump cocoapods from 1.15.2 to 1.16.2 (#283)
Cloned https://github.com/jessesquires/JSQCoreDataKit.git
Revision (git rev-parse @):
84f382e959c2b238e996a7c29e5254069485467f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jessesquires/JSQCoreDataKit.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": "jsqcoredatakit",
      "name": "JSQCoreDataKit",
      "url": "https://github.com/jessesquires/JSQCoreDataKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSQCoreDataKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jessesquires/JSQCoreDataKit.git
[1/5825] Fetching jsqcoredatakit
Fetched https://github.com/jessesquires/JSQCoreDataKit.git from cache (1.05s)
Creating working copy for https://github.com/jessesquires/JSQCoreDataKit.git
Working copy of https://github.com/jessesquires/JSQCoreDataKit.git resolved at main (84f382e)
warning: '.resolve-product-dependencies': dependency 'jsqcoredatakit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jessesquires/JSQCoreDataKit.git
https://github.com/jessesquires/JSQCoreDataKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSQCoreDataKit",
  "name" : "JSQCoreDataKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "JSQCoreDataKit",
      "targets" : [
        "JSQCoreDataKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "JSQCoreDataKit",
      "module_type" : "SwiftTarget",
      "name" : "JSQCoreDataKit",
      "path" : "Sources",
      "product_memberships" : [
        "JSQCoreDataKit"
      ],
      "sources" : [
        "CoreDataEntityProtocol.swift",
        "CoreDataModel.swift",
        "CoreDataStack.swift",
        "CoreDataStackProvider.swift",
        "FetchedResultsCellConfiguration.swift",
        "FetchedResultsController.swift",
        "FetchedResultsCoordinator.swift",
        "FetchedResultsDiffableDataSource.swift",
        "FetchedResultsSupplementaryConfiguration.swift",
        "Migrate.swift",
        "ModelFileExtension.swift",
        "NSManagedObjectContext+Extensions.swift",
        "StoreType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/15] Compiling JSQCoreDataKit ModelFileExtension.swift
[4/15] Compiling JSQCoreDataKit FetchedResultsSupplementaryConfiguration.swift
[5/15] Compiling JSQCoreDataKit FetchedResultsCoordinator.swift
[6/15] Compiling JSQCoreDataKit NSManagedObjectContext+Extensions.swift
[7/15] Compiling JSQCoreDataKit Migrate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Migrate.swift:32:10: warning: associated value 'sourceModelNotFound(model:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'CoreDataModel'; this is an error in the Swift 6 language mode
 30 |      - parameter model: The model that failed to be migrated.
 31 |      */
 32 |     case sourceModelNotFound(model: CoreDataModel)
    |          `- warning: associated value 'sourceModelNotFound(model:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'CoreDataModel'; this is an error in the Swift 6 language mode
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataModel.swift:26:15: note: consider making struct 'CoreDataModel' conform to the 'Sendable' protocol
 24 |  It provides the model and store URLs as well as methods for interacting with the store.
 25 |  */
 26 | public struct CoreDataModel: Equatable {
    |               `- note: consider making struct 'CoreDataModel' conform to the 'Sendable' protocol
 27 |
 28 |     // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Migrate.swift:39:10: warning: associated value 'mappingModelNotFound(destinationModel:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'NSManagedObjectModel'; this is an error in the Swift 6 language mode
 37 |      - parameter sourceModel: The destination managed object model for which a mapping model was not found.
 38 |      */
 39 |     case mappingModelNotFound(destinationModel: NSManagedObjectModel)
    |          `- warning: associated value 'mappingModelNotFound(destinationModel:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'NSManagedObjectModel'; this is an error in the Swift 6 language mode
 40 | }
 41 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h:23:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
 21 | // Models describe object graphs to be managed. Models (and their entities/properties/fetch request templates) are editable until they are used by a persistent store coordinator, allowing developers to create/modify them dynamically. However, once a model is being used, it MUST NOT be changed. When the persistent store coordinator first fetches data using a model, it will become uneditable. Any attempt to mutate a model or any of its subobjects after that point will cause an exception to be thrown. If you need to modify a model that is in use, create a copy, modify the copy, and then discard the objects with the old model.
 22 | API_AVAILABLE(macosx(10.4),ios(3.0))
 23 | @interface NSManagedObjectModel : NSObject <NSCoding, NSCopying, NSFastEnumeration> {
    |            `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/Migrate.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 17 | //
 18 |
 19 | import CoreData
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 20 | import Foundation
 21 |
[8/15] Compiling JSQCoreDataKit FetchedResultsDiffableDataSource.swift
[9/16] Compiling JSQCoreDataKit StoreType.swift
[10/16] Compiling JSQCoreDataKit CoreDataEntityProtocol.swift
[11/16] Compiling JSQCoreDataKit CoreDataModel.swift
[12/16] Compiling JSQCoreDataKit CoreDataStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:162:36: warning: capture of 'self' with non-sendable type 'CoreDataStack' in a '@Sendable' closure
 32 |  - warning: **You cannot create a `CoreDataStack` instance directly. Instead, use a `CoreDataStackProvider` for initialization.**
 33 |  */
 34 | public final class CoreDataStack {
    |                    `- note: class 'CoreDataStack' does not conform to the 'Sendable' protocol
 35 |
 36 |     // MARK: Typealiases
    :
160 |             precondition(!Thread.isMainThread, "*** Error: cannot reset a stack on the main queue")
161 |
162 |             let storeCoordinator = self.storeCoordinator
    |                                    `- warning: capture of 'self' with non-sendable type 'CoreDataStack' in a '@Sendable' closure
163 |             let options = store.options
164 |             let model = self.model
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:163:27: warning: capture of 'store' with non-sendable type 'NSPersistentStore' in a '@Sendable' closure
161 |
162 |             let storeCoordinator = self.storeCoordinator
163 |             let options = store.options
    |                           `- warning: capture of 'store' with non-sendable type 'NSPersistentStore' in a '@Sendable' closure
164 |             let model = self.model
165 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h:28:12: note: class 'NSPersistentStore' does not conform to the 'Sendable' protocol
26 |
27 | API_AVAILABLE(macosx(10.5),ios(3.0))
28 | @interface NSPersistentStore : NSObject {
   |            `- note: class 'NSPersistentStore' does not conform to the 'Sendable' protocol
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 17 | //
 18 |
 19 | import CoreData
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 20 | import Foundation
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:180:25: warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in a '@Sendable' closure
178 |                 } catch {
179 |                     DispatchQueue.main.async {
180 |                         completion(.failure(error as NSError))
    |                         |- warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in a '@Sendable' closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 |                     }
182 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:180:25: warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in an isolated closure
178 |                 } catch {
179 |                     DispatchQueue.main.async {
180 |                         completion(.failure(error as NSError))
    |                         |- warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in an isolated closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 |                     }
182 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:185:41: warning: capture of 'self' with non-sendable type 'CoreDataStack' in an isolated closure
 32 |  - warning: **You cannot create a `CoreDataStack` instance directly. Instead, use a `CoreDataStackProvider` for initialization.**
 33 |  */
 34 | public final class CoreDataStack {
    |                    `- note: class 'CoreDataStack' does not conform to the 'Sendable' protocol
 35 |
 36 |     // MARK: Typealiases
    :
183 |                 }
184 |                 DispatchQueue.main.async {
185 |                     completion(.success(self))
    |                                         `- warning: capture of 'self' with non-sendable type 'CoreDataStack' in an isolated closure
186 |                 }
187 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:41:23: warning: static property 'defaultStoreOptions' is not concurrency-safe because non-'Sendable' type 'CoreDataStackProvider.PersistentStoreOptions' (aka 'Dictionary<AnyHashable, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
 39 |
 40 |     /// Describes default persistent store options.
 41 |     public static let defaultStoreOptions: PersistentStoreOptions = [
    |                       |- warning: static property 'defaultStoreOptions' is not concurrency-safe because non-'Sendable' type 'CoreDataStackProvider.PersistentStoreOptions' (aka 'Dictionary<AnyHashable, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultStoreOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |         NSMigratePersistentStoresAutomaticallyOption: true,
 43 |         NSInferMappingModelAutomaticallyOption: true
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:127:34: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
125 |
126 |         if let queue {
127 |             queue.async(execute: creationClosure)
    |                                  `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
128 |         } else {
129 |             creationClosure()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:154:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
152 |         guard let store = self.storeCoordinator.persistentStores.first else {
153 |             DispatchQueue.main.async {
154 |                 completion(.success(self))
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
155 |             }
156 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:154:37: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
152 |         guard let store = self.storeCoordinator.persistentStores.first else {
153 |             DispatchQueue.main.async {
154 |                 completion(.success(self))
    |                                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
155 |             }
156 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:185:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
183 |                 }
184 |                 DispatchQueue.main.async {
185 |                     completion(.success(self))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
186 |                 }
187 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:185:41: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
183 |                 }
184 |                 DispatchQueue.main.async {
185 |                     completion(.success(self))
    |                                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
186 |                 }
187 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:180:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
178 |                 } catch {
179 |                     DispatchQueue.main.async {
180 |                         completion(.failure(error as NSError))
    |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
181 |                     }
182 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:119:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
117 |             if isAsync {
118 |                 DispatchQueue.main.async {
119 |                     completion(.success(stack))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 |                 }
121 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:119:41: warning: sending 'stack' risks causing data races; this is an error in the Swift 6 language mode
117 |             if isAsync {
118 |                 DispatchQueue.main.async {
119 |                     completion(.success(stack))
    |                                         |- warning: sending 'stack' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: task-isolated 'stack' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 |                 }
121 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:98:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 96 |                 if isAsync {
 97 |                     DispatchQueue.main.async {
 98 |                         completion(.failure(error))
    |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 |                     }
100 |                 } else {
[13/16] Compiling JSQCoreDataKit CoreDataStackProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:162:36: warning: capture of 'self' with non-sendable type 'CoreDataStack' in a '@Sendable' closure
 32 |  - warning: **You cannot create a `CoreDataStack` instance directly. Instead, use a `CoreDataStackProvider` for initialization.**
 33 |  */
 34 | public final class CoreDataStack {
    |                    `- note: class 'CoreDataStack' does not conform to the 'Sendable' protocol
 35 |
 36 |     // MARK: Typealiases
    :
160 |             precondition(!Thread.isMainThread, "*** Error: cannot reset a stack on the main queue")
161 |
162 |             let storeCoordinator = self.storeCoordinator
    |                                    `- warning: capture of 'self' with non-sendable type 'CoreDataStack' in a '@Sendable' closure
163 |             let options = store.options
164 |             let model = self.model
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:163:27: warning: capture of 'store' with non-sendable type 'NSPersistentStore' in a '@Sendable' closure
161 |
162 |             let storeCoordinator = self.storeCoordinator
163 |             let options = store.options
    |                           `- warning: capture of 'store' with non-sendable type 'NSPersistentStore' in a '@Sendable' closure
164 |             let model = self.model
165 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h:28:12: note: class 'NSPersistentStore' does not conform to the 'Sendable' protocol
26 |
27 | API_AVAILABLE(macosx(10.5),ios(3.0))
28 | @interface NSPersistentStore : NSObject {
   |            `- note: class 'NSPersistentStore' does not conform to the 'Sendable' protocol
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 17 | //
 18 |
 19 | import CoreData
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 20 | import Foundation
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:180:25: warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in a '@Sendable' closure
178 |                 } catch {
179 |                     DispatchQueue.main.async {
180 |                         completion(.failure(error as NSError))
    |                         |- warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in a '@Sendable' closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 |                     }
182 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:180:25: warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in an isolated closure
178 |                 } catch {
179 |                     DispatchQueue.main.async {
180 |                         completion(.failure(error as NSError))
    |                         |- warning: capture of 'completion' with non-sendable type '(CoreDataStack.StackResult) -> Void' (aka '(Result<CoreDataStack, any Error>) -> ()') in an isolated closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 |                     }
182 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:185:41: warning: capture of 'self' with non-sendable type 'CoreDataStack' in an isolated closure
 32 |  - warning: **You cannot create a `CoreDataStack` instance directly. Instead, use a `CoreDataStackProvider` for initialization.**
 33 |  */
 34 | public final class CoreDataStack {
    |                    `- note: class 'CoreDataStack' does not conform to the 'Sendable' protocol
 35 |
 36 |     // MARK: Typealiases
    :
183 |                 }
184 |                 DispatchQueue.main.async {
185 |                     completion(.success(self))
    |                                         `- warning: capture of 'self' with non-sendable type 'CoreDataStack' in an isolated closure
186 |                 }
187 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:41:23: warning: static property 'defaultStoreOptions' is not concurrency-safe because non-'Sendable' type 'CoreDataStackProvider.PersistentStoreOptions' (aka 'Dictionary<AnyHashable, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
 39 |
 40 |     /// Describes default persistent store options.
 41 |     public static let defaultStoreOptions: PersistentStoreOptions = [
    |                       |- warning: static property 'defaultStoreOptions' is not concurrency-safe because non-'Sendable' type 'CoreDataStackProvider.PersistentStoreOptions' (aka 'Dictionary<AnyHashable, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultStoreOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |         NSMigratePersistentStoresAutomaticallyOption: true,
 43 |         NSInferMappingModelAutomaticallyOption: true
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:127:34: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
125 |
126 |         if let queue {
127 |             queue.async(execute: creationClosure)
    |                                  `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
128 |         } else {
129 |             creationClosure()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:154:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
152 |         guard let store = self.storeCoordinator.persistentStores.first else {
153 |             DispatchQueue.main.async {
154 |                 completion(.success(self))
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
155 |             }
156 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:154:37: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
152 |         guard let store = self.storeCoordinator.persistentStores.first else {
153 |             DispatchQueue.main.async {
154 |                 completion(.success(self))
    |                                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
155 |             }
156 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:185:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
183 |                 }
184 |                 DispatchQueue.main.async {
185 |                     completion(.success(self))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
186 |                 }
187 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:185:41: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
183 |                 }
184 |                 DispatchQueue.main.async {
185 |                     completion(.success(self))
    |                                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
186 |                 }
187 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStack.swift:180:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
178 |                 } catch {
179 |                     DispatchQueue.main.async {
180 |                         completion(.failure(error as NSError))
    |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
181 |                     }
182 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:119:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
117 |             if isAsync {
118 |                 DispatchQueue.main.async {
119 |                     completion(.success(stack))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 |                 }
121 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:119:41: warning: sending 'stack' risks causing data races; this is an error in the Swift 6 language mode
117 |             if isAsync {
118 |                 DispatchQueue.main.async {
119 |                     completion(.success(stack))
    |                                         |- warning: sending 'stack' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: task-isolated 'stack' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 |                 }
121 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:98:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 96 |                 if isAsync {
 97 |                     DispatchQueue.main.async {
 98 |                         completion(.failure(error))
    |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 |                     }
100 |                 } else {
[14/16] Emitting module JSQCoreDataKit
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataStackProvider.swift:41:23: warning: static property 'defaultStoreOptions' is not concurrency-safe because non-'Sendable' type 'CoreDataStackProvider.PersistentStoreOptions' (aka 'Dictionary<AnyHashable, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
 39 |
 40 |     /// Describes default persistent store options.
 41 |     public static let defaultStoreOptions: PersistentStoreOptions = [
    |                       |- warning: static property 'defaultStoreOptions' is not concurrency-safe because non-'Sendable' type 'CoreDataStackProvider.PersistentStoreOptions' (aka 'Dictionary<AnyHashable, Any>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultStoreOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |         NSMigratePersistentStoresAutomaticallyOption: true,
 43 |         NSInferMappingModelAutomaticallyOption: true
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Migrate.swift:32:10: warning: associated value 'sourceModelNotFound(model:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'CoreDataModel'; this is an error in the Swift 6 language mode
 30 |      - parameter model: The model that failed to be migrated.
 31 |      */
 32 |     case sourceModelNotFound(model: CoreDataModel)
    |          `- warning: associated value 'sourceModelNotFound(model:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'CoreDataModel'; this is an error in the Swift 6 language mode
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataModel.swift:26:15: note: consider making struct 'CoreDataModel' conform to the 'Sendable' protocol
 24 |  It provides the model and store URLs as well as methods for interacting with the store.
 25 |  */
 26 | public struct CoreDataModel: Equatable {
    |               `- note: consider making struct 'CoreDataModel' conform to the 'Sendable' protocol
 27 |
 28 |     // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Migrate.swift:39:10: warning: associated value 'mappingModelNotFound(destinationModel:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'NSManagedObjectModel'; this is an error in the Swift 6 language mode
 37 |      - parameter sourceModel: The destination managed object model for which a mapping model was not found.
 38 |      */
 39 |     case mappingModelNotFound(destinationModel: NSManagedObjectModel)
    |          `- warning: associated value 'mappingModelNotFound(destinationModel:)' of 'Sendable'-conforming enum 'MigrationError' has non-sendable type 'NSManagedObjectModel'; this is an error in the Swift 6 language mode
 40 | }
 41 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h:23:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
 21 | // Models describe object graphs to be managed. Models (and their entities/properties/fetch request templates) are editable until they are used by a persistent store coordinator, allowing developers to create/modify them dynamically. However, once a model is being used, it MUST NOT be changed. When the persistent store coordinator first fetches data using a model, it will become uneditable. Any attempt to mutate a model or any of its subobjects after that point will cause an exception to be thrown. If you need to modify a model that is in use, create a copy, modify the copy, and then discard the objects with the old model.
 22 | API_AVAILABLE(macosx(10.4),ios(3.0))
 23 | @interface NSManagedObjectModel : NSObject <NSCoding, NSCopying, NSFastEnumeration> {
    |            `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/Migrate.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 17 | //
 18 |
 19 | import CoreData
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
 20 | import Foundation
 21 |
[15/16] Compiling JSQCoreDataKit FetchedResultsCellConfiguration.swift
[16/16] Compiling JSQCoreDataKit FetchedResultsController.swift
Build complete! (7.51s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSQCoreDataKit",
  "name" : "JSQCoreDataKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "JSQCoreDataKit",
      "targets" : [
        "JSQCoreDataKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "JSQCoreDataKit",
      "module_type" : "SwiftTarget",
      "name" : "JSQCoreDataKit",
      "path" : "Sources",
      "product_memberships" : [
        "JSQCoreDataKit"
      ],
      "sources" : [
        "CoreDataEntityProtocol.swift",
        "CoreDataModel.swift",
        "CoreDataStack.swift",
        "CoreDataStackProvider.swift",
        "FetchedResultsCellConfiguration.swift",
        "FetchedResultsController.swift",
        "FetchedResultsCoordinator.swift",
        "FetchedResultsDiffableDataSource.swift",
        "FetchedResultsSupplementaryConfiguration.swift",
        "Migrate.swift",
        "ModelFileExtension.swift",
        "NSManagedObjectContext+Extensions.swift",
        "StoreType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.