Build Information
Successful build of SundialKit, reference main (2e1082
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 06:25:17 UTC.
Swift 6 data race errors: 5
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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/SundialKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/SundialKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2e1082d added .messageReceivedPublisher
Cloned https://github.com/brightdigit/SundialKit.git
Revision (git rev-parse @):
2e1082d8ebdd74bc053191aff0884e2a439e483d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/SundialKit.git at main
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[3/116] Fetching logger
[27/1045] Fetching logger, swiftytexttable
[192/2005] Fetching logger, swiftytexttable, shellout
[384/6868] Fetching logger, swiftytexttable, shellout, swiftshell
[385/9688] Fetching logger, swiftytexttable, shellout, swiftshell, swxmlhash
[574/10197] Fetching logger, swiftytexttable, shellout, swiftshell, swxmlhash, komondor
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.81s)
[2222/9237] Fetching logger, swiftytexttable, swiftshell, swxmlhash, komondor
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.02s)
Fetching https://github.com/apple/swift-syntax.git
[2868/6417] Fetching logger, swiftytexttable, swiftshell, komondor
Fetched https://github.com/shibapm/Komondor from cache (1.22s)
Fetching https://github.com/shibapm/Rocket
[1/149903] Fetching swiftlint
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.62s)
Fetching https://github.com/nicklockwood/SwiftFormat
[10495/151289] Fetching swiftlint, rocket
Fetched https://github.com/shibapm/Rocket from cache (0.74s)
Fetching https://github.com/jpsim/Yams from cache
[13027/149903] Fetching swiftlint
[13028/196633] Fetching swiftlint, swiftformat
Fetched https://github.com/jpsim/Yams from cache (0.54s)
Fetching https://github.com/shibapm/PackageConfig.git
[13496/266866] Fetching swiftlint, swiftformat, swift-syntax
[49304/267446] Fetching swiftlint, swiftformat, swift-syntax, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.73s)
[65457/266866] Fetching swiftlint, swiftformat, swift-syntax
Fetching https://github.com/jpsim/SourceKitten.git
[91300/282978] Fetching swiftlint, swiftformat, swift-syntax, sourcekitten
Fetched https://github.com/apple/swift-syntax.git from cache (3.34s)
[23967/212745] Fetching swiftlint, swiftformat, sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.54s)
[23500/196633] Fetching swiftlint, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (35.56s)
[32315/149903] Fetching swiftlint
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (96.40s)
Fetched https://github.com/realm/SwiftLint from cache (96.40s)
Computing version for https://github.com/shibapm/Rocket
Fetched https://github.com/kareman/SwiftShell from cache (96.40s)
Fetched https://github.com/shibapm/Logger from cache (96.40s)
Computed https://github.com/shibapm/Rocket at 1.2.1 (97.24s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.48.0 (0.73s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.50.0 (2.88s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.4 (0.60s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.59s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.58s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.58s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.67s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.32.0 (0.60s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.61s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.59s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 6.0.0 (0.61s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.59s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.0.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.50.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.32.0
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.4
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.48.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 6.0.0
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.2.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Downloading binary artifact https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50600.1/_InternalSwiftSyntaxParser.xcframework.zip
[8948/26182122] Downloading https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
[10287032/46761281] Downloading https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip, https://github.com/apple/swift-syntax/releases/download/0.50600.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/apple/swift-syntax/releases/download/0.50600.1/_InternalSwiftSyntaxParser.xcframework.zip (2.47s)
Downloaded https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip (2.58s)
========================================
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": "sundialkit",
"name": "SundialKit",
"url": "https://github.com/brightdigit/SundialKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SundialKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/brightdigit/SundialKit.git
[1/1062] Fetching sundialkit
Fetched https://github.com/brightdigit/SundialKit.git from cache (1.09s)
Creating working copy for https://github.com/brightdigit/SundialKit.git
Working copy of https://github.com/brightdigit/SundialKit.git resolved at main (2e1082d)
warning: '.resolve-product-dependencies': dependency 'sundialkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brightdigit/SundialKit.git
https://github.com/brightdigit/SundialKit.git
{
"dependencies" : [
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.41.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket"
}
],
"manifest_display_name" : "SundialKit",
"name" : "SundialKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SundialKit",
"targets" : [
"SundialKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SundialKitTests",
"module_type" : "SwiftTarget",
"name" : "SundialKitTests",
"path" : "Tests/SundialKitTests",
"sources" : [
"MockError.swift",
"MockMessage.swift",
"MockNetworkPing.swift",
"MockPath.swift",
"MockPathMonitor.swift",
"MockSession.swift",
"Network/Extensions/NWInterfaceTests.swift",
"Network/Extensions/NWPathMonitorTests.swift",
"Network/Extensions/PathStatusNetworkTests.swift",
"Network/NetworkObserverTests.swift",
"PassthroughSubjectTests.swift",
"WatchConnectivity/ConnectivityObserverInternalTests.swift",
"WatchConnectivity/ConnectivityObserverMessageTests.swift",
"WatchConnectivity/ConnectivityObserverPropertyTests.swift",
"WatchConnectivity/ConnectivityReceiveContextTests.swift",
"WatchConnectivity/ConnectivitySendContextTests.swift",
"WatchConnectivity/MessagableTests.swift",
"WatchConnectivity/MessageDecoderTests.swift",
"WatchConnectivity/NeverConnectivitySessionTests.swift"
],
"target_dependencies" : [
"SundialKit"
],
"type" : "test"
},
{
"c99name" : "SundialKit",
"module_type" : "SwiftTarget",
"name" : "SundialKit",
"path" : "Sources/SundialKit",
"product_memberships" : [
"SundialKit"
],
"sources" : [
"Network/Extensions/NWInterface.swift",
"Network/Extensions/NWPath.swift",
"Network/Extensions/NWPathMonitor.swift",
"Network/Extensions/PathStatus.Network.swift",
"Network/Extensions/PathStatus.UnsatisfiedReason.swift",
"Network/Interfaceable.swift",
"Network/NetworkObserver.swift",
"Network/NetworkPath.swift",
"Network/NetworkPing.swift",
"Network/NeverPing.swift",
"Network/PathMonitor.swift",
"Network/PathStatus.swift",
"PassthroughSubject.swift",
"SundialError.swift",
"WatchConnectivity/ActivationState.swift",
"WatchConnectivity/ConnectivityHandler.swift",
"WatchConnectivity/ConnectivityMessage.swift",
"WatchConnectivity/ConnectivityObserver.swift",
"WatchConnectivity/ConnectivityReceiveContext.swift",
"WatchConnectivity/ConnectivityReceiveResult.swift",
"WatchConnectivity/ConnectivitySendContext.swift",
"WatchConnectivity/ConnectivitySendResult.swift",
"WatchConnectivity/ConnectivitySession.swift",
"WatchConnectivity/ConnectivitySessionDelegate.swift",
"WatchConnectivity/Extensions/WCSession.swift",
"WatchConnectivity/Messagable.swift",
"WatchConnectivity/MessagableKeys.swift",
"WatchConnectivity/MessageDecoder.swift",
"WatchConnectivity/NeverConnectivitySession.swift",
"WatchConnectivity/WatchConnectivitySession.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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/30] Emitting module SundialKit
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cellular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wifi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wiredEthernet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'other' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'loopback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 | }
[4/33] Compiling SundialKit MessageDecoder.swift
[5/33] Compiling SundialKit NeverConnectivitySession.swift
[6/33] Compiling SundialKit WatchConnectivitySession.swift
[7/33] Compiling SundialKit WCSession.swift
[8/33] Compiling SundialKit Messagable.swift
[9/33] Compiling SundialKit MessagableKeys.swift
[10/33] Compiling SundialKit NeverPing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cellular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wifi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wiredEthernet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'other' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'loopback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 | }
[11/33] Compiling SundialKit PathMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cellular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wifi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wiredEthernet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'other' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'loopback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 | }
[12/33] Compiling SundialKit PathStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cellular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wifi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wiredEthernet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'other' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'loopback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 | }
[13/33] Compiling SundialKit NetworkObserver.swift
[14/33] Compiling SundialKit NetworkPath.swift
[15/33] Compiling SundialKit NetworkPing.swift
[16/33] Compiling SundialKit ConnectivityReceiveContext.swift
[17/33] Compiling SundialKit ConnectivityReceiveResult.swift
[18/33] Compiling SundialKit ConnectivitySendContext.swift
[19/33] Compiling SundialKit ConnectivitySendResult.swift
[20/33] Compiling SundialKit ConnectivitySession.swift
[21/33] Compiling SundialKit ConnectivitySessionDelegate.swift
[22/33] Compiling SundialKit ConnectivityHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- 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
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- 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
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- 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
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
[23/33] Compiling SundialKit ConnectivityMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- 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
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- 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
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- 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
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
[24/33] Compiling SundialKit ConnectivityObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- 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
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- 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
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- 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
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
[25/33] Compiling SundialKit PassthroughSubject.swift
[26/33] Compiling SundialKit SundialError.swift
[27/33] Compiling SundialKit ActivationState.swift
[28/33] Compiling SundialKit NWInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/NWPathMonitor.swift:7:25: warning: assigning non-sendable parameter 'handler' to a @Sendable closure
4 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
5 | extension NWPathMonitor: PathMonitor {
6 | public func onPathUpdate(_ handler: @escaping (NWPath) -> Void) {
| `- note: parameter 'handler' is implicitly non-sendable
7 | pathUpdateHandler = handler
| `- warning: assigning non-sendable parameter 'handler' to a @Sendable closure
8 | }
9 | }
[29/33] Compiling SundialKit NWPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/NWPathMonitor.swift:7:25: warning: assigning non-sendable parameter 'handler' to a @Sendable closure
4 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
5 | extension NWPathMonitor: PathMonitor {
6 | public func onPathUpdate(_ handler: @escaping (NWPath) -> Void) {
| `- note: parameter 'handler' is implicitly non-sendable
7 | pathUpdateHandler = handler
| `- warning: assigning non-sendable parameter 'handler' to a @Sendable closure
8 | }
9 | }
[30/33] Compiling SundialKit NWPathMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/NWPathMonitor.swift:7:25: warning: assigning non-sendable parameter 'handler' to a @Sendable closure
4 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
5 | extension NWPathMonitor: PathMonitor {
6 | public func onPathUpdate(_ handler: @escaping (NWPath) -> Void) {
| `- note: parameter 'handler' is implicitly non-sendable
7 | pathUpdateHandler = handler
| `- warning: assigning non-sendable parameter 'handler' to a @Sendable closure
8 | }
9 | }
[31/33] Compiling SundialKit PathStatus.Network.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/PathStatus.UnsatisfiedReason.swift:10:7: warning: switch must be exhaustive
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[32/33] Compiling SundialKit PathStatus.UnsatisfiedReason.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/PathStatus.UnsatisfiedReason.swift:10:7: warning: switch must be exhaustive
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[33/33] Compiling SundialKit Interfaceable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/PathStatus.UnsatisfiedReason.swift:10:7: warning: switch must be exhaustive
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
Build complete! (8.60s)
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. this will be escalated to an error in future versions of SwiftPM.
Build complete.
{
"dependencies" : [
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.41.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket"
}
],
"manifest_display_name" : "SundialKit",
"name" : "SundialKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SundialKit",
"targets" : [
"SundialKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SundialKitTests",
"module_type" : "SwiftTarget",
"name" : "SundialKitTests",
"path" : "Tests/SundialKitTests",
"sources" : [
"MockError.swift",
"MockMessage.swift",
"MockNetworkPing.swift",
"MockPath.swift",
"MockPathMonitor.swift",
"MockSession.swift",
"Network/Extensions/NWInterfaceTests.swift",
"Network/Extensions/NWPathMonitorTests.swift",
"Network/Extensions/PathStatusNetworkTests.swift",
"Network/NetworkObserverTests.swift",
"PassthroughSubjectTests.swift",
"WatchConnectivity/ConnectivityObserverInternalTests.swift",
"WatchConnectivity/ConnectivityObserverMessageTests.swift",
"WatchConnectivity/ConnectivityObserverPropertyTests.swift",
"WatchConnectivity/ConnectivityReceiveContextTests.swift",
"WatchConnectivity/ConnectivitySendContextTests.swift",
"WatchConnectivity/MessagableTests.swift",
"WatchConnectivity/MessageDecoderTests.swift",
"WatchConnectivity/NeverConnectivitySessionTests.swift"
],
"target_dependencies" : [
"SundialKit"
],
"type" : "test"
},
{
"c99name" : "SundialKit",
"module_type" : "SwiftTarget",
"name" : "SundialKit",
"path" : "Sources/SundialKit",
"product_memberships" : [
"SundialKit"
],
"sources" : [
"Network/Extensions/NWInterface.swift",
"Network/Extensions/NWPath.swift",
"Network/Extensions/NWPathMonitor.swift",
"Network/Extensions/PathStatus.Network.swift",
"Network/Extensions/PathStatus.UnsatisfiedReason.swift",
"Network/Interfaceable.swift",
"Network/NetworkObserver.swift",
"Network/NetworkPath.swift",
"Network/NetworkPing.swift",
"Network/NeverPing.swift",
"Network/PathMonitor.swift",
"Network/PathStatus.swift",
"PassthroughSubject.swift",
"SundialError.swift",
"WatchConnectivity/ActivationState.swift",
"WatchConnectivity/ConnectivityHandler.swift",
"WatchConnectivity/ConnectivityMessage.swift",
"WatchConnectivity/ConnectivityObserver.swift",
"WatchConnectivity/ConnectivityReceiveContext.swift",
"WatchConnectivity/ConnectivityReceiveResult.swift",
"WatchConnectivity/ConnectivitySendContext.swift",
"WatchConnectivity/ConnectivitySendResult.swift",
"WatchConnectivity/ConnectivitySession.swift",
"WatchConnectivity/ConnectivitySessionDelegate.swift",
"WatchConnectivity/Extensions/WCSession.swift",
"WatchConnectivity/Messagable.swift",
"WatchConnectivity/MessagableKeys.swift",
"WatchConnectivity/MessageDecoder.swift",
"WatchConnectivity/NeverConnectivitySession.swift",
"WatchConnectivity/WatchConnectivitySession.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.