Build Information
Successful build of FetchedResultsPublisher, reference master (79f89a
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 11:56:43 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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
========================================
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": "fetchedresultspublisher",
"name": "FetchedResultsPublisher",
"url": "https://github.com/S2Ler/FetchedResultsPublisher.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FetchedResultsPublisher",
"dependencies": [
]
}
]
}
Fetching https://github.com/S2Ler/FetchedResultsPublisher.git
[1/20] Fetching fetchedresultspublisher
Fetched https://github.com/S2Ler/FetchedResultsPublisher.git from cache (0.57s)
Creating working copy for https://github.com/S2Ler/FetchedResultsPublisher.git
Working copy of https://github.com/S2Ler/FetchedResultsPublisher.git resolved at master (79f89ac)
warning: '.resolve-product-dependencies': dependency 'fetchedresultspublisher' 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/S2Ler/FetchedResultsPublisher.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/5] Compiling FetchedResultsPublisher ValueReducer.swift
[4/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:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
2 | import SwiftUI
3 | import Combine
4 | import CoreData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
5 |
6 | public struct FetchedResultsSection<T> {
[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:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
2 | import SwiftUI
3 | import Combine
4 | import CoreData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
5 |
6 | public struct FetchedResultsSection<T> {
Build complete! (9.95s)
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.