The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-api-client, reference 1.79.0 (264dca), with Swift 6.1 for Android on 24 Oct 2026 23:39:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

181 | 			self.continuation = nil
182 | 			resolved = true
183 | 			continuation.resume(with: result)
    |                 |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
184 | 			return
185 | 		}
[231/384] Compiling SwiftAPIClientCore Status+Ext.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:260:27: warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
258 | 			defer { finish(key, id) }
259 | 			if let predecessor {
260 | 				_ = await predecessor.outcome()
    |                           `- warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
261 | 				try Task.checkCancellation()
262 | 			}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:172:17: warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
170 | 			self.pending = nil
171 | 			resolved = true
172 | 			continuation.resume(with: pending)
    |                 |- warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'pending' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
173 | 			return
174 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:183:17: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
181 | 			self.continuation = nil
182 | 			resolved = true
183 | 			continuation.resume(with: result)
    |                 |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
184 | 			return
185 | 		}
[232/384] Compiling SwiftAPIClientCore URLSessionDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:260:27: warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
258 | 			defer { finish(key, id) }
259 | 			if let predecessor {
260 | 				_ = await predecessor.outcome()
    |                           `- warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
261 | 				try Task.checkCancellation()
262 | 			}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:172:17: warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
170 | 			self.pending = nil
171 | 			resolved = true
172 | 			continuation.resume(with: pending)
    |                 |- warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'pending' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
173 | 			return
174 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:183:17: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
181 | 			self.continuation = nil
182 | 			resolved = true
183 | 			continuation.resume(with: result)
    |                 |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
184 | 			return
185 | 		}
[233/384] Compiling SwiftAPIClientCore UpdateMetrics.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:260:27: warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
258 | 			defer { finish(key, id) }
259 | 			if let predecessor {
260 | 				_ = await predecessor.outcome()
    |                           `- warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
261 | 				try Task.checkCancellation()
262 | 			}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:172:17: warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
170 | 			self.pending = nil
171 | 			resolved = true
172 | 			continuation.resume(with: pending)
    |                 |- warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'pending' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
173 | 			return
174 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:183:17: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
181 | 			self.continuation = nil
182 | 			resolved = true
183 | 			continuation.resume(with: result)
    |                 |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
184 | 			return
185 | 		}
[234/384] Compiling SwiftAPIClientCore WithSynchronizedAccess.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:260:27: warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
258 | 			defer { finish(key, id) }
259 | 			if let predecessor {
260 | 				_ = await predecessor.outcome()
    |                           `- warning: non-sendable result type 'Result<Any, any Error>' cannot be sent from nonisolated context in call to instance method 'outcome()'; this is an error in the Swift 6 language mode
261 | 				try Task.checkCancellation()
262 | 			}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:172:17: warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
170 | 			self.pending = nil
171 | 			resolved = true
172 | 			continuation.resume(with: pending)
    |                 |- warning: sending 'pending' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'pending' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
173 | 			return
174 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/WithSynchronizedAccess.swift:183:17: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
181 | 			self.continuation = nil
182 | 			resolved = true
183 | 			continuation.resume(with: result)
    |                 |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
