Build Information
Successful build of Sworm with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/prisma-ai/Sworm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/29] Emitting module Sworm
[5/31] Compiling Sworm ManagedObjectContext.swift
[6/31] Compiling Sworm ManagedObjectSet.swift
[7/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,
[8/31] Compiling Sworm Query.swift
[9/31] Compiling Sworm Request.swift
[10/31] Compiling Sworm Operators.swift
[11/31] Compiling Sworm Predicate.swift
[12/31] Compiling Sworm TextPredicate.swift
[13/31] Compiling Sworm ManagedObject.swift
[14/31] Compiling Sworm CompoundPredicate.swift
[15/31] Compiling Sworm InversePredicate.swift
[16/31] Compiling Sworm Relations.swift
[17/31] Compiling Sworm ComparisonPredicate.swift
[18/31] Compiling Sworm ManagedObjectConvertible.swift
[19/31] Compiling Sworm PersistentContainer.swift
[20/31] Compiling Sworm RawRepresentable.swift
[21/31] Compiling Sworm Extensions.swift
[22/31] Compiling Sworm Primitives.swift
[23/31] Compiling Sworm Protocols.swift
[24/31] Compiling Sworm Attribute.swift
[25/31] Compiling Sworm AttributeError.swift
[26/31] Compiling Sworm Decode.swift
[27/31] Compiling SwormTools StoreDescription.swift
[28/31] Compiling SwormTools Extensions.swift
[29/31] Compiling SwormTools ProgressiveMigration.swift
[30/31] Compiling SwormTools ExternalBinaryDataEntityMigrationPolicy.swift
[31/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,
Build complete! (28.00s)
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.