The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreRecord, reference 1.0.0 (3f0e65), with Swift 6.2 for macOS (SPM) on 12 Jul 2025 11:12:58 UTC.

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/stonko1994/CoreRecord.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stonko1994/CoreRecord
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 3f0e65b Merge pull request #4 from stonko1994/feature/add-spm-support
Cloned https://github.com/stonko1994/CoreRecord.git
Revision (git rev-parse @):
3f0e65bfdb0d11bf5001ba6fecb9aa66f2b9b629
SUCCESS checkout https://github.com/stonko1994/CoreRecord.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stonko1994/CoreRecord.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-1EA4D86E10B52AF.txt
[7/14] Compiling CoreRecordCore CoreRecord.swift
[8/14] Compiling CoreRecordCore NSManagedObject+Exists.swift
[9/14] Compiling CoreRecordCore NSManagedObject+CoreRecord.swift
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:244:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
242 |     }
243 |
244 |     open func update(_ properties: [String: Any]) {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
245 |         if (properties.count == 0) {
246 |             return
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:270:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
268 |
269 |     @discardableResult
270 |     open func save() -> Bool {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
271 |         return self.saveTheContext()
272 |     }
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:274:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
272 |     }
273 |
274 |     open func delete() {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
275 |         self.managedObjectContext!.delete(self)
276 |     }
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:635:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
633 |
634 | extension ApplicationRecord {
635 |     open class func mappings() -> [String: String] {
    |     `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
636 |         return [String: String]()
637 |     }
[10/14] Compiling CoreRecordCore FieldKey.swift
[11/14] Compiling CoreRecordCore EntityName.swift
[12/14] Emitting module CoreRecordCore
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:244:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
242 |     }
243 |
244 |     open func update(_ properties: [String: Any]) {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
245 |         if (properties.count == 0) {
246 |             return
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:270:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
268 |
269 |     @discardableResult
270 |     open func save() -> Bool {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
271 |         return self.saveTheContext()
272 |     }
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:274:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
272 |     }
273 |
274 |     open func delete() {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
275 |         self.managedObjectContext!.delete(self)
276 |     }
/Users/admin/builder/spi-builder-workspace/Core/NSManagedObject+CoreRecord.swift:635:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
633 |
634 | extension ApplicationRecord {
635 |     open class func mappings() -> [String: String] {
    |     `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
636 |         return [String: String]()
637 |     }
[13/14] Compiling CoreRecordCore ApplicationRecord.swift
[14/14] Compiling CoreRecordCore ConfigurationRecord.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/31] Emitting module CoreRecordCombine
/Users/admin/builder/spi-builder-workspace/CoreRecord+Combine/CoreRecordController.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | #endif
 7 |
 8 | public final class CoreRecordController<Entity: ApplicationRecord>: NSObject, ObservableObject, NSFetchedResultsControllerDelegate {
   |                    `- note: add @available attribute to enclosing generic class
 9 |     @Published public var values: [Entity] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
10 |     private let valuesController: NSFetchedResultsController<Entity>
11 |
/Users/admin/builder/spi-builder-workspace/CoreRecord+Combine/CoreRecordController.swift:8:79: error: 'ObservableObject' is only available in macOS 10.15 or newer
 6 | #endif
 7 |
 8 | public final class CoreRecordController<Entity: ApplicationRecord>: NSObject, ObservableObject, NSFetchedResultsControllerDelegate {
   |                    |                                                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing generic class
 9 |     @Published public var values: [Entity] = []
10 |     private let valuesController: NSFetchedResultsController<Entity>
[16/31] Compiling CoreRecordCombine CoreRecordController.swift
/Users/admin/builder/spi-builder-workspace/CoreRecord+Combine/CoreRecordController.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | #endif
 7 |
 8 | public final class CoreRecordController<Entity: ApplicationRecord>: NSObject, ObservableObject, NSFetchedResultsControllerDelegate {
   |                    `- note: add @available attribute to enclosing generic class
 9 |     @Published public var values: [Entity] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
10 |     private let valuesController: NSFetchedResultsController<Entity>
11 |
/Users/admin/builder/spi-builder-workspace/CoreRecord+Combine/CoreRecordController.swift:8:79: error: 'ObservableObject' is only available in macOS 10.15 or newer
 6 | #endif
 7 |
 8 | public final class CoreRecordController<Entity: ApplicationRecord>: NSObject, ObservableObject, NSFetchedResultsControllerDelegate {
   |                    |                                                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing generic class
 9 |     @Published public var values: [Entity] = []
10 |     private let valuesController: NSFetchedResultsController<Entity>
<unknown>:0: error: cannot convert value of type 'KeyPath<CoreRecordController<Entity>, [Entity]>' to expected argument type 'ReferenceWritableKeyPath<CoreRecordController<Entity>, [Entity]>'
/Users/admin/builder/spi-builder-workspace/CoreRecord+Combine/CoreRecordController.swift:33:13: error: setter for 'values' is only available in macOS 10.15 or newer
 6 | #endif
 7 |
 8 | public final class CoreRecordController<Entity: ApplicationRecord>: NSObject, ObservableObject, NSFetchedResultsControllerDelegate {
   |                    `- note: add @available attribute to enclosing generic class
 9 |     @Published public var values: [Entity] = []
10 |     private let valuesController: NSFetchedResultsController<Entity>
11 |
12 |     public init(fetchRequest: NSFetchRequest<Entity>? = nil) {
   |            `- note: add @available attribute to enclosing initializer
13 |         var fetchRequest: NSFetchRequest! = fetchRequest
14 |
   :
31 |         do {
32 |             try valuesController.performFetch()
33 |             values = valuesController.fetchedObjects ?? []
   |             |- error: setter for 'values' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
34 |         } catch {
35 |             print("❌❌❌❌") // TODO: handle properly or fail
/Users/admin/builder/spi-builder-workspace/CoreRecord+Combine/CoreRecordController.swift:42:9: error: setter for 'values' is only available in macOS 10.15 or newer
 6 | #endif
 7 |
 8 | public final class CoreRecordController<Entity: ApplicationRecord>: NSObject, ObservableObject, NSFetchedResultsControllerDelegate {
   |                    `- note: add @available attribute to enclosing generic class
 9 |     @Published public var values: [Entity] = []
10 |     private let valuesController: NSFetchedResultsController<Entity>
   :
37 |     }
38 |
39 |     public func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) {
   |                 `- note: add @available attribute to enclosing instance method
40 |         guard let fetchResult = controller.fetchedObjects as? [Entity] else { return }
41 |
42 |         values = fetchResult
   |         |- error: setter for 'values' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
43 |     }
44 | }
[17/31] Compiling CoreRecordMigration CoreRecord+Migration.swift
[18/31] Compiling CoreRecordMigration Migration.swift
[19/31] Emitting module CoreRecordMigration
BUILD FAILURE 6.2 macosSpm