Build Information
Failed to build AtomNetworking, reference master (561794), with Swift 6.3 for macOS (SPM) on 10 Oct 2026 07:42:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
29 | operation($0)
30 | }
[58/85] Compiling AtomNetworking Data+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:26:59: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | operation($0)
30 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:58: note: expanded code originates here
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
+--- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift
|26 |
|27 |
|28 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+-----------------------------------------------------------------------------------------------------------------------------
29 | operation($0)
30 | }
[59/85] Compiling AtomNetworking Function+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:26:59: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | operation($0)
30 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:58: note: expanded code originates here
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
+--- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift
|26 |
|27 |
|28 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+-----------------------------------------------------------------------------------------------------------------------------
29 | operation($0)
30 | }
[60/85] Compiling AtomNetworking HTTPURLResponse+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:26:59: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | operation($0)
30 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:58: note: expanded code originates here
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
+--- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift
|26 |
|27 |
|28 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+-----------------------------------------------------------------------------------------------------------------------------
29 | operation($0)
30 | }
[61/85] Compiling AtomNetworking JSONDecoder+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:26:59: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | operation($0)
30 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift:28:58: note: expanded code originates here
24 | /// - Returns: The continuation's success value.
25 | /// - Throws: AtomError (mapped from any underlying Error).
26 | func withAtomCheckedContinuation<T>(operation: @Sendable (CheckedContinuation<T, Error>) -> Void) async throws(AtomError) -> T {
| `- note: add '@available' attribute to enclosing global function
27 | do {
28 | return try await withCheckedThrowingContinuation {
+--- /Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Function+Extensions.swift
|26 |
|27 |
|28 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+-----------------------------------------------------------------------------------------------------------------------------
29 | operation($0)
30 | }
[62/85] Compiling AtomNetworking AuthorizedRequestable+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[63/85] Compiling AtomNetworking BaseURL+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[64/85] Compiling AtomNetworking BaseURLScheme+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[65/85] Compiling AtomNetworking BasicCredential+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[66/85] Compiling AtomNetworking ConnectivitySnapshot+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[67/85] Compiling AtomNetworking HTTPMethod+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[68/85] Compiling AtomNetworking Interceptor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[69/85] Compiling AtomNetworking Requestable+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:27:20: error: 'NWPath' is only available in macOS 10.14 or newer
20 | // MARK: - ConnectivitySnapshot.Status + NWPath.Status
21 |
22 | extension ConnectivitySnapshot.Status {
| `- note: add '@available' attribute to enclosing extension
23 | /// Creates a `ConnectivitySnapshot.Status` instance given the provided parameter(s).
24 | ///
25 | /// - Parameters:
26 | /// - status: The `NWPath` status to convert.
27 | init(_ status: NWPath.Status) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | switch status {
29 | case .satisfied:
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:48:18: error: 'NWPath' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
46 | /// - Parameters:
47 | /// - path: The `NWPath` to classify.
48 | init(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
49 | self.init(usesInterfaceType: path.usesInterfaceType)
50 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ConnectivitySnapshot+Extensions.swift:56:30: error: 'NWInterface' is only available in macOS 10.14 or newer
41 | // MARK: - ConnectivitySnapshot.Interface + NWPath
42 |
43 | extension ConnectivitySnapshot.Interface {
| `- note: add '@available' attribute to enclosing extension
44 | /// Creates a `ConnectivitySnapshot.Interface` instance given the provided parameter(s).
45 | ///
:
54 | /// - Parameters:
55 | /// - usesInterfaceType: A closure reporting whether the path being classified uses the given interface type.
56 | init(usesInterfaceType: (NWInterface.InterfaceType) -> Bool) {
| | `- error: 'NWInterface' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
57 | if usesInterfaceType(.wifi) {
58 | self = .wifi
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/Interceptor+Extensions.swift:32:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
20 | // MARK: - Protocol Conformance
21 |
22 | extension Interceptor: URLSessionTaskDelegate {
| `- note: add '@available' attribute to enclosing extension
23 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- note: add '@available' attribute to enclosing instance method
24 | guard isEnabled else {
25 | return
:
30 |
31 | // Log task using os_log.
32 | os_log(.info, log: log, "%@", logValue)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
[70/85] Compiling AtomNetworking BasicCredentialConvertible.swift
[71/85] Compiling AtomNetworking ClientCredentialConvertible.swift
[72/85] Compiling AtomNetworking StringConvertible.swift
[73/85] Compiling AtomNetworking ConnectivityMonitoring.swift
[74/85] Compiling AtomNetworking Model.swift
[75/85] Compiling AtomNetworking Requestable.swift
[76/85] Compiling AtomNetworking RequestableItem.swift
[77/85] Compiling AtomNetworking TokenCredentialWritable.swift
[78/85] Compiling AtomNetworking ResponseCaching+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[79/85] Compiling AtomNetworking ServiceConfiguration+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[80/85] Compiling AtomNetworking TokenCredential+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[81/85] Compiling AtomNetworking URLPath+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[82/85] Compiling AtomNetworking OSLog+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[83/85] Compiling AtomNetworking Interceptor.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[84/85] Compiling AtomNetworking PathMonitor.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[85/85] Compiling AtomNetworking RequestableQueueManager.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/ServiceConfiguration+Extensions.swift:37:30: error: 'multipathServiceType' is unavailable in macOS
35 | sessionConfiguration.timeoutIntervalForRequest = timeout.request
36 | sessionConfiguration.timeoutIntervalForResource = timeout.resource
37 | sessionConfiguration.multipathServiceType = multipathServiceType
| `- error: 'multipathServiceType' is unavailable in macOS
38 | sessionConfiguration.urlCache = cache
39 |
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:855:44: note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
855 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
856 |
857 | /*
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:23:47: error: 'now' is only available in macOS 12 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension TokenCredential {
| `- note: add '@available' attribute to enclosing extension
22 | /// Returns `Bool` indicating whether the credential needs refreshing.
23 | var requiresRefresh: Bool { expiresAt <= .now }
| | |- error: 'now' is only available in macOS 12 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Framework/TokenCredential+Extensions.swift:62:35: error: 'now' is only available in macOS 12 or newer
26 | // MARK: - TokenCredential + Model
27 |
28 | extension TokenCredential: Model {
| `- note: add '@available' attribute to enclosing extension
29 | private enum CodingKeys: String, CodingKey {
30 | case accessToken = "access_token"
:
48 | /// - Note: This initializer assumes that either `expiresAt` or `expiresIn` will be present in the decoded data. If neither is present, it results in an error since
49 | /// token expiration information is crucial.
50 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
51 | let container = try decoder.container(keyedBy: CodingKeys.self)
52 | let expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt)
:
60 | // If expiresIn has a value, it indicates that the decoder is processing data received from a service.
61 | } else if let expiresIn {
62 | self.expiresAt = Date.now.addingTimeInterval(Double(expiresIn))
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
63 | // An error occured.
64 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:51:24: error: 'ContinuousClock' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
49 |
50 | /// The monotonic clock used to stamp status transitions.
51 | private let clock: ContinuousClock
| `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
52 |
53 | /// The continuation feeding `updates`.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:54:43: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
52 |
53 | /// The continuation feeding `updates`.
54 | private nonisolated let continuation: AsyncStream<PathUpdate>.Continuation
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
55 |
56 | /// A flag indicating whether `NWPathMonitor` has been started.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:63:38: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
61 | /// `nonisolated` so `deinit` can cancel it. `NWPathMonitor` is `Sendable` and safe to call from any
62 | /// thread, and the only calls made against it are `start(queue:)` once and `cancel()` on deallocation.
63 | private nonisolated let monitor: NWPathMonitor
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
64 |
65 | /// The queue `NWPathMonitor` delivers updates on.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:69:38: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
67 |
68 | /// The stream of path readings drained by `startIfNeeded`.
69 | private nonisolated let updates: AsyncStream<PathUpdate>
| `- error: 'AsyncStream' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Computed Properties
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:39: error: 'AsyncStream' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'AsyncStream' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:86:63: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
| |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | self.clock = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:90:65: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
83 |
84 | /// Creates a `PathMonitor` instance.
85 | public init() {
| `- note: add '@available' attribute to enclosing initializer
86 | let (updates, continuation) = AsyncStream<PathUpdate>.makeStream()
87 |
88 | self.clock = .init()
89 | self.continuation = continuation
90 | self.current = .init(status: .unknown, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | self.isMonitoring = false
92 | self.monitor = .init()
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:123:87: error: 'now' is only available in macOS 13.0 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
108 | /// - Parameters:
109 | /// - update: The reading to apply.
110 | func apply(_ update: PathUpdate) {
| `- note: add '@available' attribute to enclosing instance method
111 | guard update.status != .unknown else {
112 | return
:
121 | }
122 |
123 | current = .init(status: update.status, interface: interface, changedAt: clock.now)
| |- error: 'now' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
138 | monitor.start(queue: queue)
139 |
140 | Task { [weak self, updates] in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | for await update in updates {
142 | await self?.apply(update)
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/PathMonitor.swift:141:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
29 | /// plugin does not start a network agent subscription for an app that never sends a request. Until the first
30 | /// path update arrives the status is `.unknown`, which never gates.
31 | public actor PathMonitor: ConnectivityMonitoring {
| `- note: add '@available' attribute to enclosing actor
32 | // MARK: - Nested Types
33 |
:
125 |
126 | /// Starts `NWPathMonitor` and begins draining its updates, if it is not already running.
127 | private func startIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
128 | guard !isMonitoring else {
129 | return
:
139 |
140 | Task { [weak self, updates] in
141 | for await update in updates {
| |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | await self?.apply(update)
143 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:17: error: 'Task' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:77:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
27 | ///
28 | /// `@unchecked Sendable` is used as the queue protects state for cross-concurrency safety.
29 | final class RequestableQueueManager: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing class
30 | // MARK: - Properties
31 |
:
66 | /// - Parameters:
67 | /// - task: The async closure to enqueue (e.g., network operations).
68 | func enqueue(_ task: @escaping @Sendable () async -> Void) {
| `- note: add '@available' attribute to enclosing instance method
69 | queue.sync {
70 | let wasEmpty = pendingTasks.isEmpty
:
75 | isProcessing = true
76 |
77 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | await self?.processQueue()
79 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:17: error: 'Task' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Managers/RequestableQueueManager.swift:155:22: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
89 | // MARK: - Private Properties and Methods
90 |
91 | extension RequestableQueueManager {
| `- note: add '@available' attribute to enclosing extension
92 | /// Processes the queue asynchronously, draining tasks in FIFO order.
93 | ///
:
148 | ///
149 | /// Called periodically by the timer to recover from potential stalls (e.g., if a previous processor Task failed to reset the flag).
150 | private func checkAndDrainIfNeeded() {
| `- note: add '@available' attribute to enclosing instance method
151 | queue.sync {
152 | if !pendingTasks.isEmpty, !isProcessing {
153 | isProcessing = true
154 |
155 | Task.detached { [weak self] in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Info.plist
BUILD FAILURE 6.3 macosSpm