The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftDataSugar, reference v0.1.0 (1cdf24), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 17:26:42 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mesqueeb/SwiftDataSugar.git
[1/458] Fetching swiftdatasugar
Fetched https://github.com/mesqueeb/SwiftDataSugar.git from cache (0.83s)
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.3
Building package at path:  $PWD
https://github.com/mesqueeb/SwiftDataSugar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/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 | }
[4/8] Compiling SwiftDataSugar DbQuery.swift
[5/8] Compiling SwiftDataSugar Types.swift
[6/8] Emitting module SwiftDataSugar
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/MigrationHelpers.swift:4:38: warning: conformance of 'MigrationStage' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
 2 | import SwiftData
 3 |
 4 | extension MigrationStage: @unchecked Sendable {}
   |                                      `- warning: conformance of 'MigrationStage' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
 5 | extension Schema.Version: @unchecked Sendable {}
 6 |
SwiftData.MigrationStage:3:13: note: 'MigrationStage' declares conformance to protocol 'Sendable' here
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage : Sendable {
  |             `- note: 'MigrationStage' declares conformance to protocol 'Sendable' here
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     @preconcurrency case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: (@Sendable (_ context: ModelContext) throws -> Void)?, didMigrate: (@Sendable (_ context: ModelContext) throws -> Void)?)
/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 | }
[7/8] Compiling SwiftDataSugar ModelContainer.swift
[8/8] Compiling SwiftDataSugar MigrationHelpers.swift
/Users/admin/builder/spi-builder-workspace/SwiftDataSugar/Sources/MigrationHelpers.swift:4:38: warning: conformance of 'MigrationStage' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
 2 | import SwiftData
 3 |
 4 | extension MigrationStage: @unchecked Sendable {}
   |                                      `- warning: conformance of 'MigrationStage' to protocol 'Sendable' was already stated in the type's module 'SwiftData'
 5 | extension Schema.Version: @unchecked Sendable {}
 6 |
SwiftData.MigrationStage:3:13: note: 'MigrationStage' declares conformance to protocol 'Sendable' here
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage : Sendable {
  |             `- note: 'MigrationStage' declares conformance to protocol 'Sendable' here
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     @preconcurrency case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: (@Sendable (_ context: ModelContext) throws -> Void)?, didMigrate: (@Sendable (_ context: ModelContext) throws -> Void)?)
/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! (8.80s)
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.3
Target:                   SwiftDataSugar
Extracting symbol information for 'SwiftDataSugar'...
Finished extracting symbol information for 'SwiftDataSugar'. (44.80s)
Building documentation for 'SwiftDataSugar'...
Finished building documentation for 'SwiftDataSugar' (1.12s)
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/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.19s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.80s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.12s)
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.6
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
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Mixin+Equals.swift
[8/57] Compiling SymbolKit Mixin+Hash.swift
[9/57] Compiling SymbolKit Mixin.swift
[10/57] Compiling SymbolKit LineList.swift
[11/57] Compiling SymbolKit Position.swift
[12/57] Compiling SymbolKit DeclarationFragments.swift
[13/57] Compiling SymbolKit Fragment.swift
[14/57] Compiling SymbolKit FragmentKind.swift
[15/57] Compiling SymbolKit FunctionParameter.swift
[16/57] Compiling SymbolKit FunctionSignature.swift
[17/57] Compiling SymbolKit GenericConstraint.swift
[18/57] Compiling SymbolKit GenericParameter.swift
[19/57] Compiling SymbolKit Generics.swift
[20/57] Compiling SymbolKit Namespace.swift
[21/57] Compiling SymbolKit Symbol.swift
[22/57] Compiling SymbolKit SymbolKind.swift
[23/57] Compiling SymbolKit SymbolGraph.swift
[24/57] Compiling SymbolKit GraphCollector.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Emitting module Snippets
[40/57] Compiling Snippets SnippetParser.swift
[41/57] Compiling Snippets Snippet.swift
[42/57] Compiling SymbolKit Identifier.swift
[43/57] Compiling SymbolKit KindIdentifier.swift
[44/57] Compiling SymbolKit Location.swift
[45/57] Compiling SymbolKit Mutability.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.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.02s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'SwiftDataSugar' complete! (0.21s)
    1782
13	/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: 1782
Doc size:   13.0MB
Preparing doc bundle ...
Uploading prod-mesqueeb-swiftdatasugar-v0.1.0-0873124a.zip to s3://spi-docs-inbox/prod-mesqueeb-swiftdatasugar-v0.1.0-0873124a.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [52%]
Copying... [62%]
Copying... [72%]
Copying... [80%]
Copying... [90%]
Copying... [100%]
Done.