184 | 			return
185 | 		}
[235/384] Emitting module SwiftSyntax
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[236/384] Compiling SwiftAPIClientCore String++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[237/384] Compiling SwiftAPIClientCore URLComponentBuilder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[238/384] Compiling SwiftAPIClientCore URLResponse++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[239/384] Compiling SwiftAPIClientCore Imports.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[240/384] Compiling SwiftAPIClientCore AuthModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[241/384] Compiling SwiftAPIClientCore BackgroundModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[242/384] Compiling SwiftAPIClientCore CodeLocation.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[243/384] Compiling SwiftAPIClientCore CodersModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[244/384] Compiling SwiftAPIClientCore ErrorDecodeModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[245/384] Compiling SwiftAPIClientCore ErrorHandler.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[246/384] Compiling SwiftAPIClientCore APIClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[247/384] Compiling SwiftAPIClientCore APIClientCaller.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[248/384] Compiling SwiftAPIClientCore APIClientConfigs.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[249/384] Compiling SwiftAPIClientCore APIClientType.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[250/384] Compiling SwiftAPIClientCore HTTPClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[251/384] Compiling SwiftAPIClientCore HTTPDownloadClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[252/384] Compiling SwiftAPIClientCore HTTPPublisher.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[253/384] Compiling SwiftAPIClientCore HTTPUploadClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[254/384] Compiling SwiftAPIClientCore URLSession+Client.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[255/384] Compiling SwiftAPIClientCore Async++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[276/393] Compiling SwiftAPIClientCore HTTPClientMiddleware.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[277/393] Compiling SwiftAPIClientCore HTTPResponseValidator.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[278/393] Compiling SwiftAPIClientCore ListenerModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[279/393] Compiling SwiftAPIClientCore LoggingModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[280/393] Compiling SwiftAPIClientCore MetricsModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[281/393] Compiling SwiftAPIClientCore MockResponses.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[282/393] Compiling SwiftAPIClientCore RateLimitModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[283/393] Compiling SwiftAPIClientCore RedirectModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[284/393] Compiling SwiftAPIClientCore RequestCompression.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[285/393] Compiling SwiftAPIClientCore RequestModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[296/393] Emitting module SwiftAPIClientCore
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[297/393] Compiling SwiftAPIClientCore Error+String.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[298/393] Compiling SwiftAPIClientCore NoneLogger.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[299/393] Compiling SwiftAPIClientCore Publisher+Create.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[300/393] Compiling SwiftAPIClientCore Publishers+Task.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[301/393] Compiling SwiftAPIClientCore Reachability.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[302/393] Compiling SwiftAPIClientCore Status+Ext.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[303/393] Compiling SwiftAPIClientCore URLSessionDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[304/393] Compiling SwiftAPIClientCore UpdateMetrics.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[305/393] Compiling SwiftAPIClientCore WithSynchronizedAccess.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
62 | 	let id: (HTTPRequestComponents) -> ID
63 |
64 | 	func execute<T>(
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | 		request: HTTPRequestComponents,
66 | 		configs: APIClient.Configs,
   :
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    `- warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
75 | 			return response
76 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TimeoutModifiers.swift:164:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | 	let line: UInt
158 |
159 | 	func execute<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
160 | 		request: HTTPRequestComponents,
161 | 		configs: APIClient.Configs,
162 | 		next: @escaping Next<T>
163 | 	) async throws -> (T, HTTPResponse) {
164 | 		try await withTimeout(
    |             `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 | 			timeout,
166 | 			seconds: { _ in seconds },
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/URLSessionModifiers.swift:49:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 47 | private extension URLSession {
 48 |
 49 | 	static var apiClient: URLSession = {
    |             |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 | 		var configs = URLSessionConfiguration.default
 51 | 		configs.headers = .default
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
72 | 		}
73 | 		let requestID = id(request)
74 | 		if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
   |                                                    |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                                                    `- note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
75 | 			return response
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |                                                                 `- note: access can happen concurrently
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
82 | 		}
83 | 		return (value, httpResponse)
   |           `- note: access can happen concurrently
84 | 	}
85 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
76 | 		}
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
   |               |- warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
   |               `- note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
79 | 		Task {
   |        `- note: access can happen concurrently
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 | 		let (value, httpResponse) = try await next(request, configs)
78 | 		await cache.setResponse(response: (value, httpResponse), for: requestID)
79 | 		Task {
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |          `- note: closure captures 'self' which is accessible to code in the current task
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
79 | 		Task {
80 | 			try? await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
81 | 			await cache.removeResponse(for: requestID)
   |                |- warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
82 | 		}
83 | 		return (value, httpResponse)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:186:90: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 | 			throw TokenNotFound(name: "accessToken")
185 | 		}
186 | 		return try await withThrowingSynchronizedAccess(id: TokenRequestScope(host: url.host)) { [tokenCacheService] in
    |                                                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
187 | 			let (accessToken, refreshToken, expiryDate) = try await requestToken(configs)
    |                                                            `- note: closure captures 'requestToken' which is accessible to code in the current task
188 | 			let tokens = CachedTokens(accessToken: accessToken, refreshToken: refreshToken, expiryDate: expiryDate)
189 | 			try await tokenCacheService.saveTokens(tokens)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/TokenRefresher/TokenRefresher.swift:206:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
204 | 		await TokenRefreshLocks.shared.lock(accessToken)
205 | 		// Unstructured: a cancelled request must not drop tokens the server has already rotated.
206 | 		let result = await Task { [self] in
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
207 | 			try await refreshIfStillCached(accessToken, configs: configs)
    |              `- note: closure captures 'self' which is accessible to code in the current task
208 | 		}.result
209 | 		await TokenRefreshLocks.shared.unlock(accessToken)
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/23] Write swift-version-24593BA9C3E375BF.txt
[2/59] Emitting module SwiftSyntax509
[3/59] Compiling SwiftSyntax509 Empty.swift
[4/60] Compiling SwiftSyntax603 Empty.swift
[5/60] Emitting module SwiftSyntax603
[6/61] Emitting module SwiftSyntax602
[7/61] Compiling SwiftSyntax602 Empty.swift
[8/61] Compiling SwiftSyntax604 Empty.swift
[9/61] Emitting module SwiftSyntax604
[10/62] Emitting module SwiftSyntax601
[11/62] Compiling SwiftSyntax601 Empty.swift
[12/64] Compiling CoreMetrics WithMetricsFactory.swift
[18/59] Compiling Logging LoggingSystem.swift
[19/60] Compiling CoreMetrics Locks.swift
[20/60] Compiling Logging MetadataProvider.swift
[21/62] Compiling HTTPTypes HTTPParsedFields.swift
[22/91] Compiling SwiftSyntax510 Empty.swift
[23/91] Compiling HTTPTypes HTTP2ErrorCode.swift
[24/91] Compiling HTTPTypes HTTP3ErrorCode.swift
[25/91] Compiling HTTPTypes HTTPField.swift
[26/91] Compiling HTTPTypes HTTPFieldName.swift
[27/91] Compiling SwiftSyntax600 Empty.swift
[28/91] Emitting module CoreMetrics
[29/91] Emitting module SwiftSyntax510
[30/92] Emitting module SwiftSyntax600
[33/91] Compiling Logging Logger.swift
[34/91] Compiling HTTPTypes HTTPRequest+URL.swift
[35/91] Compiling HTTPTypes HTTPRequest.swift
[36/91] Compiling Logging LogEvent.swift
[37/91] Compiling Logging LogHandler.swift
[40/91] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[41/91] Compiling Logging Logger+Attributes.swift
[42/91] Compiling CoreMetrics WithMetricsFactory.swift
[45/91] Compiling Logging LoggingSystem.swift
[46/91] Emitting module Logging
unable to find node: pound
unable to find node: pound
[47/93] Compiling HTTPTypes HTTPFields.swift
[48/93] Compiling HTTPTypes HTTPFieldValue.swift
[49/93] Compiling HTTPTypes HTTPRequest+URL.swift
[52/94] Compiling CoreMetrics Locks.swift
[53/148] Compiling SwiftSyntax BumpPtrAllocator.swift
[54/148] Compiling SwiftSyntax CommonAncestor.swift
[56/158] Compiling HTTPTypes HTTPParsedFields.swift
[57/158] Compiling HTTPTypes HTTPResponse.swift
[58/158] Emitting module HTTPTypes
[59/159] Compiling Logging MetadataProvider.swift
[61/159] Emitting module CoreMetrics
[62/159] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[63/159] Compiling Logging Logger+Attributes.swift
[64/159] Compiling Logging Logger.swift
[65/159] Compiling HTTPTypes HTTPRequest.swift
[66/159] Emitting module Logging
unable to find node: pound
unable to find node: pound
[67/159] Compiling SwiftSyntax AbsolutePosition.swift
[68/159] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[69/160] Compiling CoreMetrics Metrics.swift
[70/160] Compiling CoreMetrics MappingMetricsFactory.swift
[71/161] Emitting module HTTPTypes
[74/167] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[75/169] Compiling HTTPTypes HTTPFields.swift
[76/169] Compiling HTTPTypes HTTPFieldValue.swift
[77/169] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[78/169] Compiling SwiftSyntax Assert.swift
[81/169] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[82/169] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[83/169] Compiling CoreMetrics MappingMetricsFactory.swift
[84/169] Compiling CoreMetrics Metrics.swift
[85/170] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[86/170] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[87/170] Emitting module HTTPTypesFoundation
[88/171] Compiling HTTPTypes HTTPResponse.swift
[89/172] Compiling Metrics Metrics.swift
[92/172] Emitting module Metrics
[95/252] Compiling Metrics Metrics.swift
[96/252] Emitting module HTTPTypesFoundation
[97/252] Emitting module Metrics
[98/253] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[99/253] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[101/253] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[102/253] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[103/253] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[105/325] Compiling SwiftAPIClientCore TimeoutError.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[106/325] Compiling SwiftAPIClientCore AnyAsyncSequence.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[107/325] Compiling SwiftAPIClientCore AnyEncodable.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[108/325] Compiling SwiftAPIClientCore ContentEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[109/325] Compiling SwiftAPIClientCore DataDecoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[110/325] Compiling SwiftAPIClientCore EncodingStrategies.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[111/325] Compiling SwiftAPIClientCore ErrorDecoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[112/325] Compiling SwiftAPIClientCore FormURLEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[113/325] Compiling SwiftAPIClientCore HeadersEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[114/325] Compiling SwiftAPIClientCore JSONContentEncoders.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[115/325] Compiling SwiftAPIClientCore MultipartFormData.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[116/325] Compiling SwiftAPIClientCore MultipartFormDataEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[117/325] Compiling SwiftAPIClientCore ParametersEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[118/325] Compiling SwiftAPIClientCore ParametersValue.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[119/325] Compiling SwiftAPIClientCore QueryEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[120/325] Compiling SwiftAPIClientCore HTTPHeadersEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[121/325] Compiling SwiftAPIClientCore PlainCodingKey.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[122/325] Compiling SwiftAPIClientCore Ref.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[123/325] Compiling SwiftAPIClientCore URLQueryEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[124/325] Compiling SwiftAPIClientCore ConsoleStyle.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[125/325] Compiling SwiftAPIClientCore AsyncValue.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[126/325] Compiling SwiftAPIClientCore ContentSerializer.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[127/325] Compiling SwiftAPIClientCore ContentType.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[128/325] Compiling SwiftAPIClientCore Errors.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[129/325] Compiling SwiftAPIClientCore HTTPFields.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[130/325] Compiling SwiftAPIClientCore HTTPRequestComponents.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[131/325] Compiling SwiftAPIClientCore LoggingComponent.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[132/325] Compiling SwiftAPIClientCore Mockable.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[133/325] Compiling SwiftAPIClientCore RedirectBehaviour.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[134/325] Compiling SwiftAPIClientCore Serializer.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[135/334] Emitting module SwiftAPIClientCore
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
[167/343] Compiling SwiftAPIClientCore Error+String.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[168/343] Compiling SwiftAPIClientCore NoneLogger.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[169/343] Compiling SwiftAPIClientCore Publisher+Create.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[170/343] Compiling SwiftAPIClientCore Publishers+Task.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[171/343] Compiling SwiftAPIClientCore Reachability.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[172/343] Compiling SwiftAPIClientCore Status+Ext.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[173/343] Compiling SwiftAPIClientCore URLSessionDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[174/343] Compiling SwiftAPIClientCore UpdateMetrics.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[175/343] Compiling SwiftAPIClientCore WithSynchronizedAccess.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/NoneLogger.swift:14:16: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
12 | }
13 |
14 | private struct NoneLogger: LogHandler {
   |                `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
15 |
16 |   var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Utils/URLSessionDelegateWrapper.swift:44:6: warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 42 | final class SessionDelegateProxy: NSObject {
 43 |
 44 | 	var configs: APIClient.Configs?
    |      `- warning: stored property 'configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
 45 | 	var originalDelegate: URLSessionDelegate? { configs?.urlSessionDelegate }
 46 | }
