Build Information
Failed to build ConnectionKage, reference main (ea1b58
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 04:37:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andreilob/ConnectionKage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/andreilob/ConnectionKage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ea1b589 Update README.md
Cloned https://github.com/andreilob/ConnectionKage.git
Revision (git rev-parse @):
ea1b5895705b0bfbff6ff5981a024e6bc744c6cc
SUCCESS checkout https://github.com/andreilob/ConnectionKage.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/andreilob/ConnectionKage.git
https://github.com/andreilob/ConnectionKage.git
{
"dependencies" : [
],
"manifest_display_name" : "ConnectionKage",
"name" : "ConnectionKage",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "ConnectionKage",
"targets" : [
"ConnectionKage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConnectionKageTests",
"module_type" : "SwiftTarget",
"name" : "ConnectionKageTests",
"path" : "Tests/ConnectionKageTests",
"sources" : [
"Mocks/ConnectionMonitorMock.swift",
"Mocks/PathMock.swift",
"ReachabilityTests.swift"
],
"target_dependencies" : [
"ConnectionKage"
],
"type" : "test"
},
{
"c99name" : "ConnectionKage",
"module_type" : "SwiftTarget",
"name" : "ConnectionKage",
"path" : "Sources/ConnectionKage",
"product_memberships" : [
"ConnectionKage"
],
"sources" : [
"Monitor/ConnectionMonitor.swift",
"Monitor/PathMonitor.swift",
"Path/ConnectionPath.swift",
"Path/ConnectionType.swift",
"Path/DisconnectionReason.swift",
"Path/Path.swift",
"Path/PathStatus.swift",
"Reachability.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/11] Compiling ConnectionKage Path.swift
[4/11] Compiling ConnectionKage ConnectionPath.swift
[5/11] Compiling ConnectionKage PathMonitor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module ConnectionKage
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Monitor/ConnectionMonitor.swift:7:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | final class ConnectionMonitor: PathMonitor, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
4 | var pathUpdateHandler: ((any ConnectionPath) -> Void)?
5 | var isStarted: Bool = false
6 |
7 | private let monitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | private let monitorQueue = DispatchQueue(label: "ConnectionKage.Reachability.MonitorQueue", qos: .background)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/ConnectionType.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum ConnectionType {
| `- note: add @available attribute to enclosing enum
4 | /// The device is connected to a WiFi network.
5 | case wifi
:
17 | case unknown
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | if path.usesInterfaceType(.wifi) {
21 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/DisconnectionReason.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum DisconnectionReason {
| `- note: add @available attribute to enclosing enum
4 | /// No specific reason is given for the network disconnection. This is a default case when the reason is unknown.
5 | case notAvailable
:
17 | case vpnInactive
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | switch path.unsatisfiedReason {
21 | case .notAvailable: self = .notAvailable
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/PathStatus.swift:13:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | enum PathStatus {
| `- note: add @available attribute to enclosing enum
4 | /// The path has a usable route upon which to send and receive data
5 | case satisfied
:
11 | case requiresConnection
12 |
13 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
14 | switch path.status {
15 | case .satisfied: self = .satisfied
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
5 | /// A Boolean value that indicates whether the current network path is reachable.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
|14 | /// It is important to monitor this property continuously for real-time updates.
|15 | @ObservationIgnored private var _isReachable = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
macro expansion @ObservationTracked:9:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @ObservationTracked ---------------------------
|7 | /// - Note: This property is updated whenever the network path changes and provides the current network
|8 | /// type based on the available interface types.
|9 | @ObservationIgnored private var _connectionType: ConnectionType = .unknown
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @ObservationTracked:13:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:50: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @ObservationTracked ---------------------------
|11 | /// this property may return `true`.
|12 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
|13 | @ObservationIgnored private var _isConstrained = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
|14 | /// so it is recommended to monitor it continuously for the most accurate state.
|15 | @ObservationIgnored private var _isExpensive = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @ObservationTracked:6:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @ObservationTracked ---------------------------
|4 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
|5 | /// such as the user disabling certain network services or a required VPN being inactive.
|6 | @ObservationIgnored private var _disconnectionReason: DisconnectionReason?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:37: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _monitor: PathMonitor
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
[7/11] Compiling ConnectionKage ConnectionType.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/ConnectionType.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum ConnectionType {
| `- note: add @available attribute to enclosing enum
4 | /// The device is connected to a WiFi network.
5 | case wifi
:
17 | case unknown
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | if path.usesInterfaceType(.wifi) {
21 | self = .wifi
[8/11] Compiling ConnectionKage DisconnectionReason.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/DisconnectionReason.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum DisconnectionReason {
| `- note: add @available attribute to enclosing enum
4 | /// No specific reason is given for the network disconnection. This is a default case when the reason is unknown.
5 | case notAvailable
:
17 | case vpnInactive
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | switch path.unsatisfiedReason {
21 | case .notAvailable: self = .notAvailable
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/DisconnectionReason.swift:20:21: error: 'unsatisfiedReason' is only available in macOS 11.0 or newer
1 | import Network
2 |
3 | public enum DisconnectionReason {
| `- note: add @available attribute to enclosing enum
4 | /// No specific reason is given for the network disconnection. This is a default case when the reason is unknown.
5 | case notAvailable
:
17 | case vpnInactive
18 |
19 | init(path: NWPath) {
| `- note: add @available attribute to enclosing initializer
20 | switch path.unsatisfiedReason {
| |- error: 'unsatisfiedReason' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
21 | case .notAvailable: self = .notAvailable
22 | case .cellularDenied: self = .cellularDenied
[9/11] Compiling ConnectionKage PathStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/PathStatus.swift:13:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | enum PathStatus {
| `- note: add @available attribute to enclosing enum
4 | /// The path has a usable route upon which to send and receive data
5 | case satisfied
:
11 | case requiresConnection
12 |
13 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
14 | switch path.status {
15 | case .satisfied: self = .satisfied
[10/11] Compiling ConnectionKage Reachability.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
5 | /// A Boolean value that indicates whether the current network path is reachable.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
|14 | /// It is important to monitor this property continuously for real-time updates.
|15 | @ObservationIgnored private var _isReachable = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
macro expansion @ObservationTracked:9:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @ObservationTracked ---------------------------
|7 | /// - Note: This property is updated whenever the network path changes and provides the current network
|8 | /// type based on the available interface types.
|9 | @ObservationIgnored private var _connectionType: ConnectionType = .unknown
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @ObservationTracked:13:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:50: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @ObservationTracked ---------------------------
|11 | /// this property may return `true`.
|12 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
|13 | @ObservationIgnored private var _isConstrained = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
|14 | /// so it is recommended to monitor it continuously for the most accurate state.
|15 | @ObservationIgnored private var _isExpensive = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @ObservationTracked:6:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @ObservationTracked ---------------------------
|4 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
|5 | /// such as the user disabling certain network services or a required VPN being inactive.
|6 | @ObservationIgnored private var _disconnectionReason: DisconnectionReason?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:37: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _monitor: PathMonitor
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
[11/11] Compiling ConnectionKage ConnectionMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Monitor/ConnectionMonitor.swift:7:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | final class ConnectionMonitor: PathMonitor, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
4 | var pathUpdateHandler: ((any ConnectionPath) -> Void)?
5 | var isStarted: Bool = false
6 |
7 | private let monitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | private let monitorQueue = DispatchQueue(label: "ConnectionKage.Reachability.MonitorQueue", qos: .background)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Monitor/ConnectionMonitor.swift:16:41: error: 'isConstrained' is only available in macOS 10.15 or newer
1 | import Network
2 |
3 | final class ConnectionMonitor: PathMonitor, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
4 | var pathUpdateHandler: ((any ConnectionPath) -> Void)?
5 | var isStarted: Bool = false
:
8 | private let monitorQueue = DispatchQueue(label: "ConnectionKage.Reachability.MonitorQueue", qos: .background)
9 |
10 | init() {
| `- note: add @available attribute to enclosing initializer
11 | monitor.pathUpdateHandler = { [weak self] path in
12 | guard let self else { return }
:
14 | Path(
15 | status: PathStatus(path: path),
16 | isConstrained: path.isConstrained,
| |- error: 'isConstrained' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | isExpensive: path.isExpensive,
18 | connectionType: ConnectionType(path: path),
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/10] Compiling ConnectionKage Path.swift
[3/10] Compiling ConnectionKage ConnectionPath.swift
[4/10] Emitting module ConnectionKage
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Monitor/ConnectionMonitor.swift:7:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | final class ConnectionMonitor: PathMonitor, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
4 | var pathUpdateHandler: ((any ConnectionPath) -> Void)?
5 | var isStarted: Bool = false
6 |
7 | private let monitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | private let monitorQueue = DispatchQueue(label: "ConnectionKage.Reachability.MonitorQueue", qos: .background)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/ConnectionType.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum ConnectionType {
| `- note: add @available attribute to enclosing enum
4 | /// The device is connected to a WiFi network.
5 | case wifi
:
17 | case unknown
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | if path.usesInterfaceType(.wifi) {
21 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/DisconnectionReason.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum DisconnectionReason {
| `- note: add @available attribute to enclosing enum
4 | /// No specific reason is given for the network disconnection. This is a default case when the reason is unknown.
5 | case notAvailable
:
17 | case vpnInactive
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | switch path.unsatisfiedReason {
21 | case .notAvailable: self = .notAvailable
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/PathStatus.swift:13:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | enum PathStatus {
| `- note: add @available attribute to enclosing enum
4 | /// The path has a usable route upon which to send and receive data
5 | case satisfied
:
11 | case requiresConnection
12 |
13 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
14 | switch path.status {
15 | case .satisfied: self = .satisfied
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
5 | /// A Boolean value that indicates whether the current network path is reachable.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
|14 | /// It is important to monitor this property continuously for real-time updates.
|15 | @ObservationIgnored private var _isReachable = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
macro expansion @ObservationTracked:9:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @ObservationTracked ---------------------------
|7 | /// - Note: This property is updated whenever the network path changes and provides the current network
|8 | /// type based on the available interface types.
|9 | @ObservationIgnored private var _connectionType: ConnectionType = .unknown
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @ObservationTracked:13:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:50: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @ObservationTracked ---------------------------
|11 | /// this property may return `true`.
|12 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
|13 | @ObservationIgnored private var _isConstrained = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
|14 | /// so it is recommended to monitor it continuously for the most accurate state.
|15 | @ObservationIgnored private var _isExpensive = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @ObservationTracked:6:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @ObservationTracked ---------------------------
|4 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
|5 | /// such as the user disabling certain network services or a required VPN being inactive.
|6 | @ObservationIgnored private var _disconnectionReason: DisconnectionReason?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:37: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _monitor: PathMonitor
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
[5/10] Compiling ConnectionKage PathMonitor.swift
[6/10] Compiling ConnectionKage PathStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/PathStatus.swift:13:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | enum PathStatus {
| `- note: add @available attribute to enclosing enum
4 | /// The path has a usable route upon which to send and receive data
5 | case satisfied
:
11 | case requiresConnection
12 |
13 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
14 | switch path.status {
15 | case .satisfied: self = .satisfied
[7/10] Compiling ConnectionKage ConnectionMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Monitor/ConnectionMonitor.swift:7:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | final class ConnectionMonitor: PathMonitor, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
4 | var pathUpdateHandler: ((any ConnectionPath) -> Void)?
5 | var isStarted: Bool = false
6 |
7 | private let monitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | private let monitorQueue = DispatchQueue(label: "ConnectionKage.Reachability.MonitorQueue", qos: .background)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Monitor/ConnectionMonitor.swift:16:41: error: 'isConstrained' is only available in macOS 10.15 or newer
1 | import Network
2 |
3 | final class ConnectionMonitor: PathMonitor, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
4 | var pathUpdateHandler: ((any ConnectionPath) -> Void)?
5 | var isStarted: Bool = false
:
8 | private let monitorQueue = DispatchQueue(label: "ConnectionKage.Reachability.MonitorQueue", qos: .background)
9 |
10 | init() {
| `- note: add @available attribute to enclosing initializer
11 | monitor.pathUpdateHandler = { [weak self] path in
12 | guard let self else { return }
:
14 | Path(
15 | status: PathStatus(path: path),
16 | isConstrained: path.isConstrained,
| |- error: 'isConstrained' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | isExpensive: path.isExpensive,
18 | connectionType: ConnectionType(path: path),
[8/10] Compiling ConnectionKage DisconnectionReason.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/DisconnectionReason.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum DisconnectionReason {
| `- note: add @available attribute to enclosing enum
4 | /// No specific reason is given for the network disconnection. This is a default case when the reason is unknown.
5 | case notAvailable
:
17 | case vpnInactive
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | switch path.unsatisfiedReason {
21 | case .notAvailable: self = .notAvailable
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/DisconnectionReason.swift:20:21: error: 'unsatisfiedReason' is only available in macOS 11.0 or newer
1 | import Network
2 |
3 | public enum DisconnectionReason {
| `- note: add @available attribute to enclosing enum
4 | /// No specific reason is given for the network disconnection. This is a default case when the reason is unknown.
5 | case notAvailable
:
17 | case vpnInactive
18 |
19 | init(path: NWPath) {
| `- note: add @available attribute to enclosing initializer
20 | switch path.unsatisfiedReason {
| |- error: 'unsatisfiedReason' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
21 | case .notAvailable: self = .notAvailable
22 | case .cellularDenied: self = .cellularDenied
[9/10] Compiling ConnectionKage ConnectionType.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Path/ConnectionType.swift:19:16: error: 'NWPath' is only available in macOS 10.14 or newer
1 | import Network
2 |
3 | public enum ConnectionType {
| `- note: add @available attribute to enclosing enum
4 | /// The device is connected to a WiFi network.
5 | case wifi
:
17 | case unknown
18 |
19 | init(path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing initializer
20 | if path.usesInterfaceType(.wifi) {
21 | self = .wifi
[10/10] Compiling ConnectionKage Reachability.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
5 | /// A Boolean value that indicates whether the current network path is reachable.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:5: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:19:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
17 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
18 | /// It is important to monitor this property continuously for real-time updates.
19 | public private(set) var isReachable = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// to the internet, and its value will change as network conditions evolve (e.g., switching from WiFi to cellular).
|14 | /// It is important to monitor this property continuously for real-time updates.
|15 | @ObservationIgnored private var _isReachable = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
20 |
21 | /// The type of the current network connection.
macro expansion @ObservationTracked:9:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:29:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
27 | /// - Note: This property is updated whenever the network path changes and provides the current network
28 | /// type based on the available interface types.
29 | public private(set) var connectionType: ConnectionType = .unknown
+--- macro expansion @ObservationTracked ---------------------------
|7 | /// - Note: This property is updated whenever the network path changes and provides the current network
|8 | /// type based on the available interface types.
|9 | @ObservationIgnored private var _connectionType: ConnectionType = .unknown
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
30 |
31 | /// A Boolean value that indicates whether the current network path is constrained by system-imposed limits.
macro expansion @ObservationTracked:13:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:43:50: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
41 | /// this property may return `true`.
42 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
43 | public private(set) var isConstrained = false
+--- macro expansion @ObservationTracked ---------------------------
|11 | /// this property may return `true`.
|12 | /// - **Cellular Networks:** Some cellular networks may apply constraints based on the user's plan or network conditions.
|13 | @ObservationIgnored private var _isConstrained = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 |
45 | /// A Boolean value that indicates whether the current network path is considered expensive.
macro expansion @ObservationTracked:15:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:59:48: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
57 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
58 | /// so it is recommended to monitor it continuously for the most accurate state.
59 | public private(set) var isExpensive = false
+--- macro expansion @ObservationTracked ---------------------------
|13 | /// - Note: The value of `isExpensive` may change during the lifetime of a network connection,
|14 | /// so it is recommended to monitor it continuously for the most accurate state.
|15 | @ObservationIgnored private var _isExpensive = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
60 |
61 | /// Represents the reason for a network disconnection or unsatisfied network path.
macro expansion @ObservationTracked:6:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:66:70: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
64 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
65 | /// such as the user disabling certain network services or a required VPN being inactive.
66 | public private(set) var disconnectionReason: DisconnectionReason?
+--- macro expansion @ObservationTracked ---------------------------
|4 | /// It corresponds to various conditions under which the device's network connection may be unavailable,
|5 | /// such as the user disabling certain network services or a required VPN being inactive.
|6 | @ObservationIgnored private var _disconnectionReason: DisconnectionReason?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 |
68 | private var monitor: PathMonitor
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:68:37: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
66 | public private(set) var disconnectionReason: DisconnectionReason?
67 |
68 | private var monitor: PathMonitor
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _monitor: PathMonitor
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 |
70 | public init() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:98:1: note: expanded code originates here
2 |
3 | @Observable
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
:
96 | }
97 | }
98 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
99 |
/Users/admin/builder/spi-builder-workspace/Sources/ConnectionKage/Reachability.swift:3:2: error: 'Observable()' is only available in macOS 14.0 or newer
1 | import Observation
2 |
3 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
4 | public final class Reachability: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | /// A Boolean value that indicates whether the current network path is reachable.
6 | ///
BUILD FAILURE 6.1 macosSpm