Build Information
Failed to build AtomNetworking, reference v4.8.0 (5b9f8a), with Swift 6.1 for macOS (SPM) on 19 Mar 2026 06:34:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
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 | }
[7/71] 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 | }
[8/71] 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 | }
[9/71] 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 | }
[10/71] Compiling AtomNetworking URLComponents+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/URLSession+Extensions.swift:31:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
17 | import Foundation
18 |
19 | extension URLSession {
| `- note: add @available attribute to enclosing extension
20 | /// Convenience method to load data using a `Requestable`, creates and resumes a `URLRequest` internally.
21 | ///
:
26 | ///
27 | /// - Throws: An error if request initialization fails, if URLSession returns an error, or if the response is invalid.
28 | func data(for requestable: Requestable) async throws(AtomError) -> AtomResponse {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | let request = try URLRequest(requestable: requestable)
31 | let (data, response) = try await data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | let atomResponse: AtomResponse = .init(data: data, response: response)
33 |
[11/71] Compiling AtomNetworking URLRequest+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/URLSession+Extensions.swift:31:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
17 | import Foundation
18 |
19 | extension URLSession {
| `- note: add @available attribute to enclosing extension
20 | /// Convenience method to load data using a `Requestable`, creates and resumes a `URLRequest` internally.
21 | ///
:
26 | ///
27 | /// - Throws: An error if request initialization fails, if URLSession returns an error, or if the response is invalid.
28 | func data(for requestable: Requestable) async throws(AtomError) -> AtomResponse {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | let request = try URLRequest(requestable: requestable)
31 | let (data, response) = try await data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | let atomResponse: AtomResponse = .init(data: data, response: response)
33 |
[12/71] Compiling AtomNetworking URLResponse+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/URLSession+Extensions.swift:31:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
17 | import Foundation
18 |
19 | extension URLSession {
| `- note: add @available attribute to enclosing extension
20 | /// Convenience method to load data using a `Requestable`, creates and resumes a `URLRequest` internally.
21 | ///
:
26 | ///
27 | /// - Throws: An error if request initialization fails, if URLSession returns an error, or if the response is invalid.
28 | func data(for requestable: Requestable) async throws(AtomError) -> AtomResponse {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | let request = try URLRequest(requestable: requestable)
31 | let (data, response) = try await data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | let atomResponse: AtomResponse = .init(data: data, response: response)
33 |
[13/71] Compiling AtomNetworking URLSession+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/URLSession+Extensions.swift:31:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
17 | import Foundation
18 |
19 | extension URLSession {
| `- note: add @available attribute to enclosing extension
20 | /// Convenience method to load data using a `Requestable`, creates and resumes a `URLRequest` internally.
21 | ///
:
26 | ///
27 | /// - Throws: An error if request initialization fails, if URLSession returns an error, or if the response is invalid.
28 | func data(for requestable: Requestable) async throws(AtomError) -> AtomResponse {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | let request = try URLRequest(requestable: requestable)
31 | let (data, response) = try await data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | let atomResponse: AtomResponse = .init(data: data, response: response)
33 |
[14/71] Compiling AtomNetworking URLSessionTask+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/URLSession+Extensions.swift:31:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
17 | import Foundation
18 |
19 | extension URLSession {
| `- note: add @available attribute to enclosing extension
20 | /// Convenience method to load data using a `Requestable`, creates and resumes a `URLRequest` internally.
21 | ///
:
26 | ///
27 | /// - Throws: An error if request initialization fails, if URLSession returns an error, or if the response is invalid.
28 | func data(for requestable: Requestable) async throws(AtomError) -> AtomResponse {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | let request = try URLRequest(requestable: requestable)
31 | let (data, response) = try await data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | let atomResponse: AtomResponse = .init(data: data, response: response)
33 |
[15/71] Compiling AtomNetworking URLSessionTaskMetrics+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/URLSession+Extensions.swift:31:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
17 | import Foundation
18 |
19 | extension URLSession {
| `- note: add @available attribute to enclosing extension
20 | /// Convenience method to load data using a `Requestable`, creates and resumes a `URLRequest` internally.
21 | ///
:
26 | ///
27 | /// - Throws: An error if request initialization fails, if URLSession returns an error, or if the response is invalid.
28 | func data(for requestable: Requestable) async throws(AtomError) -> AtomResponse {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | let request = try URLRequest(requestable: requestable)
31 | let (data, response) = try await data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | let atomResponse: AtomResponse = .init(data: data, response: response)
33 |
[16/71] Compiling AtomNetworking Atom+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/URLSession+Extensions.swift:31:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
17 | import Foundation
18 |
19 | extension URLSession {
| `- note: add @available attribute to enclosing extension
20 | /// Convenience method to load data using a `Requestable`, creates and resumes a `URLRequest` internally.
21 | ///
:
26 | ///
27 | /// - Throws: An error if request initialization fails, if URLSession returns an error, or if the response is invalid.
28 | func data(for requestable: Requestable) async throws(AtomError) -> AtomResponse {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | let request = try URLRequest(requestable: requestable)
31 | let (data, response) = try await data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | let atomResponse: AtomResponse = .init(data: data, response: response)
33 |
[17/71] Compiling AtomNetworking JSONDecoder+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:21:11: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:30:30: error: 'value' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
:
26 | /// - Returns: The Success value.
27 | /// - Throws: AtomError (mapped from the original Error).
28 | func typedValue() async throws(AtomError) -> Success {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | return try await value
| |- error: 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | } catch {
32 | throw (error as? AtomError) ?? .unexpected
[18/71] Compiling AtomNetworking NSRegularExpression+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:21:11: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:30:30: error: 'value' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
:
26 | /// - Returns: The Success value.
27 | /// - Throws: AtomError (mapped from the original Error).
28 | func typedValue() async throws(AtomError) -> Success {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | return try await value
| |- error: 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | } catch {
32 | throw (error as? AtomError) ?? .unexpected
[19/71] Compiling AtomNetworking Optional+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:21:11: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:30:30: error: 'value' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
:
26 | /// - Returns: The Success value.
27 | /// - Throws: AtomError (mapped from the original Error).
28 | func typedValue() async throws(AtomError) -> Success {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | return try await value
| |- error: 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | } catch {
32 | throw (error as? AtomError) ?? .unexpected
[20/71] Compiling AtomNetworking Result+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:21:11: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:30:30: error: 'value' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
:
26 | /// - Returns: The Success value.
27 | /// - Throws: AtomError (mapped from the original Error).
28 | func typedValue() async throws(AtomError) -> Success {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | return try await value
| |- error: 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | } catch {
32 | throw (error as? AtomError) ?? .unexpected
[21/71] Compiling AtomNetworking String+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:21:11: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:30:30: error: 'value' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
:
26 | /// - Returns: The Success value.
27 | /// - Throws: AtomError (mapped from the original Error).
28 | func typedValue() async throws(AtomError) -> Success {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | return try await value
| |- error: 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | } catch {
32 | throw (error as? AtomError) ?? .unexpected
[22/71] Compiling AtomNetworking Task+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:21:11: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:30:30: error: 'value' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
:
26 | /// - Returns: The Success value.
27 | /// - Throws: AtomError (mapped from the original Error).
28 | func typedValue() async throws(AtomError) -> Success {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | return try await value
| |- error: 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | } catch {
32 | throw (error as? AtomError) ?? .unexpected
[23/71] Compiling AtomNetworking URL+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:21:11: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Extensions/Foundation/Task+Extensions.swift:30:30: error: 'value' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension Task where Failure == Error {
| `- note: add @available attribute to enclosing extension
22 | /// Awaits the task's value and maps any thrown Error to AtomError.
23 | ///
:
26 | /// - Returns: The Success value.
27 | /// - Throws: AtomError (mapped from the original Error).
28 | func typedValue() async throws(AtomError) -> Success {
| `- note: add @available attribute to enclosing instance method
29 | do {
30 | return try await value
| |- error: 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | } catch {
32 | throw (error as? AtomError) ?? .unexpected
[24/71] Compiling AtomNetworking URLPath.swift
[25/71] Compiling AtomNetworking BasicCredentialConvertible.swift
[26/71] Compiling AtomNetworking ClientCredentialConvertible.swift
[27/71] Compiling AtomNetworking StringConvertible.swift
[28/71] Compiling AtomNetworking Model.swift
[29/71] Compiling AtomNetworking Requestable.swift
[30/71] Compiling AtomNetworking RequestableItem.swift
[31/71] Compiling AtomNetworking AuthorizedRequestable.swift
[32/71] Compiling AtomNetworking BaseURL.swift
[33/71] Compiling AtomNetworking BaseURLScheme.swift
[34/71] Compiling AtomNetworking BasicCredential.swift
[35/71] Compiling AtomNetworking ClientCredential.swift
[36/71] Compiling AtomNetworking Endpoint.swift
[37/71] Compiling AtomNetworking GrantType.swift
[38/71] Compiling AtomNetworking OSLog+Extensions.swift
/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(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(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(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(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[39/71] Compiling AtomNetworking Interceptor.swift
/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(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(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(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(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[40/71] Compiling AtomNetworking RequestableQueueManager.swift
/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(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(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(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(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[41/71] Compiling AtomNetworking AtomResponse.swift
/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(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(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(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(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[42/71] Compiling AtomNetworking AuthenticationEndpoint.swift
/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(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(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(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(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[43/71] Compiling AtomNetworking AuthenticationMethod.swift
/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(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(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(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(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[44/71] Compiling AtomNetworking AuthorizationEndpoint.swift
/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(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(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(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(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | await self?.processQueue()
157 | }
[45/71] Compiling AtomNetworking HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Models/ServiceConfiguration.swift:34:69: error: 'MultipathServiceType' is unavailable in macOS
32 | /// - `.interactive` - A service whereby Multipath TCP attempts to use the lowest-latency interface.
33 | /// - `.aggregate` - A service that aggregates the capacities of other Multipath options in an attempt to increase throughput and minimize latency.
34 | public typealias MultipathServiceType = URLSessionConfiguration.MultipathServiceType
| `- error: 'MultipathServiceType' is unavailable in macOS
35 |
36 | // MARK: - Properties
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:706:28: note: 'MultipathServiceType' has been explicitly marked unavailable here
704 |
705 | */
706 | typedef NS_ENUM(NSInteger, NSURLSessionMultipathServiceType)
| `- note: 'MultipathServiceType' has been explicitly marked unavailable here
707 | {
708 | NSURLSessionMultipathServiceTypeNone = 0, /* None - no multipath (default) */
[46/71] Compiling AtomNetworking HeaderItem.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Models/ServiceConfiguration.swift:34:69: error: 'MultipathServiceType' is unavailable in macOS
32 | /// - `.interactive` - A service whereby Multipath TCP attempts to use the lowest-latency interface.
33 | /// - `.aggregate` - A service that aggregates the capacities of other Multipath options in an attempt to increase throughput and minimize latency.
34 | public typealias MultipathServiceType = URLSessionConfiguration.MultipathServiceType
| `- error: 'MultipathServiceType' is unavailable in macOS
35 |
36 | // MARK: - Properties
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:706:28: note: 'MultipathServiceType' has been explicitly marked unavailable here
704 |
705 | */
706 | typedef NS_ENUM(NSInteger, NSURLSessionMultipathServiceType)
| `- note: 'MultipathServiceType' has been explicitly marked unavailable here
707 | {
708 | NSURLSessionMultipathServiceTypeNone = 0, /* None - no multipath (default) */
[47/71] Compiling AtomNetworking QueryItem.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Models/ServiceConfiguration.swift:34:69: error: 'MultipathServiceType' is unavailable in macOS
32 | /// - `.interactive` - A service whereby Multipath TCP attempts to use the lowest-latency interface.
33 | /// - `.aggregate` - A service that aggregates the capacities of other Multipath options in an attempt to increase throughput and minimize latency.
34 | public typealias MultipathServiceType = URLSessionConfiguration.MultipathServiceType
| `- error: 'MultipathServiceType' is unavailable in macOS
35 |
36 | // MARK: - Properties
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:706:28: note: 'MultipathServiceType' has been explicitly marked unavailable here
704 |
705 | */
706 | typedef NS_ENUM(NSInteger, NSURLSessionMultipathServiceType)
| `- note: 'MultipathServiceType' has been explicitly marked unavailable here
707 | {
708 | NSURLSessionMultipathServiceTypeNone = 0, /* None - no multipath (default) */
[48/71] Compiling AtomNetworking ServiceConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Models/ServiceConfiguration.swift:34:69: error: 'MultipathServiceType' is unavailable in macOS
32 | /// - `.interactive` - A service whereby Multipath TCP attempts to use the lowest-latency interface.
33 | /// - `.aggregate` - A service that aggregates the capacities of other Multipath options in an attempt to increase throughput and minimize latency.
34 | public typealias MultipathServiceType = URLSessionConfiguration.MultipathServiceType
| `- error: 'MultipathServiceType' is unavailable in macOS
35 |
36 | // MARK: - Properties
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:706:28: note: 'MultipathServiceType' has been explicitly marked unavailable here
704 |
705 | */
706 | typedef NS_ENUM(NSInteger, NSURLSessionMultipathServiceType)
| `- note: 'MultipathServiceType' has been explicitly marked unavailable here
707 | {
708 | NSURLSessionMultipathServiceTypeNone = 0, /* None - no multipath (default) */
[49/71] Compiling AtomNetworking ServiceTimeout.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Models/ServiceConfiguration.swift:34:69: error: 'MultipathServiceType' is unavailable in macOS
32 | /// - `.interactive` - A service whereby Multipath TCP attempts to use the lowest-latency interface.
33 | /// - `.aggregate` - A service that aggregates the capacities of other Multipath options in an attempt to increase throughput and minimize latency.
34 | public typealias MultipathServiceType = URLSessionConfiguration.MultipathServiceType
| `- error: 'MultipathServiceType' is unavailable in macOS
35 |
36 | // MARK: - Properties
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:706:28: note: 'MultipathServiceType' has been explicitly marked unavailable here
704 |
705 | */
706 | typedef NS_ENUM(NSInteger, NSURLSessionMultipathServiceType)
| `- note: 'MultipathServiceType' has been explicitly marked unavailable here
707 | {
708 | NSURLSessionMultipathServiceTypeNone = 0, /* None - no multipath (default) */
[50/71] Compiling AtomNetworking SessionConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Models/ServiceConfiguration.swift:34:69: error: 'MultipathServiceType' is unavailable in macOS
32 | /// - `.interactive` - A service whereby Multipath TCP attempts to use the lowest-latency interface.
33 | /// - `.aggregate` - A service that aggregates the capacities of other Multipath options in an attempt to increase throughput and minimize latency.
34 | public typealias MultipathServiceType = URLSessionConfiguration.MultipathServiceType
| `- error: 'MultipathServiceType' is unavailable in macOS
35 |
36 | // MARK: - Properties
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:706:28: note: 'MultipathServiceType' has been explicitly marked unavailable here
704 |
705 | */
706 | typedef NS_ENUM(NSInteger, NSURLSessionMultipathServiceType)
| `- note: 'MultipathServiceType' has been explicitly marked unavailable here
707 | {
708 | NSURLSessionMultipathServiceTypeNone = 0, /* None - no multipath (default) */
[51/71] Compiling AtomNetworking TokenCredential.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Models/ServiceConfiguration.swift:34:69: error: 'MultipathServiceType' is unavailable in macOS
32 | /// - `.interactive` - A service whereby Multipath TCP attempts to use the lowest-latency interface.
33 | /// - `.aggregate` - A service that aggregates the capacities of other Multipath options in an attempt to increase throughput and minimize latency.
34 | public typealias MultipathServiceType = URLSessionConfiguration.MultipathServiceType
| `- error: 'MultipathServiceType' is unavailable in macOS
35 |
36 | // MARK: - Properties
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:706:28: note: 'MultipathServiceType' has been explicitly marked unavailable here
704 |
705 | */
706 | typedef NS_ENUM(NSInteger, NSURLSessionMultipathServiceType)
| `- note: 'MultipathServiceType' has been explicitly marked unavailable here
707 | {
708 | NSURLSessionMultipathServiceTypeNone = 0, /* None - no multipath (default) */
[52/71] Compiling AtomNetworking AtomError+Extensions.swift
[53/71] Compiling AtomNetworking AtomResponse+Extensions.swift
[54/71] Compiling AtomNetworking AuthenticationEndpoint+Extensions.swift
[55/71] Compiling AtomNetworking AuthenticationMethod+Extensions.swift
[56/71] Compiling AtomNetworking AuthorizedRequestable+Extensions.swift
[57/71] Compiling AtomNetworking BaseURL+Extensions.swift
[58/71] Compiling AtomNetworking BaseURLScheme+Extensions.swift
[59/71] Compiling AtomNetworking BasicCredential+Extensions.swift
/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 | }
/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 |
39 | return sessionConfiguration
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:852:44: note: 'multipathServiceType' has been explicitly marked unavailable here
850 |
851 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
852 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /*
/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 {
[60/71] Compiling AtomNetworking HTTPMethod+Extensions.swift
/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 | }
/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 |
39 | return sessionConfiguration
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:852:44: note: 'multipathServiceType' has been explicitly marked unavailable here
850 |
851 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
852 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /*
/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 {
[61/71] Compiling AtomNetworking Interceptor+Extensions.swift
/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 | }
/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 |
39 | return sessionConfiguration
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:852:44: note: 'multipathServiceType' has been explicitly marked unavailable here
850 |
851 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
852 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /*
/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 {
[62/71] Compiling AtomNetworking Requestable+Extensions.swift
/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 | }
/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 |
39 | return sessionConfiguration
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:852:44: note: 'multipathServiceType' has been explicitly marked unavailable here
850 |
851 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
852 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /*
/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 {
[63/71] Compiling AtomNetworking ServiceConfiguration+Extensions.swift
/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 | }
/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 |
39 | return sessionConfiguration
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:852:44: note: 'multipathServiceType' has been explicitly marked unavailable here
850 |
851 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
852 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /*
/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 {
[64/71] Compiling AtomNetworking TokenCredential+Extensions.swift
/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 | }
/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 |
39 | return sessionConfiguration
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:852:44: note: 'multipathServiceType' has been explicitly marked unavailable here
850 |
851 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
852 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /*
/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 {
[65/71] Compiling AtomNetworking URLPath+Extensions.swift
/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 | }
/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 |
39 | return sessionConfiguration
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:852:44: note: 'multipathServiceType' has been explicitly marked unavailable here
850 |
851 | /* multipath service type to use for connections. The default is NSURLSessionMultipathServiceTypeNone */
852 | @property NSURLSessionMultipathServiceType multipathServiceType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos, watchos, tvos);
| `- note: 'multipathServiceType' has been explicitly marked unavailable here
853 |
854 | /*
/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 {
[66/71] Compiling AtomNetworking TokenCredentialWritable.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:30:27: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
29 | /// The underlying continuation to resume.
30 | let continuation: CheckedContinuation<T, Error>
| `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
31 |
32 | // MARK: - Lifecycle
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:38:30: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
:
36 | /// - Parameters:
37 | /// - continuation: The continuation to wrap.
38 | init(_ continuation: CheckedContinuation<T, Error>) {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
39 | self.continuation = continuation
40 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:49:22: error: 'Task' is only available in macOS 10.15 or newer
20 |
21 | /// Internal actor responsible for executing requests and coordinating token refresh.
22 | actor ServiceActor: Sendable {
| `- note: add @available attribute to enclosing actor
23 | // MARK: - Nested Types
24 |
:
47 |
48 | /// Tracks the currently running refresh task, if one exists.
49 | var refreshTask: Task<TokenCredential, Error>?
| `- error: 'Task' is only available in macOS 10.15 or newer
50 |
51 | /// Queue manager used to serialize request execution when a refresh is required.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'Task' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
[67/71] Compiling AtomNetworking Service.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:30:27: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
29 | /// The underlying continuation to resume.
30 | let continuation: CheckedContinuation<T, Error>
| `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
31 |
32 | // MARK: - Lifecycle
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:38:30: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
:
36 | /// - Parameters:
37 | /// - continuation: The continuation to wrap.
38 | init(_ continuation: CheckedContinuation<T, Error>) {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
39 | self.continuation = continuation
40 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:49:22: error: 'Task' is only available in macOS 10.15 or newer
20 |
21 | /// Internal actor responsible for executing requests and coordinating token refresh.
22 | actor ServiceActor: Sendable {
| `- note: add @available attribute to enclosing actor
23 | // MARK: - Nested Types
24 |
:
47 |
48 | /// Tracks the currently running refresh task, if one exists.
49 | var refreshTask: Task<TokenCredential, Error>?
| `- error: 'Task' is only available in macOS 10.15 or newer
50 |
51 | /// Queue manager used to serialize request execution when a refresh is required.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'Task' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
[68/71] Compiling AtomNetworking ServiceActor+Async.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:30:27: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
29 | /// The underlying continuation to resume.
30 | let continuation: CheckedContinuation<T, Error>
| `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
31 |
32 | // MARK: - Lifecycle
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:38:30: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
:
36 | /// - Parameters:
37 | /// - continuation: The continuation to wrap.
38 | init(_ continuation: CheckedContinuation<T, Error>) {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
39 | self.continuation = continuation
40 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:49:22: error: 'Task' is only available in macOS 10.15 or newer
20 |
21 | /// Internal actor responsible for executing requests and coordinating token refresh.
22 | actor ServiceActor: Sendable {
| `- note: add @available attribute to enclosing actor
23 | // MARK: - Nested Types
24 |
:
47 |
48 | /// Tracks the currently running refresh task, if one exists.
49 | var refreshTask: Task<TokenCredential, Error>?
| `- error: 'Task' is only available in macOS 10.15 or newer
50 |
51 | /// Queue manager used to serialize request execution when a refresh is required.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'Task' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
[69/71] Compiling AtomNetworking ServiceActor+Completions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:30:27: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
29 | /// The underlying continuation to resume.
30 | let continuation: CheckedContinuation<T, Error>
| `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
31 |
32 | // MARK: - Lifecycle
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:38:30: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
:
36 | /// - Parameters:
37 | /// - continuation: The continuation to wrap.
38 | init(_ continuation: CheckedContinuation<T, Error>) {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
39 | self.continuation = continuation
40 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:49:22: error: 'Task' is only available in macOS 10.15 or newer
20 |
21 | /// Internal actor responsible for executing requests and coordinating token refresh.
22 | actor ServiceActor: Sendable {
| `- note: add @available attribute to enclosing actor
23 | // MARK: - Nested Types
24 |
:
47 |
48 | /// Tracks the currently running refresh task, if one exists.
49 | var refreshTask: Task<TokenCredential, Error>?
| `- error: 'Task' is only available in macOS 10.15 or newer
50 |
51 | /// Queue manager used to serialize request execution when a refresh is required.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'Task' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
[70/71] Compiling AtomNetworking ServiceActor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:30:27: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
29 | /// The underlying continuation to resume.
30 | let continuation: CheckedContinuation<T, Error>
| `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
31 |
32 | // MARK: - Lifecycle
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:38:30: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
:
36 | /// - Parameters:
37 | /// - continuation: The continuation to wrap.
38 | init(_ continuation: CheckedContinuation<T, Error>) {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
39 | self.continuation = continuation
40 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:49:22: error: 'Task' is only available in macOS 10.15 or newer
20 |
21 | /// Internal actor responsible for executing requests and coordinating token refresh.
22 | actor ServiceActor: Sendable {
| `- note: add @available attribute to enclosing actor
23 | // MARK: - Nested Types
24 |
:
47 |
48 | /// Tracks the currently running refresh task, if one exists.
49 | var refreshTask: Task<TokenCredential, Error>?
| `- error: 'Task' is only available in macOS 10.15 or newer
50 |
51 | /// Queue manager used to serialize request execution when a refresh is required.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'Task' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
[71/71] Compiling AtomNetworking ServiceActor.swift
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:100:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
97 | /// - type: The expected response model type.
98 | /// - completion: Called with the result.
99 | public func resume<T>(expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) where T: Model {
| `- note: add @available attribute to enclosing instance method
100 | Task { await serviceActor.resume(for: requestable, expecting: type, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'Task' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/Service.swift:108:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
46 | /// }
47 | /// ```
48 | public final class Service: Sendable {
| `- note: add @available attribute to enclosing class
49 | // MARK: - Properties
50 |
:
105 | /// - Parameters:
106 | /// - completion: Called with the result.
107 | public func resume(_ completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
108 | Task { await serviceActor.resume(for: requestable, completion: completion) }
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:32:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
29 | /// - type: The expected model type conforming to `Model`.
30 | /// - completion: A `@Sendable` escaping closure called with the result.
31 | func resume<T: Model>(for requestable: any Requestable, expecting type: T.Type, completion: @Sendable @escaping (Result<T, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
32 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | do {
34 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'Task' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Completions.swift:59:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
17 | import Foundation
18 |
19 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
20 | /// Completion-based overload of resume expecting a decodable model type.
21 | ///
:
56 | /// - requestable: The request to execute.
57 | /// - completion: A `@Sendable` escaping closure called with the result.
58 | func resume(for requestable: any Requestable, completion: @Sendable @escaping (Result<AtomResponse, AtomError>) -> Void) {
| `- note: add @available attribute to enclosing instance method
59 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | do {
61 | // Perform the async resume operation on the session actor.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'Task' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor+Extensions.swift:55:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
19 | // MARK: - Helper Properties and Methods
20 |
21 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
22 | /// Applies authorization header to a `Requestable` instance.
23 | ///
:
26 | ///
27 | /// - Returns: A `Requestable` with authorization header applied (if needed) or pass-through requestable.
28 | func applyAuthorizationHeader(to requestable: Requestable) async throws(AtomError) -> any Requestable {
| `- note: add @available attribute to enclosing instance method
29 | // Get the service configuration's authentication method.
30 | let method = serviceConfiguration.authenticationMethod
:
53 | if refreshTask == nil {
54 | // Create a new Task for the background refresh operation.
55 | refreshTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | // Ensure the task reference is reset after completion or failure.
57 | defer { refreshTask = nil }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:30:27: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
29 | /// The underlying continuation to resume.
30 | let continuation: CheckedContinuation<T, Error>
| `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
31 |
32 | // MARK: - Lifecycle
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:38:30: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
24 |
25 | /// Wraps a `CheckedContinuation` so it can be safely passed across concurrency boundaries.
26 | final class ContinuationBox<T>: @unchecked Sendable {
| `- note: add @available attribute to enclosing generic class
27 | // MARK: - Properties
28 |
:
36 | /// - Parameters:
37 | /// - continuation: The continuation to wrap.
38 | init(_ continuation: CheckedContinuation<T, Error>) {
| | `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
39 | self.continuation = continuation
40 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:49:22: error: 'Task' is only available in macOS 10.15 or newer
20 |
21 | /// Internal actor responsible for executing requests and coordinating token refresh.
22 | actor ServiceActor: Sendable {
| `- note: add @available attribute to enclosing actor
23 | // MARK: - Nested Types
24 |
:
47 |
48 | /// Tracks the currently running refresh task, if one exists.
49 | var refreshTask: Task<TokenCredential, Error>?
| `- error: 'Task' is only available in macOS 10.15 or newer
50 |
51 | /// Queue manager used to serialize request execution when a refresh is required.
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'Task' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
/Users/admin/builder/spi-builder-workspace/Framework/AtomNetworking/Atom/Service/ServiceActor.swift:119:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
80 | // MARK: - Functions
81 |
82 | extension ServiceActor {
| `- note: add @available attribute to enclosing extension
83 | /// Applies authorization to the request and executes the provided operation.
84 | ///
:
109 | /// - Returns: The result of the executed request.
110 | /// - Throws: `AtomError` if execution fails.
111 | func performRequest<T: Sendable>(
| `- note: add @available attribute to enclosing instance method
112 | for requestable: any Requestable,
113 | completion: @escaping @Sendable (any Requestable) async throws(AtomError) -> T
:
117 | let box: ContinuationBox = .init(continuation)
118 | requestableQueueManager.enqueue { [requestable, completion, box] in
119 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | await self.performQueuedRequest(for: requestable, completion: completion, box: box)
121 | }
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.1 macosSpm