Build Information
Successful build of SundialKit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
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/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 16b9f01 Unhide dev dependencies
Cloned https://github.com/brightdigit/SundialKit.git
Revision (git rev-parse @):
16b9f01fd9790a96a38548eb261d5a5e2d0fdd98
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/brightdigit/SundialKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/brightdigit/SundialKit.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/30] Compiling SundialKit WCSession.swift
[4/30] Compiling SundialKit Messagable.swift
[5/30] Compiling SundialKit MessagableKeys.swift
[6/33] Compiling SundialKit ConnectivitySendResult.swift
[7/33] Compiling SundialKit ConnectivitySession.swift
[8/33] Compiling SundialKit ConnectivitySessionDelegate.swift
[9/33] Compiling SundialKit ConnectivityReceiveContext.swift
[10/33] Compiling SundialKit ConnectivityReceiveResult.swift
[11/33] Compiling SundialKit ConnectivitySendContext.swift
[12/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: annotate 'cellular' 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
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: annotate 'wifi' 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
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: annotate 'wiredEthernet' 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
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: annotate 'other' 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
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: annotate 'loopback' 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
51 | }
52 | }
[13/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: annotate 'cellular' 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
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: annotate 'wifi' 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
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: annotate 'wiredEthernet' 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
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: annotate 'other' 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
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: annotate 'loopback' 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
51 | }
52 | }
[14/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: annotate 'cellular' 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
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: annotate 'wifi' 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
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: annotate 'wiredEthernet' 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
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: annotate 'other' 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
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: annotate 'loopback' 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
51 | }
52 | }
[15/33] Compiling SundialKit MessageDecoder.swift
[16/33] Compiling SundialKit NeverConnectivitySession.swift
[17/33] Compiling SundialKit WatchConnectivitySession.swift
[18/33] Compiling SundialKit PassthroughSubject.swift
[19/33] Compiling SundialKit SundialError.swift
[20/33] Compiling SundialKit ActivationState.swift
[21/33] Compiling SundialKit ConnectivityHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; 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: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| `- warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; 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: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/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 | }
[22/33] Compiling SundialKit ConnectivityMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; 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: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| `- warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; 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: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/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 ConnectivityObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; 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: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| `- warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | /// Class for communication between the Apple Watch and iPhone.
6 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
7 | public class ConnectivityObserver: NSObject, ConnectivitySessionDelegate {
| `- note: class 'ConnectivityObserver' does not conform to the 'Sendable' protocol
8 | /// `typealias` for `PassthroughSubject` without a `Failure`.
9 | private typealias SuccessfulSubject<Output> = PassthroughSubject<Output, Never>
:
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| `- warning: capture of 'self' with non-sendable type 'ConnectivityObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; 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: capture of 'session' with non-sendable type 'any ConnectivitySession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivitySession.swift:1:19: note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
1 | internal protocol ConnectivitySession: AnyObject {
| `- note: protocol 'ConnectivitySession' does not conform to the 'Sendable' protocol
2 | var delegate: ConnectivitySessionDelegate? { get set }
3 | var isReachable: Bool { get }
/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] 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: annotate 'cellular' 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
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: annotate 'wifi' 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
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: annotate 'wiredEthernet' 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
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: annotate 'other' 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
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: annotate 'loopback' 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
51 | }
52 | }
[25/33] Compiling SundialKit NetworkObserver.swift
[26/33] Compiling SundialKit NetworkPath.swift
[27/33] Compiling SundialKit NetworkPing.swift
[28/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; this is an error in the Swift 6 language mode
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[29/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; this is an error in the Swift 6 language mode
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[30/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; this is an error in the Swift 6 language mode
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[31/33] Compiling SundialKit NWInterface.swift
/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: annotate 'other' 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
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: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: annotate 'wifi' 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
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: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: annotate 'cellular' 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
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: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: annotate 'wiredEthernet' 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
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: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: annotate 'loopback' 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
51 | }
52 | }
/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 | }
[32/33] Compiling SundialKit NWPath.swift
/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: annotate 'other' 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
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: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: annotate 'wifi' 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
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: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: annotate 'cellular' 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
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: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: annotate 'wiredEthernet' 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
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: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: annotate 'loopback' 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
51 | }
52 | }
/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 | }
[33/33] Compiling SundialKit NWPathMonitor.swift
/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: annotate 'other' 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
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: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: annotate 'wifi' 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
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: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: annotate 'cellular' 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
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: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: annotate 'wiredEthernet' 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
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: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: annotate 'loopback' 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
51 | }
52 | }
/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 | }
Build complete! (68.14s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/kareman/SwiftShell
[1/4863] Fetching swiftshell
[2/5819] Fetching swiftshell, shellout
[136/8589] Fetching swiftshell, shellout, swxmlhash
[448/9975] Fetching swiftshell, shellout, swxmlhash, rocket
[559/10555] Fetching swiftshell, shellout, swxmlhash, rocket, packageconfig
[1841/19892] Fetching swiftshell, shellout, swxmlhash, rocket, packageconfig, yams
[3165/35856] Fetching swiftshell, shellout, swxmlhash, rocket, packageconfig, yams, sourcekitten
Fetched https://github.com/shibapm/PackageConfig.git from cache (1.12s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.12s)
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/shibapm/Komondor
[4460/32506] Fetching swiftshell, shellout, rocket, yams, sourcekitten
[32507/33015] Fetching swiftshell, shellout, rocket, yams, sourcekitten, komondor
Fetched https://github.com/shibapm/Rocket from cache (1.92s)
Fetching https://github.com/nicklockwood/SwiftFormat
Fetched https://github.com/kareman/SwiftShell from cache (1.92s)
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/jpsim/Yams from cache (1.92s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.92s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.92s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/shibapm/Logger
[77/509] Fetching komondor
[510/132356] Fetching komondor, swiftlint
[1829/132472] Fetching komondor, swiftlint, logger
[1854/133401] Fetching komondor, swiftlint, logger, swiftytexttable
[10284/145080] Fetching komondor, swiftlint, logger, swiftytexttable, swift-argument-parser
[13505/183505] Fetching komondor, swiftlint, logger, swiftytexttable, swift-argument-parser, swiftformat
[27023/244418] Fetching komondor, swiftlint, logger, swiftytexttable, swift-argument-parser, swiftformat, swift-syntax
Fetched https://github.com/shibapm/Logger from cache (3.20s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.20s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.20s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (3.20s)
[20002/170781] Fetching komondor, swiftlint, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (14.76s)
[59841/132356] Fetching komondor, swiftlint
Fetched https://github.com/realm/SwiftLint from cache (20.57s)
Fetched https://github.com/shibapm/Komondor from cache (20.57s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.2.1 (0.70s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.48.0 (1.26s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.50.0 (2.84s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.4 (0.69s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.69s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.69s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.67s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.68s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.30s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.32.0 (0.67s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.89s)
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.68s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.63s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 6.0.0 (0.67s)
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.4
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/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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.48.0
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/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.32.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
[2747/20579159] Downloading https://github.com/apple/swift-syntax/releases/download/0.50600.1/_InternalSwiftSyntaxParser.xcframework.zip
[1962094/46761281] Downloading https://github.com/apple/swift-syntax/releases/download/0.50600.1/_InternalSwiftSyntaxParser.xcframework.zip, 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
Downloaded https://github.com/apple/swift-syntax/releases/download/0.50600.1/_InternalSwiftSyntaxParser.xcframework.zip (2.50s)
[14825790/26182122] Downloading https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
Downloading binary artifact https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip (4.90s)
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.