[185/343] Compiling SwiftAPIClientCore APIClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[186/343] Compiling SwiftAPIClientCore APIClientCaller.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[187/343] Compiling SwiftAPIClientCore APIClientConfigs.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[188/343] Compiling SwiftAPIClientCore APIClientType.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[189/343] Compiling SwiftAPIClientCore HTTPClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[190/343] Compiling SwiftAPIClientCore HTTPDownloadClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[191/343] Compiling SwiftAPIClientCore HTTPPublisher.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[192/343] Compiling SwiftAPIClientCore HTTPUploadClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[193/343] Compiling SwiftAPIClientCore URLSession+Client.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[194/343] Compiling SwiftAPIClientCore Async++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[195/343] Compiling SwiftAPIClientCore HTTPClientMiddleware.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[196/343] Compiling SwiftAPIClientCore HTTPResponseValidator.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[197/343] Compiling SwiftAPIClientCore ListenerModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[198/343] Compiling SwiftAPIClientCore LoggingModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[199/343] Compiling SwiftAPIClientCore MetricsModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[200/343] Compiling SwiftAPIClientCore MockResponses.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[201/343] Compiling SwiftAPIClientCore RateLimitModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[202/343] Compiling SwiftAPIClientCore RedirectModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[203/343] Compiling SwiftAPIClientCore RequestCompression.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[204/343] Compiling SwiftAPIClientCore RequestModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[205/343] Compiling SwiftAPIClientCore String++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[206/343] Compiling SwiftAPIClientCore URLComponentBuilder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[207/343] Compiling SwiftAPIClientCore URLResponse++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[208/343] Compiling SwiftAPIClientCore Imports.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[209/343] Compiling SwiftAPIClientCore AuthModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[210/343] Compiling SwiftAPIClientCore BackgroundModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[211/343] Compiling SwiftAPIClientCore CodeLocation.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[212/343] Compiling SwiftAPIClientCore CodersModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[213/343] Compiling SwiftAPIClientCore ErrorDecodeModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[214/343] Compiling SwiftAPIClientCore ErrorHandler.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[215/343] Compiling SwiftAPIClientCore RequestValidator.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[216/343] Compiling SwiftAPIClientCore ResponseWrapModifires.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[217/343] Compiling SwiftAPIClientCore RetryModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[218/343] Compiling SwiftAPIClientCore ThrottleModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[219/343] Compiling SwiftAPIClientCore TimeoutModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[220/343] Compiling SwiftAPIClientCore TokenCacheService.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[221/343] Compiling SwiftAPIClientCore TokenRefresher.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[222/343] Compiling SwiftAPIClientCore URLSessionModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[223/343] Compiling SwiftAPIClientCore WaitForConnectionModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
[224/343] Compiling SwiftAPIClientCore RequestBuilder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/Modifiers/RetryModifier.swift:10:8: error: no such module 'Glibc'
  8 | import Darwin
  9 | #else
 10 | import Glibc
    |        `- error: no such module 'Glibc'
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftAPIClientCore/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' has non-sendable type '[PartialKeyPath<APIClient.Configs> : Any]'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
BUILD FAILURE 6.1 android