Build Information
Successful build of NetworkMonitor, reference 0.0.1 (27935a
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 09:37:48 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/NetworkMonitor.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/NetworkMonitor
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 27935a4 Update README.md
Cloned https://github.com/0xWDG/NetworkMonitor.git
Revision (git rev-parse @):
27935a47f9a25335d4785fab5eb287a19c0eab2d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/NetworkMonitor.git at 0.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/0xWDG/NetworkMonitor.git
https://github.com/0xWDG/NetworkMonitor.git
{
"dependencies" : [
],
"manifest_display_name" : "NetworkMonitor",
"name" : "NetworkMonitor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "NetworkMonitor",
"targets" : [
"NetworkMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetworkMonitorTests",
"module_type" : "SwiftTarget",
"name" : "NetworkMonitorTests",
"path" : "Tests/NetworkMonitorTests",
"sources" : [
"NetworkMonitorTests.swift"
],
"target_dependencies" : [
"NetworkMonitor"
],
"type" : "test"
},
{
"c99name" : "NetworkMonitor",
"module_type" : "SwiftTarget",
"name" : "NetworkMonitor",
"path" : "Sources/NetworkMonitor",
"product_memberships" : [
"NetworkMonitor"
],
"sources" : [
"NetworkMonitor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/4] Emitting module NetworkMonitor
[4/4] Compiling NetworkMonitor NetworkMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkMonitor/NetworkMonitor.swift:45:13: warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// NetworkMonitor wraps NWPathMonitor into an Obervable object.
17 | public final class NetworkMonitor: ObservableObject {
| `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
18 | /// This will be used to track the network connectivity
19 | @Published
:
43 |
44 | // Check if the device is connected to the internet
45 | self?.isConnected = path.status == .satisfied
| `- warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |
47 | // Check if the network is expensive (e.g. cellular data)
Build complete! (4.49s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NetworkMonitor",
"name" : "NetworkMonitor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "NetworkMonitor",
"targets" : [
"NetworkMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetworkMonitorTests",
"module_type" : "SwiftTarget",
"name" : "NetworkMonitorTests",
"path" : "Tests/NetworkMonitorTests",
"sources" : [
"NetworkMonitorTests.swift"
],
"target_dependencies" : [
"NetworkMonitor"
],
"type" : "test"
},
{
"c99name" : "NetworkMonitor",
"module_type" : "SwiftTarget",
"name" : "NetworkMonitor",
"path" : "Sources/NetworkMonitor",
"product_memberships" : [
"NetworkMonitor"
],
"sources" : [
"NetworkMonitor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.