Build Information
Successful build of SwiftDataSugar, reference v0.1.0 (1cdf24
), with Swift 6.0 for macOS (SPM) on 3 Feb 2025 05:47:57 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mesqueeb/SwiftDataSugar.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mesqueeb/SwiftDataSugar
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 1cdf245 0.1.0
Cloned https://github.com/mesqueeb/SwiftDataSugar.git
Revision (git rev-parse @):
1cdf245ae33dc7916696de11b02954908182c8f3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mesqueeb/SwiftDataSugar.git at v0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftdatasugar",
"name": "SwiftDataSugar",
"url": "https://github.com/mesqueeb/SwiftDataSugar.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDataSugar",
"dependencies": [
]
}
]
}
Fetching https://github.com/mesqueeb/SwiftDataSugar.git
[1/450] Fetching swiftdatasugar
Fetched https://github.com/mesqueeb/SwiftDataSugar.git from cache (0.86s)
Creating working copy for https://github.com/mesqueeb/SwiftDataSugar.git
Working copy of https://github.com/mesqueeb/SwiftDataSugar.git resolved at v0.1.0 (1cdf245)
warning: '.resolve-product-dependencies': dependency 'swiftdatasugar' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/mesqueeb/SwiftDataSugar.git
https://github.com/mesqueeb/SwiftDataSugar.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.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
[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: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
Build complete! (11.90s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/mesqueeb/swiftdatasugar/v0.1.0
Repository: mesqueeb/SwiftDataSugar
Swift version used: 6.0
Target: SwiftDataSugar
Extracting symbol information for 'SwiftDataSugar'...
Finished extracting symbol information for 'SwiftDataSugar'. (4.56s)
Building documentation for 'SwiftDataSugar'...
Finished building documentation for 'SwiftDataSugar' (0.74s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/mesqueeb/swiftdatasugar/v0.1.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2048] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3280] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.62s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets SnippetParser.swift
[8/57] Compiling Snippets Snippet.swift
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit Relationship.swift
[11/57] Compiling SymbolKit RelationshipKind.swift
[12/57] Compiling SymbolKit SourceOrigin.swift
[13/57] Compiling SymbolKit GenericConstraints.swift
[14/57] Compiling SymbolKit Swift.swift
[15/57] Compiling SymbolKit Names.swift
[16/57] Compiling SymbolKit SPI.swift
[17/57] Compiling SymbolKit Snippet.swift
[18/57] Compiling SymbolKit Extension.swift
[19/57] Compiling SymbolKit Mixin+Equals.swift
[20/57] Compiling SymbolKit Mixin+Hash.swift
[21/57] Compiling SymbolKit Mixin.swift
[22/57] Compiling SymbolKit LineList.swift
[23/57] Compiling SymbolKit Position.swift
[24/57] Compiling SymbolKit GenericConstraint.swift
[25/57] Compiling SymbolKit GenericParameter.swift
[26/57] Compiling SymbolKit Generics.swift
[27/57] Compiling SymbolKit Namespace.swift
[28/57] Compiling SymbolKit SemanticVersion.swift
[29/57] Compiling SymbolKit AccessControl.swift
[30/57] Compiling SymbolKit Availability.swift
[31/57] Compiling SymbolKit AvailabilityItem.swift
[32/57] Compiling SymbolKit Domain.swift
[33/57] Compiling SymbolKit DeclarationFragments.swift
[34/57] Compiling SymbolKit Fragment.swift
[35/57] Compiling SymbolKit FragmentKind.swift
[36/57] Compiling SymbolKit FunctionParameter.swift
[37/57] Compiling SymbolKit FunctionSignature.swift
[38/57] Compiling SymbolKit Identifier.swift
[39/57] Compiling SymbolKit KindIdentifier.swift
[40/57] Compiling SymbolKit Location.swift
[41/57] Compiling SymbolKit Mutability.swift
[42/57] Compiling SymbolKit SourceRange.swift
[43/57] Compiling SymbolKit Metadata.swift
[44/57] Compiling SymbolKit Module.swift
[45/57] Compiling SymbolKit OperatingSystem.swift
[46/57] Compiling SymbolKit Platform.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.01s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/7] Compiling SwiftDataSugar Types.swift
[3/7] Compiling SwiftDataSugar ModelContainer.swift
[4/7] 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/7] Compiling SwiftDataSugar DbQuery.swift
[6/7] 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
[7/7] 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 })
+--- 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 | }
Build of target: 'SwiftDataSugar' complete! (0.65s)
1520
12 /Users/admin/builder/spi-builder-workspace/.docs/mesqueeb/swiftdatasugar/v0.1.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/mesqueeb/swiftdatasugar/v0.1.0
File count: 1520
Doc size: 12.0MB
Preparing doc bundle ...
Uploading prod-mesqueeb-swiftdatasugar-v0.1.0-5ac7145e.zip to s3://spi-docs-inbox/prod-mesqueeb-swiftdatasugar-v0.1.0-5ac7145e.zip
Copying... [11%]
Copying... [20%]
Copying... [32%]
Copying... [40%]
Copying... [52%]
Copying... [60%]
Copying... [72%]
Copying... [80%]
Copying... [92%]
Copying... [100%]
Done.