Build Information
Successful build of SwiftDataSugar, reference main (dff69b
), with Swift 6.0 (beta) for macOS (SPM) on 16 Sep 2024 19:15:15 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.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 dff69b0 chore: bump
Cloned https://github.com/mesqueeb/SwiftDataSugar.git
Revision (git rev-parse @):
dff69b0125b3927792a914786c521db4a5e15803
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mesqueeb/SwiftDataSugar.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/mesqueeb/SwiftDataSugar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/8] Compiling SwiftDataSugar ModelContainer.swift
[4/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:1: warning: extension declares a conformance of imported type 'Version' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'SwiftData' introduce this conformance in the future
3 |
4 | extension MigrationStage: @unchecked Sendable {}
5 | extension Schema.Version: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'Version' 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
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
[5/8] Compiling SwiftDataSugar Types.swift
[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:35:105: note: expanded code originates here
33 | /// Returns `nil` if the record is not found
34 | private func get(uid: UUID) throws -> T? {
35 | let dataArr = try self.modelContext.fetch(FetchDescriptor<T>(predicate: #Predicate { $0.uid == uid }))
+--- 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)
+--------------------------------------------------------------------
36 | return dataArr.first
37 | }
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 | }
[7/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:1: warning: extension declares a conformance of imported type 'Version' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'SwiftData' introduce this conformance in the future
3 |
4 | extension MigrationStage: @unchecked Sendable {}
5 | extension Schema.Version: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'Version' 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
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
[8/8] Compiling SwiftDataSugar DbQuery.swift
Build complete! (13.70s)
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.