Build Information
Successful build of ProgressReporter, reference master (63b550
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 05:18:54 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/Sam-Spencer/ProgressReporter.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sam-Spencer/ProgressReporter
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 63b5508 Create FUNDING.yml
Cloned https://github.com/Sam-Spencer/ProgressReporter.git
Revision (git rev-parse @):
63b5508dfc67bc1e4892501d6d75dc45ca4d1446
SUCCESS checkout https://github.com/Sam-Spencer/ProgressReporter.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": "progressreporter",
"name": "ProgressReporter",
"url": "https://github.com/Sam-Spencer/ProgressReporter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProgressReporter",
"dependencies": [
]
}
]
}
Fetching https://github.com/Sam-Spencer/ProgressReporter.git
[1/148] Fetching progressreporter
Fetched https://github.com/Sam-Spencer/ProgressReporter.git from cache (0.72s)
Creating working copy for https://github.com/Sam-Spencer/ProgressReporter.git
Working copy of https://github.com/Sam-Spencer/ProgressReporter.git resolved at master (63b5508)
warning: '.resolve-product-dependencies': dependency 'progressreporter' 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/Sam-Spencer/ProgressReporter.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/4] Compiling ProgressReporter ProgressReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProgressReporter/ProgressReporter.swift:105:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProgressCoordinator' may have shared mutable state; this is an error in the Swift 6 language mode
101 | ///
102 | @available(iOS 13.0, *)
103 | open class ProgressCoordinator: ProgressCensus {
| `- note: class 'ProgressCoordinator' does not conform to the 'Sendable' protocol
104 |
105 | public static let shared = ProgressCoordinator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProgressCoordinator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public var watcher: ProgressWatcher?
107 |
/Users/admin/builder/spi-builder-workspace/Sources/ProgressReporter/ProgressReporter.swift:192:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
190 | } else {
191 | DispatchQueue.main.async {
192 | self.watcher?.hasProgressToReport(report: self.progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
193 | self.rawProgress = self.progress.progress
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressReporter/ProgressReporter.swift:207:17: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
205 | } else {
206 | DispatchQueue.main.async {
207 | task()
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'task' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
208 | }
209 | }
[4/4] Emitting module ProgressReporter
/Users/admin/builder/spi-builder-workspace/Sources/ProgressReporter/ProgressReporter.swift:105:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProgressCoordinator' may have shared mutable state; this is an error in the Swift 6 language mode
101 | ///
102 | @available(iOS 13.0, *)
103 | open class ProgressCoordinator: ProgressCensus {
| `- note: class 'ProgressCoordinator' does not conform to the 'Sendable' protocol
104 |
105 | public static let shared = ProgressCoordinator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProgressCoordinator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public var watcher: ProgressWatcher?
107 |
Build complete! (5.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ProgressReporter",
"name" : "ProgressReporter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ProgressReporter",
"targets" : [
"ProgressReporter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProgressReporterTests",
"module_type" : "SwiftTarget",
"name" : "ProgressReporterTests",
"path" : "Tests/ProgressReporterTests",
"sources" : [
"ProgressReporterTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ProgressReporter"
],
"type" : "test"
},
{
"c99name" : "ProgressReporter",
"module_type" : "SwiftTarget",
"name" : "ProgressReporter",
"path" : "Sources/ProgressReporter",
"product_memberships" : [
"ProgressReporter"
],
"sources" : [
"ProgressReporter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.