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

Failed to build CoreDataPlus, reference main (10747b), with Swift 6.0 for macOS (SPM) on 25 Sep 2025 06:13:29 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alemar11/CoreDataPlus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alemar11/CoreDataPlus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10747b5 AI
Cloned https://github.com/alemar11/CoreDataPlus.git
Revision (git rev-parse @):
10747b56a1ab3515a5aabae3d603e382b2fac08f
SUCCESS checkout https://github.com/alemar11/CoreDataPlus.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alemar11/CoreDataPlus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/32] Emitting module CoreDataPlus
[4/35] Compiling CoreDataPlus NSManagedObject+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSManagedObjectContext+Utils.swift:130:35: error: capture of 'self' with non-sendable type 'NSManagedObjectContext' in a `@Sendable` closure
128 |       function {
129 |         do {
130 |           result = try _execution(self)
    |                                   `- error: capture of 'self' with non-sendable type 'NSManagedObjectContext' in a `@Sendable` closure
131 |         } catch let catchedError {
132 |           error = catchedError
CoreData.NSManagedObjectContext:2:12: note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
  1 | @available(macOS 10.4, *)
  2 | open class NSManagedObjectContext : NSObject, NSCoding, NSLocking {
    |            `- note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
  3 |     @available(macOS, introduced: 10.4, deprecated: 10.11, message: "Use -initWithConcurrencyType: instead")
  4 |     open class func new() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/NSManagedObjectContext+Utils.swift:3:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
  1 | // CoreDataPlus
  2 |
  3 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
  4 |
  5 | // MARK: - Fetch
[5/35] Compiling CoreDataPlus NSManagedObjectContext+History.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSManagedObjectContext+Utils.swift:130:35: error: capture of 'self' with non-sendable type 'NSManagedObjectContext' in a `@Sendable` closure
128 |       function {
129 |         do {
130 |           result = try _execution(self)
    |                                   `- error: capture of 'self' with non-sendable type 'NSManagedObjectContext' in a `@Sendable` closure
131 |         } catch let catchedError {
132 |           error = catchedError
CoreData.NSManagedObjectContext:2:12: note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
  1 | @available(macOS 10.4, *)
  2 | open class NSManagedObjectContext : NSObject, NSCoding, NSLocking {
    |            `- note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
  3 |     @available(macOS, introduced: 10.4, deprecated: 10.11, message: "Use -initWithConcurrencyType: instead")
  4 |     open class func new() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/NSManagedObjectContext+Utils.swift:3:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
  1 | // CoreDataPlus
  2 |
  3 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
  4 |
  5 | // MARK: - Fetch
[6/35] Compiling CoreDataPlus NSManagedObjectContext+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSManagedObjectContext+Utils.swift:130:35: error: capture of 'self' with non-sendable type 'NSManagedObjectContext' in a `@Sendable` closure
128 |       function {
129 |         do {
130 |           result = try _execution(self)
    |                                   `- error: capture of 'self' with non-sendable type 'NSManagedObjectContext' in a `@Sendable` closure
131 |         } catch let catchedError {
132 |           error = catchedError
CoreData.NSManagedObjectContext:2:12: note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
  1 | @available(macOS 10.4, *)
  2 | open class NSManagedObjectContext : NSObject, NSCoding, NSLocking {
    |            `- note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
  3 |     @available(macOS, introduced: 10.4, deprecated: 10.11, message: "Use -initWithConcurrencyType: instead")
  4 |     open class func new() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/NSManagedObjectContext+Utils.swift:3:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
  1 | // CoreDataPlus
  2 |
  3 | import CoreData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreData' as warnings
  4 |
  5 | // MARK: - Fetch
[7/35] Compiling CoreDataPlus NSSet+CoreData.swift
[8/35] Compiling CoreDataPlus Notification+Payloads.swift
[9/35] Compiling CoreDataPlus Notification+Utils.swift
[10/35] Compiling CoreDataPlus NSBatchDeleteResult+Utils.swift
[11/35] Compiling CoreDataPlus NSBatchInsertResult+Utils.swift
[12/35] Compiling CoreDataPlus NSBatchUpdateResult+Utils.swift
[13/35] Compiling CoreDataPlus LegacyMigrationStep.swift
[14/35] Compiling CoreDataPlus MigrationProgressReporter.swift
[15/35] Compiling CoreDataPlus Migrator.swift
[16/35] Compiling CoreDataPlus ModelVersion.swift
[17/35] Compiling CoreDataPlus NSFetchRequest+Utils.swift
[18/35] Compiling CoreDataPlus NSFetchRequestResult+CoreData.swift
[19/35] Compiling CoreDataPlus NSFetchedPropertyDescription+Utils.swift
[20/35] Compiling CoreDataPlus NSMappingModel+Utils.swift
[21/35] Compiling CoreDataPlus NSPersistentStoreCoordinator+Utils.swift
[22/35] Compiling CoreDataPlus NSPredicate+Utils.swift
[23/35] Compiling CoreDataPlus NSCompositeAttributeDescription+Utils.swift
[24/35] Compiling CoreDataPlus NSDerivedAttributeDescription+Utils.swift
[25/35] Compiling CoreDataPlus NSEntityDescription+Utils.swift
[26/35] Compiling CoreDataPlus PersistentStoreOptions.swift
[27/35] Compiling CoreDataPlus CustomTransformer.swift
[28/35] Compiling CoreDataPlus Transformer.swift
[29/35] Compiling CoreDataPlus StagedMigration.swift
[30/35] Compiling CoreDataPlus StagedMigrationStep.swift
[31/35] Compiling CoreDataPlus NSAttributeDescription+Utils.swift
[32/35] Compiling CoreDataPlus Collection+CoreData.swift
[33/35] Compiling CoreDataPlus CoreDataPlus.swift
[34/35] Compiling CoreDataPlus FetchedResultsChange.swift
[35/35] Compiling CoreDataPlus LegacyMigration.swift
BUILD FAILURE 6.0 macosSpm