Build Information
Failed to build IBM Verify, reference v3.1.7 (abae1d), with Swift 6.2 for macOS (SPM) on 26 Sep 2026 09:44:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM-Verify/verify-sdk-ios.git
Reference: v3.1.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/IBM-Verify/verify-sdk-ios
* tag v3.1.7 -> FETCH_HEAD
HEAD is now at abae1de feat(core): add JailbreakDetector with structural dyld image anomaly check (#29)
Cloned https://github.com/IBM-Verify/verify-sdk-ios.git
Revision (git rev-parse @):
abae1de16113607970c24e10b22a888be242ca79
SUCCESS checkout https://github.com/IBM-Verify/verify-sdk-ios.git at v3.1.7
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/IBM-Verify/verify-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/17] Write sources
[4/17] Copying Info.plist
[4/17] Copying README.md
[4/17] Copying Info.plist
[4/17] Copying README.md
[4/17] Copying Localizable.xcstrings
[9/17] Copying Info.plist
[10/17] Copying README.md
[10/17] Write sources
[12/17] Copying README.md
[12/17] Copying Info.plist
[14/17] Copying README.md
[16/17] Write swift-version--3CB7CFEC50E0D141.txt
[18/52] Compiling Core URLSessionDelegateHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:16:25: error: 'Logger' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
| `- error: 'Logger' is only available in macOS 11.0 or newer
17 | private let serviceName = Bundle.main.bundleIdentifier!
18 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:52:25: error: 'Logger' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
| `- error: 'Logger' is only available in macOS 11.0 or newer
53 | private let serviceName = Bundle.main.bundleIdentifier!
54 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:21:18: error: 'Logger' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
18 |
19 | /// Initializes the `SelfSignedCertificateDelegate`.
20 | public override init() {
| `- note: add '@available' attribute to enclosing initializer
21 | logger = Logger(subsystem: serviceName, category: "networking")
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | completionHandler(.cancelAuthenticationChallenge, nil)
34 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:61: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | completionHandler(.cancelAuthenticationChallenge, nil)
34 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:38:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
36 |
37 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
38 | logger.info("SSL certificate trust for the challenge protection space was nil.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
39 | completionHandler(.performDefaultHandling, nil)
40 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:43:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
41 | }
42 |
43 | logger.info("Allowing self-signed certificate to be trusted for challenge.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
44 |
45 | completionHandler(.useCredential, URLCredential(trust: serverTrust))
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:61:18: error: 'Logger' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
58 | /// Initializes a `PinnedCertificateDelegate` with a certificate represented as a base64 `String`.
59 | /// - Parameter certificate: A base64 encoded DER (Distinguished Encoding Rules) representation of an X.509 certificate.
60 | public init?(with certificate: String) {
| `- note: add '@available' attribute to enclosing initializer
61 | logger = Logger(subsystem: serviceName, category: "networking")
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
62 |
63 | guard let data = Data(base64Encoded: certificate) else {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:64:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
58 | /// Initializes a `PinnedCertificateDelegate` with a certificate represented as a base64 `String`.
59 | /// - Parameter certificate: A base64 encoded DER (Distinguished Encoding Rules) representation of an X.509 certificate.
60 | public init?(with certificate: String) {
| `- note: add '@available' attribute to enclosing initializer
61 | logger = Logger(subsystem: serviceName, category: "networking")
62 |
63 | guard let data = Data(base64Encoded: certificate) else {
64 | logger.error("The base64 encoded certificate was invalid.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
65 | return nil
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:78:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
74 | /// - challenge: An object that contains the request for authentication.
75 | /// - completionHandler: A handler that your delegate method must call.
76 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
77 | if let error = challenge.error {
78 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
79 | completionHandler(.cancelAuthenticationChallenge, nil)
80 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:78:61: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
74 | /// - challenge: An object that contains the request for authentication.
75 | /// - completionHandler: A handler that your delegate method must call.
76 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
77 | if let error = challenge.error {
78 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
79 | completionHandler(.cancelAuthenticationChallenge, nil)
80 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:85:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
74 | /// - challenge: An object that contains the request for authentication.
75 | /// - completionHandler: A handler that your delegate method must call.
76 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
77 | if let error = challenge.error {
78 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
83 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
84 | // Terminate further processing, no certificate at index 0
85 | logger.info("SSL certificate trust chain for the challenge protection space was not found.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
86 | completionHandler(.cancelAuthenticationChallenge, nil)
87 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:91:31: error: 'SecTrustCopyCertificateChain' is only available in macOS 12.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
74 | /// - challenge: An object that contains the request for authentication.
75 | /// - completionHandler: A handler that your delegate method must call.
76 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
77 | if let error = challenge.error {
78 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
89 |
90 | // Compare the presented certificate to the pinned certificate.
91 | if let certificates = SecTrustCopyCertificateChain(serverTrust) as? [SecCertificate] {
| |- error: 'SecTrustCopyCertificateChain' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
92 | let serverCertificatesData = Set(
93 | certificates.map { SecCertificateCopyData($0) as Data }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:97:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
74 | /// - challenge: An object that contains the request for authentication.
75 | /// - completionHandler: A handler that your delegate method must call.
76 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
77 | if let error = challenge.error {
78 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
95 |
96 | if serverCertificatesData.contains(certificateData) {
97 | logger.info("SSL certificate presented in challenge matches the pinned certificate.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
98 | completionHandler(.useCredential, URLCredential(trust: serverTrust))
99 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:105:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add '@available' attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
74 | /// - challenge: An object that contains the request for authentication.
75 | /// - completionHandler: A handler that your delegate method must call.
76 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add '@available' attribute to enclosing instance method
77 | if let error = challenge.error {
78 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
103 |
104 | // Don't trust the presented certificate by default.
105 | logger.info("SSL certificate presented in challenge does not match the pinned certificate.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
106 | completionHandler(.cancelAuthenticationChallenge, nil)
107 | }
[19/52] Compiling Core URLSession+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:12:22: error: 'Logger' is only available in macOS 11.0 or newer
10 | import OSLog
11 |
12 | private let logger = Logger(subsystem: "Core", category: "Networking")
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing let
13 |
14 | // MARK: Enums
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:317:34: error: 'OSLogMessage' is only available in macOS 11.0 or newer
275 | }
276 |
277 | extension HTTPResource where T: Decodable {
| `- note: add '@available' attribute to enclosing extension
278 |
279 | /// Creates a new `HTTPResource` for JSON operations with an optional raw body.
:
289 | /// - queryParams: Query items appended to the URL.
290 | /// - decoder: JSON decoder used to decode the response.
291 | public init(
| `- note: add '@available' attribute to enclosing initializer
292 | json method: HTTPMethod,
293 | url: URL,
:
315 | }
316 | catch {
317 | logger.error("HTTPResource: Decoding failed - \(error.localizedDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
318 | throw URLSessionError.parsingFailed
319 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:317:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
275 | }
276 |
277 | extension HTTPResource where T: Decodable {
| `- note: add '@available' attribute to enclosing extension
278 |
279 | /// Creates a new `HTTPResource` for JSON operations with an optional raw body.
:
289 | /// - queryParams: Query items appended to the URL.
290 | /// - decoder: JSON decoder used to decode the response.
291 | public init(
| `- note: add '@available' attribute to enclosing initializer
292 | json method: HTTPMethod,
293 | url: URL,
:
315 | }
316 | catch {
317 | logger.error("HTTPResource: Decoding failed - \(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
318 | throw URLSessionError.parsingFailed
319 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:353:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
275 | }
276 |
277 | extension HTTPResource where T: Decodable {
| `- note: add '@available' attribute to enclosing extension
278 |
279 | /// Creates a new `HTTPResource` for JSON operations with an optional raw body.
:
334 | /// - decoder: JSON decoder used for decoding responses.
335 | /// - encoder: JSON encoder used for encoding request bodies.
336 | public init<V: Encodable>(
| `- note: add '@available' attribute to enclosing initializer
337 | json method: HTTPMethod,
338 | url: URL,
:
351 | }
352 | catch {
353 | logger.error("HTTPResource: Failed to encode request body - \(error.localizedDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
354 | encodedBody = nil
355 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:353:74: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
275 | }
276 |
277 | extension HTTPResource where T: Decodable {
| `- note: add '@available' attribute to enclosing extension
278 |
279 | /// Creates a new `HTTPResource` for JSON operations with an optional raw body.
:
334 | /// - decoder: JSON decoder used for decoding responses.
335 | /// - encoder: JSON encoder used for encoding request bodies.
336 | public init<V: Encodable>(
| `- note: add '@available' attribute to enclosing initializer
337 | json method: HTTPMethod,
338 | url: URL,
:
351 | }
352 | catch {
353 | logger.error("HTTPResource: Failed to encode request body - \(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
354 | encodedBody = nil
355 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:387:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
385 | let method = resource.request.httpMethod ?? "N/A"
386 |
387 | logger.info("URLSession.dataTask - ENTRY")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
388 |
389 | defer {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:390:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
388 |
389 | defer {
390 | logger.info("URLSession.dataTask - EXIT")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
391 | }
392 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:393:22: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
391 | }
392 |
393 | logger.debug("⬆️ Request [\(requestId)]: Method: \(method), URL: \(urlString)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
394 |
395 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:393:40: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
391 | }
392 |
393 | logger.debug("⬆️ Request [\(requestId)]: Method: \(method), URL: \(urlString)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
394 |
395 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:393:63: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
391 | }
392 |
393 | logger.debug("⬆️ Request [\(requestId)]: Method: \(method), URL: \(urlString)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
394 |
395 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:393:79: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
391 | }
392 |
393 | logger.debug("⬆️ Request [\(requestId)]: Method: \(method), URL: \(urlString)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
394 |
395 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:397:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
395 | #if DEBUG
396 | if let headers = resource.request.allHTTPHeaderFields {
397 | logger.debug("➡️ Request [\(requestId)] Headers: \(headers)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
398 | }
399 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:397:44: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
395 | #if DEBUG
396 | if let headers = resource.request.allHTTPHeaderFields {
397 | logger.debug("➡️ Request [\(requestId)] Headers: \(headers)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
398 | }
399 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:397:67: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
395 | #if DEBUG
396 | if let headers = resource.request.allHTTPHeaderFields {
397 | logger.debug("➡️ Request [\(requestId)] Headers: \(headers)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
398 | }
399 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:402:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
400 | if let data = resource.request.httpBody {
401 | // String(decoding:as:) is highly optimized and avoids optional allocation
402 | logger.debug("➡️ Request [\(requestId)] Body: \(String(decoding: data, as: UTF8.self))")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
403 | }
404 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:402:44: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
400 | if let data = resource.request.httpBody {
401 | // String(decoding:as:) is highly optimized and avoids optional allocation
402 | logger.debug("➡️ Request [\(requestId)] Body: \(String(decoding: data, as: UTF8.self))")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
403 | }
404 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:402:64: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
400 | if let data = resource.request.httpBody {
401 | // String(decoding:as:) is highly optimized and avoids optional allocation
402 | logger.debug("➡️ Request [\(requestId)] Body: \(String(decoding: data, as: UTF8.self))")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
403 | }
404 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:414:47: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
412 | do {
413 | // Direct suspension point — highly performant, no background task overhead
414 | (data, response) = try await self.data(for: resource.request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
415 | }
416 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:418:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
416 | catch {
417 | let latency = Date().timeIntervalSince(startTime)
418 | logger.error("❌ Network Error [\(requestId)]: URL: \(urlString), Latency: \(String(format: "%.3f", latency))s, Error: \(error.localizedDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
419 |
420 | throw error
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:418:47: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
416 | catch {
417 | let latency = Date().timeIntervalSince(startTime)
418 | logger.error("❌ Network Error [\(requestId)]: URL: \(urlString), Latency: \(String(format: "%.3f", latency))s, Error: \(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
419 |
420 | throw error
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:418:67: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
416 | catch {
417 | let latency = Date().timeIntervalSince(startTime)
418 | logger.error("❌ Network Error [\(requestId)]: URL: \(urlString), Latency: \(String(format: "%.3f", latency))s, Error: \(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
419 |
420 | throw error
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:418:90: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
416 | catch {
417 | let latency = Date().timeIntervalSince(startTime)
418 | logger.error("❌ Network Error [\(requestId)]: URL: \(urlString), Latency: \(String(format: "%.3f", latency))s, Error: \(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
419 |
420 | throw error
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:418:134: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
416 | catch {
417 | let latency = Date().timeIntervalSince(startTime)
418 | logger.error("❌ Network Error [\(requestId)]: URL: \(urlString), Latency: \(String(format: "%.3f", latency))s, Error: \(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
419 |
420 | throw error
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:426:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
424 |
425 | guard let httpResponse = response as? HTTPURLResponse else {
426 | logger.error("❌ Response [\(requestId)] Error: Unknown response type for URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
427 | throw URLSessionError.unknown
428 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:426:42: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
424 |
425 | guard let httpResponse = response as? HTTPURLResponse else {
426 | logger.error("❌ Response [\(requestId)] Error: Unknown response type for URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
427 | throw URLSessionError.unknown
428 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:426:94: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
424 |
425 | guard let httpResponse = response as? HTTPURLResponse else {
426 | logger.error("❌ Response [\(requestId)] Error: Unknown response type for URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
427 | throw URLSessionError.unknown
428 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:426:117: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
424 |
425 | guard let httpResponse = response as? HTTPURLResponse else {
426 | logger.error("❌ Response [\(requestId)] Error: Unknown response type for URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
427 | throw URLSessionError.unknown
428 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:431:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
429 |
430 | let statusCode = httpResponse.statusCode
431 | logger.info("⬇️ Response [\(requestId)]: Status: \(statusCode), URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
432 |
433 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:431:40: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
429 |
430 | let statusCode = httpResponse.statusCode
431 | logger.info("⬇️ Response [\(requestId)]: Status: \(statusCode), URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
432 |
433 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:431:63: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
429 |
430 | let statusCode = httpResponse.statusCode
431 | logger.info("⬇️ Response [\(requestId)]: Status: \(statusCode), URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
432 |
433 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:431:83: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
429 |
430 | let statusCode = httpResponse.statusCode
431 | logger.info("⬇️ Response [\(requestId)]: Status: \(statusCode), URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
432 |
433 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:431:106: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
429 |
430 | let statusCode = httpResponse.statusCode
431 | logger.info("⬇️ Response [\(requestId)]: Status: \(statusCode), URL: \(urlString), Latency: \(String(format: "%.3f", latency))s")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
432 |
433 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:435:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
433 | #if DEBUG
434 | if let headers = httpResponse.allHeaderFields as? [String: Any] {
435 | logger.debug("⬅️ Response [\(requestId)] Headers: \(headers)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
436 | }
437 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:435:45: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
433 | #if DEBUG
434 | if let headers = httpResponse.allHeaderFields as? [String: Any] {
435 | logger.debug("⬅️ Response [\(requestId)] Headers: \(headers)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
436 | }
437 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:435:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
433 | #if DEBUG
434 | if let headers = httpResponse.allHeaderFields as? [String: Any] {
435 | logger.debug("⬅️ Response [\(requestId)] Headers: \(headers)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
436 | }
437 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:440:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
438 | if !data.isEmpty {
439 | let bodyString = String(decoding: data, as: UTF8.self)
440 | logger.debug("⬅️ Response [\(requestId)] Body: \(bodyString)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
441 | }
442 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:440:45: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
438 | if !data.isEmpty {
439 | let bodyString = String(decoding: data, as: UTF8.self)
440 | logger.debug("⬅️ Response [\(requestId)] Body: \(bodyString)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
441 | }
442 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:440:65: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
438 | if !data.isEmpty {
439 | let bodyString = String(decoding: data, as: UTF8.self)
440 | logger.debug("⬅️ Response [\(requestId)] Body: \(bodyString)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
441 | }
442 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:447:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
445 | let description = extractErrorDescription(from: data)
446 |
447 | logger.error("❌ Response [\(requestId)] Error: Unacceptable Status Code: \(statusCode) for URL: \(urlString), Description: \(description)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
448 |
449 | if statusCode == 401 {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:447:42: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
445 | let description = extractErrorDescription(from: data)
446 |
447 | logger.error("❌ Response [\(requestId)] Error: Unacceptable Status Code: \(statusCode) for URL: \(urlString), Description: \(description)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
448 |
449 | if statusCode == 401 {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:447:89: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
445 | let description = extractErrorDescription(from: data)
446 |
447 | logger.error("❌ Response [\(requestId)] Error: Unacceptable Status Code: \(statusCode) for URL: \(urlString), Description: \(description)")
| |- error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
448 |
449 | if statusCode == 401 {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:447:112: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
445 | let description = extractErrorDescription(from: data)
446 |
447 | logger.error("❌ Response [\(requestId)] Error: Unacceptable Status Code: \(statusCode) for URL: \(urlString), Description: \(description)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
448 |
449 | if statusCode == 401 {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:447:139: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
445 | let description = extractErrorDescription(from: data)
446 |
447 | logger.error("❌ Response [\(requestId)] Error: Unacceptable Status Code: \(statusCode) for URL: \(urlString), Description: \(description)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
448 |
449 | if statusCode == 401 {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:456:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
454 | }
455 |
456 | logger.info("✅ Success [\(requestId)]: Parsed data for URL: \(urlString)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
457 |
458 | return try resource.parse(data, httpResponse).get()
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:456:36: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
454 | }
455 |
456 | logger.info("✅ Success [\(requestId)]: Parsed data for URL: \(urlString)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
457 |
458 | return try resource.parse(data, httpResponse).get()
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:456:72: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
369 | }
370 |
371 | extension URLSession {
| `- note: add '@available' attribute to enclosing extension
372 | /// Creates a task that retrieves the contents of the specified URL, logs the transaction, and parses the response.
373 | ///
:
379 | /// - Throws: `URLSessionError` for network failures, invalid responses, or unauthenticated requests.
380 | @discardableResult
381 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add '@available' attribute to enclosing instance method
382 | // Cache computationally expensive or repetitive properties
383 | let requestId = UUID()
:
454 | }
455 |
456 | logger.info("✅ Success [\(requestId)]: Parsed data for URL: \(urlString)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
457 |
458 | return try resource.parse(data, httpResponse).get()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/53] Compiling Adaptive AssessmentsFactors.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[21/53] Compiling Adaptive Evaluation.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[22/53] Compiling Adaptive Enums.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[23/53] Emitting module Adaptive
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[24/53] Compiling Adaptive Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[25/53] Compiling Adaptive AdaptiveContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[26/53] Compiling Adaptive AdaptiveResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[27/53] Compiling Adaptive resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
BUILD FAILURE 6.2 macosSpm