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 snap-swift-data, reference 0.1.0 (f27ff3), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 12:10:25 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/simonnickel/snap-swift-data.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonnickel/snap-swift-data
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at f27ff34 Update readme
Cloned https://github.com/simonnickel/snap-swift-data.git
Revision (git rev-parse @):
f27ff34faf9f42173d41d049dbf6dd280555a339
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-swift-data.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/simonnickel/snap-swift-data.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/12] Compiling SnapSwiftData PersistentHistoryMonitor.swift
[4/12] Compiling SnapSwiftData ModelContainerManager.swift
[5/12] Compiling SnapSwiftData PersistentHistoryMonitorActor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapSwiftData/PersistentHistoryMonitorActor.swift:15:1: warning: extension declares a conformance of imported type 'NSPersistentHistoryChange' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
13 |
14 | /// NSPersistentHistoryChange has to move out of ModelActor. Should not change and therefore be just Sendable.
15 | extension NSPersistentHistoryChange: @unchecked Sendable { }
   | |- warning: extension declares a conformance of imported type 'NSPersistentHistoryChange' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 | /// Consumes PersistentHistoryTracking events via Combine and posts them to the change handler (see PersistentHistoryMonitor for consumption).
[6/12] Compiling SnapSwiftData Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapSwiftData/Logger.swift:24:30: warning: conformance of 'Logger' to protocol 'Sendable' was already stated in the type's module 'os'
22 | // This fixes the warning on Logger.settings not being concurrency safe. Should apply @preconcurrency import OSLog instead.
23 | // https://forums.swift.org/t/preconcurrency-doesnt-suppress-static-property-concurrency-warnings/70469/2
24 | extension Logger: @unchecked Sendable {}
   |                              `- warning: conformance of 'Logger' to protocol 'Sendable' was already stated in the type's module 'os'
25 |
os.Logger:2:15: note: 'Logger' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: 'Logger' declares conformance to protocol 'Sendable' here
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
[7/12] Compiling SnapSwiftData ModelContext+ExistingModel.swift
macro expansion #Predicate:5:22: warning: type 'KeyPath<T, PersistentIdentifier>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SnapSwiftData/Extensions/ModelContext+ExistingModel.swift:26:5: note: expanded code originates here
22 |
23 | 		let fetchDescriptor = FetchDescriptor<T>(
24 | 			predicate: #Predicate {
   |               `- note: in expansion of macro 'Predicate' here
25 | 				$0.persistentModelID == objectID
26 | 			}
   +--- macro expansion #Predicate -------------------------------------
   |3 |         lhs: PredicateExpressions.build_KeyPath(
   |4 |             root: PredicateExpressions.build_Arg($0),
   |5 |             keyPath: \.persistentModelID
   |  |                      `- warning: type 'KeyPath<T, PersistentIdentifier>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
   |6 |         ),
   |7 |         rhs: PredicateExpressions.build_Arg(objectID)
   +--------------------------------------------------------------------
27 | 		)
28 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
[8/12] Compiling SnapSwiftData Helper.swift
[9/12] Compiling SnapSwiftData NSManagedObjectID+PersistentIdentifier.swift
[10/12] Compiling SnapSwiftData ContextMonitor.swift
[11/12] Compiling SnapSwiftData ModelContext+CoreData.swift
[12/12] Emitting module SnapSwiftData
/Users/admin/builder/spi-builder-workspace/Sources/SnapSwiftData/Logger.swift:24:30: warning: conformance of 'Logger' to protocol 'Sendable' was already stated in the type's module 'os'
22 | // This fixes the warning on Logger.settings not being concurrency safe. Should apply @preconcurrency import OSLog instead.
23 | // https://forums.swift.org/t/preconcurrency-doesnt-suppress-static-property-concurrency-warnings/70469/2
24 | extension Logger: @unchecked Sendable {}
   |                              `- warning: conformance of 'Logger' to protocol 'Sendable' was already stated in the type's module 'os'
25 |
os.Logger:2:15: note: 'Logger' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: 'Logger' declares conformance to protocol 'Sendable' here
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/SnapSwiftData/PersistentHistoryMonitorActor.swift:15:1: warning: extension declares a conformance of imported type 'NSPersistentHistoryChange' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
13 |
14 | /// NSPersistentHistoryChange has to move out of ModelActor. Should not change and therefore be just Sendable.
15 | extension NSPersistentHistoryChange: @unchecked Sendable { }
   | |- warning: extension declares a conformance of imported type 'NSPersistentHistoryChange' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 | /// Consumes PersistentHistoryTracking events via Combine and posts them to the change handler (see PersistentHistoryMonitor for consumption).
Build complete! (4.90s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "snap-swift-data",
  "name" : "snap-swift-data",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapSwiftData",
      "targets" : [
        "SnapSwiftData"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnapSwiftDataTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapSwiftDataTests",
      "path" : "Tests/SnapSwiftDataTests",
      "sources" : [
        "SnapSwiftDataTests.swift"
      ],
      "target_dependencies" : [
        "SnapSwiftData"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapSwiftData",
      "module_type" : "SwiftTarget",
      "name" : "SnapSwiftData",
      "path" : "Sources/SnapSwiftData",
      "product_memberships" : [
        "SnapSwiftData"
      ],
      "sources" : [
        "ContextMonitor.swift",
        "Extensions/Helper.swift",
        "Extensions/ModelContext+CoreData.swift",
        "Extensions/ModelContext+ExistingModel.swift",
        "Extensions/NSManagedObjectID+PersistentIdentifier.swift",
        "Logger.swift",
        "ModelContainerManager.swift",
        "PersistentHistoryMonitor.swift",
        "PersistentHistoryMonitorActor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.