Build Information
Successful build of SwiftDataSugar, reference main (b8952f
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 00:45:51 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/mesqueeb/SwiftDataSugar.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mesqueeb/SwiftDataSugar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b8952fa chore: bump
Cloned https://github.com/mesqueeb/SwiftDataSugar.git
Revision (git rev-parse @):
b8952fa6a278831020f9916c76aae7f3c4a98ff3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mesqueeb/SwiftDataSugar.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mesqueeb/SwiftDataSugar.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/8] Compiling SwiftDataSugar Types.swift
[4/8] Compiling SwiftDataSugar ModelContainer.swift
[5/8] Compiling SwiftDataSugar MigrationHelpers.swift
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/MigrationHelpers.swift:4:1: warning: extension declares a conformance of imported type 'MigrationStage' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'SwiftData' introduce this conformance in the future
2 | import SwiftData
3 |
4 | extension MigrationStage: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'MigrationStage' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'SwiftData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | extension Schema.Version: @unchecked Sendable {}
6 |
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/MigrationHelpers.swift:5:38: warning: conformance of 'Schema.Version' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
3 |
4 | extension MigrationStage: @unchecked Sendable {}
5 | extension Schema.Version: @unchecked Sendable {}
| `- warning: conformance of 'Schema.Version' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
6 |
7 | /// A MockableSchema forces you to add a `insertMocks` method to your schema in which you add a mocked record to a given context.actor
SwiftData.Schema.Version:2:11: note: 'Schema.Version' declares conformance to protocol 'Sendable' here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, visionOS 1, *)
2 | extension Schema.Version : Sendable {
| `- note: 'Schema.Version' declares conformance to protocol 'Sendable' here
3 | }
[6/8] Compiling SwiftDataSugar DbCollection.swift
macro expansion #Predicate:5:22: warning: type 'KeyPath<T, UUID>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:43:65: note: expanded code originates here
41 | if self.fetchedLast?.uid == uid { return self.fetchedLast }
42 | let dataArr = try self.modelContext.fetch(
43 | FetchDescriptor<T>(predicate: #Predicate { $0.uid == uid })
| `- note: in expansion of macro 'Predicate' here
+--- macro expansion #Predicate ------------------------------------
|3 | lhs: PredicateExpressions.build_KeyPath(
|4 | root: PredicateExpressions.build_Arg($0),
|5 | keyPath: \.uid
| | `- warning: type 'KeyPath<T, UUID>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|6 | ),
|7 | rhs: PredicateExpressions.build_Arg(uid)
+-------------------------------------------------------------------
44 | )
45 | let data = dataArr.first
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 | }
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:115:16: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | try? await Task.sleep(for: .seconds(1))
114 | if Task.isCancelled { return }
115 | do { try self.modelContext.save() } catch { print("❗️[DbCollection] Error saving", error) }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 | self.saveTask = nil
117 | }
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:110:15: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | var saveTask: Task<Void, Never>? = nil
109 |
110 | public func saveDebounced() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | if let saveTask { saveTask.cancel() }
112 | self.saveTask = Task {
[7/8] Compiling SwiftDataSugar DbQuery.swift
[8/8] Emitting module SwiftDataSugar
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/MigrationHelpers.swift:4:1: warning: extension declares a conformance of imported type 'MigrationStage' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'SwiftData' introduce this conformance in the future
2 | import SwiftData
3 |
4 | extension MigrationStage: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'MigrationStage' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'SwiftData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | extension Schema.Version: @unchecked Sendable {}
6 |
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/MigrationHelpers.swift:5:38: warning: conformance of 'Schema.Version' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
3 |
4 | extension MigrationStage: @unchecked Sendable {}
5 | extension Schema.Version: @unchecked Sendable {}
| `- warning: conformance of 'Schema.Version' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
6 |
7 | /// A MockableSchema forces you to add a `insertMocks` method to your schema in which you add a mocked record to a given context.actor
SwiftData.Schema.Version:2:11: note: 'Schema.Version' declares conformance to protocol 'Sendable' here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, visionOS 1, *)
2 | extension Schema.Version : Sendable {
| `- note: 'Schema.Version' declares conformance to protocol 'Sendable' here
3 | }
Build complete! (7.72s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftDataSugar",
"name" : "SwiftDataSugar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftDataSugar",
"targets" : [
"SwiftDataSugar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftDataSugarTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDataSugarTests",
"path" : "SwiftDataSugar/Tests",
"sources" : [
"SwiftDataSugarTests.swift"
],
"target_dependencies" : [
"SwiftDataSugar"
],
"type" : "test"
},
{
"c99name" : "SwiftDataSugar",
"module_type" : "SwiftTarget",
"name" : "SwiftDataSugar",
"path" : "SwiftDataSugar/Sources",
"product_memberships" : [
"SwiftDataSugar"
],
"sources" : [
"DbCollection.swift",
"DbQuery.swift",
"MigrationHelpers.swift",
"ModelContainer.swift",
"Types.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.