Build Information
Successful build of FetchedResultsPublisher 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/S2Ler/FetchedResultsPublisher.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/S2Ler/FetchedResultsPublisher
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 79f89ac Results will be partition in sections
Cloned https://github.com/S2Ler/FetchedResultsPublisher.git
Revision (git rev-parse @):
79f89ac71d7c16cab56fe80d8ec3cdcaf9409991
SUCCESS checkout https://github.com/S2Ler/FetchedResultsPublisher.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/S2Ler/FetchedResultsPublisher.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/5] Emitting module FetchedResultsPublisher
/Users/admin/builder/spi-builder-workspace/Sources/FetchedResultsPublisher/FetchedResultsPublisher.swift:49:8: warning: associated value 'cannotConvertValue' of 'Sendable'-conforming enum 'FetchedResultsError' has non-sendable type 'any NSFetchRequestResult'; this is an error in the Swift 6 language mode
47 |
48 | public enum FetchedResultsError: Error {
49 | case cannotConvertValue(NSFetchRequestResult)
| `- warning: associated value 'cannotConvertValue' of 'Sendable'-conforming enum 'FetchedResultsError' has non-sendable type 'any NSFetchRequestResult'; this is an error in the Swift 6 language mode
50 | }
51 |
CoreData.NSFetchRequestResult:1:17: note: protocol 'NSFetchRequestResult' does not conform to the 'Sendable' protocol
1 | public protocol NSFetchRequestResult : NSObjectProtocol {
| `- note: protocol 'NSFetchRequestResult' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/FetchedResultsPublisher/FetchedResultsPublisher.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
1 | import Foundation
2 | import SwiftUI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
3 | import Combine
4 | import CoreData
[4/5] Compiling FetchedResultsPublisher ValueReducer.swift
[5/5] Compiling FetchedResultsPublisher FetchedResultsPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/FetchedResultsPublisher/FetchedResultsPublisher.swift:49:8: warning: associated value 'cannotConvertValue' of 'Sendable'-conforming enum 'FetchedResultsError' has non-sendable type 'any NSFetchRequestResult'; this is an error in the Swift 6 language mode
47 |
48 | public enum FetchedResultsError: Error {
49 | case cannotConvertValue(NSFetchRequestResult)
| `- warning: associated value 'cannotConvertValue' of 'Sendable'-conforming enum 'FetchedResultsError' has non-sendable type 'any NSFetchRequestResult'; this is an error in the Swift 6 language mode
50 | }
51 |
CoreData.NSFetchRequestResult:1:17: note: protocol 'NSFetchRequestResult' does not conform to the 'Sendable' protocol
1 | public protocol NSFetchRequestResult : NSObjectProtocol {
| `- note: protocol 'NSFetchRequestResult' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/FetchedResultsPublisher/FetchedResultsPublisher.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
1 | import Foundation
2 | import SwiftUI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
3 | import Combine
4 | import CoreData
Build complete! (30.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FetchedResultsPublisher",
"name" : "FetchedResultsPublisher",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FetchedResultsPublisher",
"targets" : [
"FetchedResultsPublisher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FetchedResultsPublisherTests",
"module_type" : "SwiftTarget",
"name" : "FetchedResultsPublisherTests",
"path" : "Tests/FetchedResultsPublisherTests",
"sources" : [
"FetchedResultsPublisherTests.swift"
],
"target_dependencies" : [
"FetchedResultsPublisher"
],
"type" : "test"
},
{
"c99name" : "FetchedResultsPublisher",
"module_type" : "SwiftTarget",
"name" : "FetchedResultsPublisher",
"path" : "Sources/FetchedResultsPublisher",
"product_memberships" : [
"FetchedResultsPublisher"
],
"sources" : [
"FetchedResultsPublisher.swift",
"ValueReducer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.