Build Information
Successful build of Watchdog with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
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/wojteklu/Watchdog.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wojteklu/Watchdog
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2df9acf Add support for SwiftPM (#51)
Cloned https://github.com/wojteklu/Watchdog.git
Revision (git rev-parse @):
2df9acf8472a1f1146fc0f41e37d3f424dba72d6
SUCCESS checkout https://github.com/wojteklu/Watchdog.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/wojteklu/Watchdog.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/4] Compiling Watchdog Watchdog.swift
/Users/admin/builder/spi-builder-workspace/Classes/Watchdog.swift:70:17: warning: capture of 'self' with non-sendable type 'PingThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | }
38 |
39 | private final class PingThread: Thread {
| `- note: class 'PingThread' does not conform to the 'Sendable' protocol
40 | fileprivate var pingTaskIsRunning: Bool {
41 | get {
:
68 | pingTaskIsRunning = true
69 | DispatchQueue.main.async {
70 | self.pingTaskIsRunning = false
| `- warning: capture of 'self' with non-sendable type 'PingThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | self.semaphore.signal()
72 | }
/Users/admin/builder/spi-builder-workspace/Classes/Watchdog.swift:70:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
68 | pingTaskIsRunning = true
69 | DispatchQueue.main.async {
70 | self.pingTaskIsRunning = false
| |- 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
71 | self.semaphore.signal()
72 | }
[4/4] Emitting module Watchdog
Build complete! (16.21s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Watchdog",
"name" : "Watchdog",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Watchdog",
"targets" : [
"Watchdog"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Watchdog",
"module_type" : "SwiftTarget",
"name" : "Watchdog",
"path" : "Classes",
"product_memberships" : [
"Watchdog"
],
"sources" : [
"Watchdog.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.