Build Information
Successful build of Sworm, reference main (11a1f8
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 04:57:45 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prisma-ai/Sworm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prisma-ai/Sworm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 11a1f8b fix ci
Cloned https://github.com/prisma-ai/Sworm.git
Revision (git rev-parse @):
11a1f8bec87180084572951019a5537214156eb5
SUCCESS checkout https://github.com/prisma-ai/Sworm.git at main
========================================
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": "sworm",
"name": "Sworm",
"url": "https://github.com/prisma-ai/Sworm.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sworm",
"dependencies": [
]
}
]
}
Fetching https://github.com/prisma-ai/Sworm.git
[7/336] Fetching sworm
Fetched https://github.com/prisma-ai/Sworm.git from cache (0.81s)
Creating working copy for https://github.com/prisma-ai/Sworm.git
Working copy of https://github.com/prisma-ai/Sworm.git resolved at main (11a1f8b)
warning: '.resolve-product-dependencies': dependency 'sworm' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/prisma-ai/Sworm.git
https://github.com/prisma-ai/Sworm.git
{
"dependencies" : [
],
"manifest_display_name" : "Sworm",
"name" : "Sworm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Sworm",
"targets" : [
"Sworm"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwormTools",
"targets" : [
"SwormTools"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwormTools",
"module_type" : "SwiftTarget",
"name" : "SwormTools",
"path" : "Sources/SwormTools",
"product_memberships" : [
"SwormTools"
],
"sources" : [
"Extensions.swift",
"ExternalBinaryDataEntityMigrationPolicy.swift",
"ProgressiveMigration.swift",
"StoreDescription.swift",
"TestTool.swift"
],
"type" : "library"
},
{
"c99name" : "SwormTests",
"module_type" : "SwiftTarget",
"name" : "SwormTests",
"path" : "Tests/SwormTests",
"sources" : [
"AttributeTests.swift",
"DataModels/DataModels.swift",
"DataModels/V0V1MigrationPolicy.swift",
"DataModels/V1V2MigrationPolicy.swift",
"MigrationsTests.swift",
"Models/Attributes.swift",
"Models/Models+CoreData.swift",
"Models/Models.swift",
"Models/Repo.swift",
"OtherTests.swift",
"PredicateTests.swift",
"ReadWriteTests.swift",
"RepoTests.swift",
"UnsafeTests.swift",
"Utils/TestDB.swift"
],
"target_dependencies" : [
"Sworm",
"SwormTools"
],
"type" : "test"
},
{
"c99name" : "Sworm",
"module_type" : "SwiftTarget",
"name" : "Sworm",
"path" : "Sources/Sworm",
"product_memberships" : [
"Sworm"
],
"sources" : [
"Attributes/Attribute.swift",
"Attributes/AttributeError.swift",
"Attributes/Decode.swift",
"Attributes/Primitives.swift",
"Attributes/Protocols.swift",
"Attributes/RawRepresentable.swift",
"Extensions.swift",
"ManagedObjectConvertible.swift",
"PersistentContainer.swift",
"Relations.swift",
"Requests/ComparisonPredicate.swift",
"Requests/CompoundPredicate.swift",
"Requests/InversePredicate.swift",
"Requests/Operators.swift",
"Requests/Predicate.swift",
"Requests/Query.swift",
"Requests/Request.swift",
"Requests/TextPredicate.swift",
"Wrappers/ManagedObject.swift",
"Wrappers/ManagedObjectContext.swift",
"Wrappers/ManagedObjectSet.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/29] Emitting module Sworm
[5/31] Compiling Sworm ManagedObjectContext.swift
[6/31] Compiling Sworm ManagedObjectSet.swift
[7/31] Compiling SwormTools StoreDescription.swift
[8/31] Compiling SwormTools TestTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwormTools/TestTool.swift:6:18: warning: associated value 'invalidMigrationStepCount(_:expected:store:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SQLiteStoreDescription'; this is an error in the Swift 6 language mode
4 | public enum Migrations {
5 | public enum Error: Swift.Error {
6 | case invalidMigrationStepCount(Int?, expected: Int?, store: SQLiteStoreDescription)
| `- warning: associated value 'invalidMigrationStepCount(_:expected:store:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SQLiteStoreDescription'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwormTools/StoreDescription.swift:3:15: note: consider making struct 'SQLiteStoreDescription' conform to the 'Sendable' protocol
1 | import CoreData
2 |
3 | public struct SQLiteStoreDescription {
| `- note: consider making struct 'SQLiteStoreDescription' conform to the 'Sendable' protocol
4 | public init(
5 | name: String,
[9/31] Compiling Sworm CompoundPredicate.swift
[10/31] Compiling Sworm InversePredicate.swift
[11/31] Compiling Sworm Operators.swift
[12/31] Compiling Sworm Predicate.swift
[13/31] Compiling Sworm Query.swift
[14/31] Compiling Sworm Request.swift
[15/31] Compiling Sworm Relations.swift
[16/31] Compiling Sworm ComparisonPredicate.swift
[17/31] Compiling Sworm RawRepresentable.swift
[18/31] Compiling Sworm Extensions.swift
[19/31] Compiling SwormTools ProgressiveMigration.swift
[20/31] Compiling SwormTools ExternalBinaryDataEntityMigrationPolicy.swift
[21/31] Compiling Sworm Attribute.swift
[22/31] Compiling Sworm AttributeError.swift
[23/31] Compiling Sworm Decode.swift
[24/31] Compiling Sworm Primitives.swift
[25/31] Compiling SwormTools Extensions.swift
[26/31] Compiling Sworm Protocols.swift
[27/31] Compiling Sworm TextPredicate.swift
[28/31] Compiling Sworm ManagedObject.swift
[29/31] Emitting module SwormTools
/Users/admin/builder/spi-builder-workspace/Sources/SwormTools/TestTool.swift:6:18: warning: associated value 'invalidMigrationStepCount(_:expected:store:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SQLiteStoreDescription'; this is an error in the Swift 6 language mode
4 | public enum Migrations {
5 | public enum Error: Swift.Error {
6 | case invalidMigrationStepCount(Int?, expected: Int?, store: SQLiteStoreDescription)
| `- warning: associated value 'invalidMigrationStepCount(_:expected:store:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SQLiteStoreDescription'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwormTools/StoreDescription.swift:3:15: note: consider making struct 'SQLiteStoreDescription' conform to the 'Sendable' protocol
1 | import CoreData
2 |
3 | public struct SQLiteStoreDescription {
| `- note: consider making struct 'SQLiteStoreDescription' conform to the 'Sendable' protocol
4 | public init(
5 | name: String,
[30/31] Compiling Sworm ManagedObjectConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sworm/PersistentContainer.swift:74:34: warning: sending value of non-Sendable type 'Result<T, any Error>' risks causing data races; this is an error in the Swift 6 language mode
72 | return try await withUnsafeThrowingContinuation { continuation in
73 | context.perform {
74 | continuation.resume(with: .init(catching: {
| |- warning: sending value of non-Sendable type 'Result<T, any Error>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type 'Result<T, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
75 | try context.execute(reset, action)
76 | }))
[31/31] Compiling Sworm PersistentContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sworm/PersistentContainer.swift:74:34: warning: sending value of non-Sendable type 'Result<T, any Error>' risks causing data races; this is an error in the Swift 6 language mode
72 | return try await withUnsafeThrowingContinuation { continuation in
73 | context.perform {
74 | continuation.resume(with: .init(catching: {
| |- warning: sending value of non-Sendable type 'Result<T, any Error>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type 'Result<T, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
75 | try context.execute(reset, action)
76 | }))
Build complete! (5.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Sworm",
"name" : "Sworm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Sworm",
"targets" : [
"Sworm"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwormTools",
"targets" : [
"SwormTools"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwormTools",
"module_type" : "SwiftTarget",
"name" : "SwormTools",
"path" : "Sources/SwormTools",
"product_memberships" : [
"SwormTools"
],
"sources" : [
"Extensions.swift",
"ExternalBinaryDataEntityMigrationPolicy.swift",
"ProgressiveMigration.swift",
"StoreDescription.swift",
"TestTool.swift"
],
"type" : "library"
},
{
"c99name" : "SwormTests",
"module_type" : "SwiftTarget",
"name" : "SwormTests",
"path" : "Tests/SwormTests",
"sources" : [
"AttributeTests.swift",
"DataModels/DataModels.swift",
"DataModels/V0V1MigrationPolicy.swift",
"DataModels/V1V2MigrationPolicy.swift",
"MigrationsTests.swift",
"Models/Attributes.swift",
"Models/Models+CoreData.swift",
"Models/Models.swift",
"Models/Repo.swift",
"OtherTests.swift",
"PredicateTests.swift",
"ReadWriteTests.swift",
"RepoTests.swift",
"UnsafeTests.swift",
"Utils/TestDB.swift"
],
"target_dependencies" : [
"Sworm",
"SwormTools"
],
"type" : "test"
},
{
"c99name" : "Sworm",
"module_type" : "SwiftTarget",
"name" : "Sworm",
"path" : "Sources/Sworm",
"product_memberships" : [
"Sworm"
],
"sources" : [
"Attributes/Attribute.swift",
"Attributes/AttributeError.swift",
"Attributes/Decode.swift",
"Attributes/Primitives.swift",
"Attributes/Protocols.swift",
"Attributes/RawRepresentable.swift",
"Extensions.swift",
"ManagedObjectConvertible.swift",
"PersistentContainer.swift",
"Relations.swift",
"Requests/ComparisonPredicate.swift",
"Requests/CompoundPredicate.swift",
"Requests/InversePredicate.swift",
"Requests/Operators.swift",
"Requests/Predicate.swift",
"Requests/Query.swift",
"Requests/Request.swift",
"Requests/TextPredicate.swift",
"Wrappers/ManagedObject.swift",
"Wrappers/ManagedObjectContext.swift",
"Wrappers/ManagedObjectSet.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.