Build Information
Successful build of Signals, reference master (a5ce52
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 06:53:14 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/BlueSignals.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/BlueSignals
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a5ce527 Add SIGCHLD and other signals
Cloned https://github.com/Kitura/BlueSignals.git
Revision (git rev-parse @):
a5ce52795af4d91b3ff5dfb484ee3e45d9ed3d44
SUCCESS checkout https://github.com/Kitura/BlueSignals.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": "bluesignals",
"name": "Signals",
"url": "https://github.com/Kitura/BlueSignals.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSignals",
"dependencies": [
]
}
]
}
Fetching https://github.com/Kitura/BlueSignals.git
[1/654] Fetching bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.77s)
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at master (a5ce527)
warning: '.resolve-product-dependencies': dependency 'bluesignals' 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/Kitura/BlueSignals.git
{
"dependencies" : [
],
"manifest_display_name" : "Signals",
"name" : "Signals",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Signals",
"targets" : [
"Signals"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Signals",
"module_type" : "SwiftTarget",
"name" : "Signals",
"path" : "Sources/Signals",
"product_memberships" : [
"Signals"
],
"sources" : [
"SignalWatch.swift",
"SignalWatchHandler.swift",
"Signals.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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/6] Compiling Signals Signals.swift
[4/6] Compiling Signals SignalWatchHandler.swift
[5/6] Emitting module Signals
/Users/admin/builder/spi-builder-workspace/Sources/Signals/SignalWatch.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
11 | public class SignalWatch {
| `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
12 | public static let shared = SignalWatch()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' 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
13 |
14 | typealias SignalNumber = Int32
[6/6] Compiling Signals SignalWatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Signals/SignalWatch.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
11 | public class SignalWatch {
| `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
12 | public static let shared = SignalWatch()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' 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
13 |
14 | typealias SignalNumber = Int32
/Users/admin/builder/spi-builder-workspace/Sources/Signals/SignalWatch.swift:90:48: warning: capture of 'self' with non-sendable type 'SignalWatch' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
11 | public class SignalWatch {
| `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
12 | public static let shared = SignalWatch()
13 |
:
88 | private func didRecieve(signal: Signals.Signal) {
89 | return self.queue.async {
90 | guard let signalWatchHandlerList = self.signalsWatched[signal.rawValue] else { return }
| `- warning: capture of 'self' with non-sendable type 'SignalWatch' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |
92 | for signalHandler in signalWatchHandlerList {
/Users/admin/builder/spi-builder-workspace/Sources/Signals/SignalWatch.swift:90:68: warning: capture of 'signal' with non-sendable type 'Signals.Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | private func didRecieve(signal: Signals.Signal) {
89 | return self.queue.async {
90 | guard let signalWatchHandlerList = self.signalsWatched[signal.rawValue] else { return }
| `- warning: capture of 'signal' with non-sendable type 'Signals.Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |
92 | for signalHandler in signalWatchHandlerList {
/Users/admin/builder/spi-builder-workspace/Sources/Signals/Signals.swift:39:14: note: consider making enum 'Signal' conform to the 'Sendable' protocol
37 | /// Common OS Signals
38 | ///
39 | public enum Signal {
| `- note: consider making enum 'Signal' conform to the 'Sendable' protocol
40 | case hup
41 | case int
Build complete! (5.65s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Signals",
"name" : "Signals",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Signals",
"targets" : [
"Signals"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Signals",
"module_type" : "SwiftTarget",
"name" : "Signals",
"path" : "Sources/Signals",
"product_memberships" : [
"Signals"
],
"sources" : [
"SignalWatch.swift",
"SignalWatchHandler.swift",
"Signals.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.