Build Information
Failed to build swift-api-client, reference main (e504f5), with Swift 6.1 for Android on 2 Oct 2025 13:59:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 | do {
31 | let result = try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:31:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
31 | let result = try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | await Barriers.shared.removeTask(for: taskIdentifier)
33 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:59:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
57 | ) async -> T {
58 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
59 | if let task = cached as? Task<T, Error> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
61 | if let result = try? await task.value {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:61:36: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
59 | if let task = cached as? Task<T, Error> {
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
61 | if let result = try? await task.value {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | return result
63 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:64:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
62 | return result
63 | }
64 | } else if let task = cached as? Task<T, Never> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | return await task.value
66 | } else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:65:22: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
63 | }
64 | } else if let task = cached as? Task<T, Never> {
65 | return await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | } else {
67 | // runtimeWarn("Unexpected task type found in the barrier.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
68 | }
69 | }
70 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
68 | }
69 | }
70 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:72:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | await Barriers.shared.removeTask(for: taskIdentifier)
74 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
30 | do {
31 | let result = try await task.value
| `- note: access can happen concurrently
32 | await Barriers.shared.removeTask(for: taskIdentifier)
33 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:19:40: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
17 | task: @escaping @Sendable () async throws -> T
18 | ) async throws -> T {
19 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
20 | if let task = cached as? Task<T, Error> {
21 | return try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- 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 'setTask(for:task:)' risks causing races in between task-isolated and actor-isolated uses
30 | do {
31 | let result = try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:32:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
30 | do {
31 | let result = try await task.value
32 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
33 | return result
34 | } catch {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:35:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
33 | return result
34 | } catch {
35 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
36 | throw error
37 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
72 | let result = await task.value
| `- note: access can happen concurrently
73 | await Barriers.shared.removeTask(for: taskIdentifier)
74 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:58:40: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
56 | task: @escaping @Sendable () async -> T
57 | ) async -> T {
58 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
59 | if let task = cached as? Task<T, Error> {
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- 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 'setTask(for:task:)' risks causing races in between task-isolated and actor-isolated uses
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:73:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
74 | return result
75 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:96:43: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
94 | @discardableResult
95 | public func waitForThrowingSynchronizedAccess<ID: Hashable, T>(id taskIdentifier: ID, of type: T.Type = T.self) async throws -> T? {
96 | guard let cached = await Barriers.shared.getTask(for: taskIdentifier) else {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
97 | return nil
98 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:123:43: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
121 | @discardableResult
122 | public func waitForSynchronizedAccess<ID: Hashable, T>(id taskIdentifier: ID, of type: T.Type = T.self) async -> T? {
123 | guard let cached = await Barriers.shared.getTask(for: taskIdentifier) else {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
124 | return nil
125 | }
[453/514] Compiling SwiftAPIClient UpdateMetrics.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:20:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
18 | ) async throws -> T {
19 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
20 | if let task = cached as? Task<T, Error> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | return try await task.value
22 | } else if let task = cached as? Task<T, Never> {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:21:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
19 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
20 | if let task = cached as? Task<T, Error> {
21 | return try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | } else if let task = cached as? Task<T, Never> {
23 | return await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:22:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
20 | if let task = cached as? Task<T, Error> {
21 | return try await task.value
22 | } else if let task = cached as? Task<T, Never> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | return await task.value
24 | } else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:23:22: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
21 | return try await task.value
22 | } else if let task = cached as? Task<T, Never> {
23 | return await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
24 | } else {
25 | // runtimeWarn("Unexpected task type found in the barrier.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:28:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
26 | }
27 | }
28 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:28:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
26 | }
27 | }
28 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 | do {
31 | let result = try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:31:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
31 | let result = try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | await Barriers.shared.removeTask(for: taskIdentifier)
33 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:59:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
57 | ) async -> T {
58 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
59 | if let task = cached as? Task<T, Error> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
61 | if let result = try? await task.value {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:61:36: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
59 | if let task = cached as? Task<T, Error> {
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
61 | if let result = try? await task.value {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | return result
63 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:64:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
62 | return result
63 | }
64 | } else if let task = cached as? Task<T, Never> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | return await task.value
66 | } else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:65:22: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
63 | }
64 | } else if let task = cached as? Task<T, Never> {
65 | return await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | } else {
67 | // runtimeWarn("Unexpected task type found in the barrier.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
68 | }
69 | }
70 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
68 | }
69 | }
70 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:72:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | await Barriers.shared.removeTask(for: taskIdentifier)
74 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
30 | do {
31 | let result = try await task.value
| `- note: access can happen concurrently
32 | await Barriers.shared.removeTask(for: taskIdentifier)
33 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:19:40: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
17 | task: @escaping @Sendable () async throws -> T
18 | ) async throws -> T {
19 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
20 | if let task = cached as? Task<T, Error> {
21 | return try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- 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 'setTask(for:task:)' risks causing races in between task-isolated and actor-isolated uses
30 | do {
31 | let result = try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:32:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
30 | do {
31 | let result = try await task.value
32 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
33 | return result
34 | } catch {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:35:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
33 | return result
34 | } catch {
35 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
36 | throw error
37 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
72 | let result = await task.value
| `- note: access can happen concurrently
73 | await Barriers.shared.removeTask(for: taskIdentifier)
74 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:58:40: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
56 | task: @escaping @Sendable () async -> T
57 | ) async -> T {
58 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
59 | if let task = cached as? Task<T, Error> {
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- 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 'setTask(for:task:)' risks causing races in between task-isolated and actor-isolated uses
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:73:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
74 | return result
75 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:96:43: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
94 | @discardableResult
95 | public func waitForThrowingSynchronizedAccess<ID: Hashable, T>(id taskIdentifier: ID, of type: T.Type = T.self) async throws -> T? {
96 | guard let cached = await Barriers.shared.getTask(for: taskIdentifier) else {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
97 | return nil
98 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:123:43: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
121 | @discardableResult
122 | public func waitForSynchronizedAccess<ID: Hashable, T>(id taskIdentifier: ID, of type: T.Type = T.self) async -> T? {
123 | guard let cached = await Barriers.shared.getTask(for: taskIdentifier) else {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
124 | return nil
125 | }
[454/514] Compiling SwiftAPIClient WithSynchronizedAccess.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:20:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
18 | ) async throws -> T {
19 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
20 | if let task = cached as? Task<T, Error> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | return try await task.value
22 | } else if let task = cached as? Task<T, Never> {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:21:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
19 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
20 | if let task = cached as? Task<T, Error> {
21 | return try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | } else if let task = cached as? Task<T, Never> {
23 | return await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:22:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
20 | if let task = cached as? Task<T, Error> {
21 | return try await task.value
22 | } else if let task = cached as? Task<T, Never> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | return await task.value
24 | } else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:23:22: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
21 | return try await task.value
22 | } else if let task = cached as? Task<T, Never> {
23 | return await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
24 | } else {
25 | // runtimeWarn("Unexpected task type found in the barrier.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:28:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
26 | }
27 | }
28 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:28:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
26 | }
27 | }
28 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 | do {
31 | let result = try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:31:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | ///
14 | /// This function is ideal for operations that require both synchronization and error handling, such as modifying shared data where failure must be managed explicitly.
15 | public func withThrowingSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | id taskIdentifier: ID,
17 | task: @escaping @Sendable () async throws -> T
:
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
30 | do {
31 | let result = try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | await Barriers.shared.removeTask(for: taskIdentifier)
33 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:59:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
57 | ) async -> T {
58 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
59 | if let task = cached as? Task<T, Error> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
61 | if let result = try? await task.value {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:61:36: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
59 | if let task = cached as? Task<T, Error> {
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
61 | if let result = try? await task.value {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | return result
63 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:64:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
62 | return result
63 | }
64 | } else if let task = cached as? Task<T, Never> {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | return await task.value
66 | } else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:65:22: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
63 | }
64 | } else if let task = cached as? Task<T, Never> {
65 | return await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | } else {
67 | // runtimeWarn("Unexpected task type found in the barrier.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
68 | }
69 | }
70 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
68 | }
69 | }
70 | let task = Task(operation: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:72:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | /// Use this function for operations that require synchronization but do not need explicit error handling to be exposed to the caller, such as read-only
53 | /// access to shared data where the outcomes are non-critical or are managed within the tasks themselves.
54 | public func withSynchronizedAccess<T, ID: Hashable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
55 | id taskIdentifier: ID,
56 | task: @escaping @Sendable () async -> T
:
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | await Barriers.shared.removeTask(for: taskIdentifier)
74 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
30 | do {
31 | let result = try await task.value
| `- note: access can happen concurrently
32 | await Barriers.shared.removeTask(for: taskIdentifier)
33 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:19:40: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
17 | task: @escaping @Sendable () async throws -> T
18 | ) async throws -> T {
19 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
20 | if let task = cached as? Task<T, Error> {
21 | return try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
27 | }
28 | let task = Task(operation: task)
29 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- 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 'setTask(for:task:)' risks causing races in between task-isolated and actor-isolated uses
30 | do {
31 | let result = try await task.value
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:32:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
30 | do {
31 | let result = try await task.value
32 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
33 | return result
34 | } catch {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:35:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
33 | return result
34 | } catch {
35 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
36 | throw error
37 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
72 | let result = await task.value
| `- note: access can happen concurrently
73 | await Barriers.shared.removeTask(for: taskIdentifier)
74 | return result
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:58:40: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
56 | task: @escaping @Sendable () async -> T
57 | ) async -> T {
58 | if let cached = await Barriers.shared.getTask(for: taskIdentifier) {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
59 | if let task = cached as? Task<T, Error> {
60 | // logger("Attempted to access a throwing synchronized task from a non-throwing context.")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 | let task = Task(operation: task)
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
| |- 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 'setTask(for:task:)' risks causing races in between task-isolated and actor-isolated uses
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:73:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
71 | await Barriers.shared.setTask(for: taskIdentifier, task: task)
72 | let result = await task.value
73 | await Barriers.shared.removeTask(for: taskIdentifier)
| |- 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 'removeTask(for:)' risks causing races in between task-isolated and actor-isolated uses
74 | return result
75 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:96:43: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
94 | @discardableResult
95 | public func waitForThrowingSynchronizedAccess<ID: Hashable, T>(id taskIdentifier: ID, of type: T.Type = T.self) async throws -> T? {
96 | guard let cached = await Barriers.shared.getTask(for: taskIdentifier) else {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
97 | return nil
98 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:123:43: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
121 | @discardableResult
122 | public func waitForSynchronizedAccess<ID: Hashable, T>(id taskIdentifier: ID, of type: T.Type = T.self) async -> T? {
123 | guard let cached = await Barriers.shared.getTask(for: taskIdentifier) else {
| |- 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 'getTask(for:)' risks causing races in between task-isolated and actor-isolated uses
124 | return nil
125 | }
[465/514] Compiling SwiftAPIClient String++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[466/514] Compiling SwiftAPIClient URLComponentBuilder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[467/514] Compiling SwiftAPIClient URLResponse++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[468/514] Compiling SwiftAPIClient Imports.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[469/514] Compiling SwiftAPIClient Macros.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[470/514] Compiling SwiftAPIClient AuthModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[471/514] Compiling SwiftAPIClient BackgroundModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[472/514] Compiling SwiftAPIClient CodeLocation.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[473/514] Compiling SwiftAPIClient CodersModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[474/514] Compiling SwiftAPIClient ErrorDecodeModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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 |
[485/514] Compiling SwiftAPIClient RequestModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[486/514] Compiling SwiftAPIClient RequestValidator.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[487/514] Compiling SwiftAPIClient ResponseWrapModifires.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[488/514] Compiling SwiftAPIClient RetryModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[489/514] Compiling SwiftAPIClient ThrottleModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[490/514] Compiling SwiftAPIClient TimeoutModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[491/514] Compiling SwiftAPIClient TokenCacheService.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[492/514] Compiling SwiftAPIClient TokenRefresher.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[493/514] Compiling SwiftAPIClient URLSessionModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[494/514] Compiling SwiftAPIClient WaitForConnectionModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:128:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct APIErrorContext: Equatable {
| `- note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
45 |
46 | public var request: HTTPRequestComponents?
:
126 | public var error: Error
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
129 | public var includeBody: IncludeBodyPolicy
130 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:129:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
127 | public var configs: APIClient.Configs
128 | public var context: APIErrorContext
129 | public var includeBody: IncludeBodyPolicy
| `- warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
130 |
131 | public init(error: Error, configs: APIClient.Configs, context: APIErrorContext, includeBody: IncludeBodyPolicy) {
:
165 | }
166 |
167 | public enum IncludeBodyPolicy {
| `- note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
168 |
169 | case never
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
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/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:38:14: warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
36 |
37 | public let underlying: Error
38 | private var values: [PartialKeyPath<Self>: Any] = [:]
| `- warning: stored property 'values' of 'Sendable'-conforming struct 'HTTPClientMiddlewareError' has non-sendable type '[PartialKeyPath<HTTPClientMiddlewareError> : Any]'; this is an error in the Swift 6 language mode
39 |
40 | public init(_ underlying: Error) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:102:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public protocol HTTPClientMiddleware {
| `- note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
4 |
5 | //#if swift(>=6.0)
:
100 | var next = next
101 | for middleware in middlewares {
102 | next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
| `- warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 | return try await next(request, configs)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift:187:13: warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
185 | public extension Set<HTTPField.Name> {
186 |
187 | static var defaultMaskedHeaders: Set<HTTPField.Name> = [
| |- warning: static property 'defaultMaskedHeaders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultMaskedHeaders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultMaskedHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | .authorization,
189 | .authenticationInfo,
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RateLimitModifier.swift:77:46: warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private struct RateLimitMiddleware<ID: Hashable>: HTTPClientMiddleware {
| `- note: consider making generic struct 'RateLimitMiddleware' conform to the 'Sendable' protocol
48 |
49 | let id: (HTTPRequestComponents) -> ID
:
75 | count += 1
76 | try await withThrowingSynchronizedAccess(id: id) {
77 | try await Task.sleep(nanoseconds: UInt64(interval * 1_000_000_000))
| `- warning: capture of 'self' with non-sendable type 'RateLimitMiddleware<ID>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | }
79 | (res, status) = try await extractStatusCodeEvenFailed {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RetryModifier.swift:399:20: warning: static property 'requestFailed' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// A condition that determines whether a request should be retried based on the request, the result of the request, and the client configurations.
289 | public struct RetryRequestCondition {
| `- note: consider making struct 'RetryRequestCondition' conform to the 'Sendable' protocol
290 |
291 | private let condition: (HTTPRequestComponents, HTTPResponse?, Error?, APIClient.Configs) -> Bool
:
397 |
398 | /// A `RetryRequestCondition` that retries safe HTTP methods (like GET) when the request fails due to network errors.
399 | public static let requestFailed = RetryRequestCondition { request, response, error, _ in
| |- warning: static property 'requestFailed' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestFailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 | switch error {
401 | case nil:
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RetryModifier.swift:409:20: warning: static property 'requestMethodIsSafe' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// A condition that determines whether a request should be retried based on the request, the result of the request, and the client configurations.
289 | public struct RetryRequestCondition {
| `- note: consider making struct 'RetryRequestCondition' conform to the 'Sendable' protocol
290 |
291 | private let condition: (HTTPRequestComponents, HTTPResponse?, Error?, APIClient.Configs) -> Bool
:
407 |
408 | /// A `RetryRequestCondition` that retries the request when the HTTP method is considered safe (e.g., GET, HEAD, OPTIONS).
409 | public static let requestMethodIsSafe = RetryRequestCondition { request, _, _, _ in
| |- warning: static property 'requestMethodIsSafe' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestMethodIsSafe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
410 | request.method.isSafe
411 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RetryModifier.swift:414:20: warning: static property 'retryStatusCode' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// A condition that determines whether a request should be retried based on the request, the result of the request, and the client configurations.
289 | public struct RetryRequestCondition {
| `- note: consider making struct 'RetryRequestCondition' conform to the 'Sendable' protocol
290 |
291 | private let condition: (HTTPRequestComponents, HTTPResponse?, Error?, APIClient.Configs) -> Bool
:
412 |
413 | /// A `RetryRequestCondition` that retries the request when the response status code indicates a failure that is typically transient.
414 | public static let retryStatusCode = RetryRequestCondition.statusCodes(408, 421, 429, 500, 502, 503, 504, 509)
| |- warning: static property 'retryStatusCode' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'retryStatusCode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
415 |
416 | /// A `RetryRequestCondition` that retries the request when the response status code is `429 Too Many Requests`.
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RetryModifier.swift:417:20: warning: static property 'rateLimitExceeded' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// A condition that determines whether a request should be retried based on the request, the result of the request, and the client configurations.
289 | public struct RetryRequestCondition {
| `- note: consider making struct 'RetryRequestCondition' conform to the 'Sendable' protocol
290 |
291 | private let condition: (HTTPRequestComponents, HTTPResponse?, Error?, APIClient.Configs) -> Bool
:
415 |
416 | /// A `RetryRequestCondition` that retries the request when the response status code is `429 Too Many Requests`.
417 | public static let rateLimitExceeded = RetryRequestCondition.statusCodes(.tooManyRequests)
| |- warning: static property 'rateLimitExceeded' is not concurrency-safe because non-'Sendable' type 'RetryRequestCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rateLimitExceeded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
418 |
419 | /// A `RetryRequestCondition` that retries requests with defined HTTP methods.
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RetryModifier.swift:465:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryBackoffPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
446 |
447 | /// Backoff policy described with closures.
448 | public struct RetryBackoffPolicy {
| `- note: consider making struct 'RetryBackoffPolicy' conform to the 'Sendable' protocol
449 |
450 | /// Hash all requests that must share the same cooldown window.
:
463 | }
464 |
465 | public static let `default` = RetryBackoffPolicy { req in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryBackoffPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | req.urlComponents.host
467 | } isGlobalBackoff: { _, response in
/host/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/RetryModifier.swift:588:20: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'RetryJitterConfigs' may have shared mutable state; this is an error in the Swift 6 language mode
554 |
555 | /// Configuration for jitter applied to retry intervals.
556 | public struct RetryJitterConfigs: Hashable {
| `- note: consider making struct 'RetryJitterConfigs' conform to the 'Sendable' protocol
557 |
558 | /// The fraction range of the base interval to use for jitter.
:
586 |
587 | /// No jitter applied.
588 | public static let off = RetryJitterConfigs(fraction: 0 ... 0, minNs: 0, maxNs: 0)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'RetryJitterConfigs' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
589 | }
590 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling SwiftSyntax510 Empty.swift
[3/48] Emitting module SwiftSyntax510
[4/49] Compiling SwiftSyntax509 Empty.swift
[5/49] Emitting module SwiftSyntax509
[6/50] Emitting module SwiftSyntax600
[7/50] Compiling SwiftSyntax600 Empty.swift
[8/51] Compiling Logging MetadataProvider.swift
[9/51] Compiling Logging LogHandler.swift
[13/48] Compiling Logging MetadataProvider.swift
[14/50] Compiling Logging Locks.swift
[15/55] Emitting module Logging
[16/56] Emitting module CoreMetrics
[17/56] Compiling HTTPTypes ISOLatin1String.swift
[18/57] Emitting module CoreMetrics
[19/57] Compiling HTTPTypes HTTPField.swift
[20/57] Emitting module HTTPTypes
[21/57] Compiling HTTPTypes NIOLock.swift
[22/67] Compiling HTTPTypes ISOLatin1String.swift
[23/122] Compiling HTTPTypes HTTPParsedFields.swift
[24/122] Compiling HTTPTypes HTTPResponse.swift
[25/122] Compiling HTTPTypes HTTPRequest.swift
[26/122] Compiling HTTPTypes HTTPField.swift
[27/122] Emitting module HTTPTypes
[28/122] Emitting module Logging
[29/122] Compiling Logging Logging.swift
[30/122] Compiling Logging Locks.swift
[31/123] Compiling HTTPTypes HTTPFields.swift
[32/123] Compiling HTTPTypes HTTPFieldName.swift
[33/124] Compiling CoreMetrics Metrics.swift
[34/124] Compiling CoreMetrics Locks.swift
[36/125] Compiling CoreMetrics Metrics.swift
[39/126] Compiling HTTPTypes NIOLock.swift
[42/126] Compiling HTTPTypes HTTPResponse.swift
[43/126] Compiling HTTPTypes HTTPParsedFields.swift
[44/126] Compiling HTTPTypes HTTPRequest.swift
[45/126] Compiling Logging LogHandler.swift
[46/126] Compiling Logging Logging.swift
[48/137] Compiling HTTPTypes HTTPFieldName.swift
[49/137] Compiling HTTPTypes HTTPFields.swift
[51/138] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[52/138] Emitting module Metrics
[53/138] Compiling Metrics Metrics.swift
[54/139] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[56/141] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[57/145] Emitting module Metrics
[58/145] Compiling Metrics Metrics.swift
[59/146] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[61/146] Emitting module HTTPTypesFoundation
[62/146] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[64/147] Emitting module HTTPTypesFoundation
[65/147] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[66/147] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[67/147] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[68/147] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[69/147] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[71/148] Compiling SwiftSyntax MemoryLayout.swift
[72/148] Compiling SwiftSyntax MissingNodeInitializers.swift
[73/148] Compiling SwiftSyntax RawSyntax.swift
[74/148] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[75/148] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[76/148] Compiling SwiftSyntax RawSyntaxTokenView.swift
[77/148] Compiling SwiftSyntax SourceEdit.swift
[78/148] Compiling SwiftSyntax SourceLength.swift
[79/148] Compiling SwiftSyntax SourceLocation.swift
[80/156] Emitting module SwiftSyntax
[81/156] Compiling SwiftSyntax SyntaxKind.swift
[82/156] Compiling SwiftSyntax SyntaxRewriter.swift
[83/156] Compiling SwiftSyntax SyntaxTraits.swift
[84/156] Compiling SwiftSyntax SyntaxVisitor.swift
[85/156] Compiling SwiftSyntax TokenKind.swift
[86/156] Compiling SwiftSyntax Tokens.swift
[87/156] Compiling SwiftSyntax TriviaPieces.swift
[88/156] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[89/156] Compiling SwiftSyntax RawSyntaxNodesC.swift
[90/156] Compiling SwiftSyntax RawSyntaxNodesD.swift
[91/156] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[92/156] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[93/156] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[94/156] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[95/156] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[96/156] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[97/156] Compiling SwiftSyntax RawSyntaxValidation.swift
[98/156] Compiling SwiftSyntax SyntaxNodesAB.swift
[99/156] Compiling SwiftSyntax SyntaxNodesC.swift
[100/156] Compiling SwiftSyntax SyntaxNodesD.swift
[101/156] Compiling SwiftSyntax SyntaxNodesEF.swift
[102/156] Compiling SwiftSyntax SyntaxNodesGHI.swift
[103/156] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[104/156] Compiling SwiftSyntax SyntaxNodesOP.swift
[105/156] Compiling SwiftSyntax SyntaxNodesQRS.swift
[106/156] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[107/156] Compiling SwiftSyntax SyntaxNodeFactory.swift
[108/156] Compiling SwiftSyntax SyntaxNodeStructure.swift
[109/156] Compiling SwiftSyntax SyntaxProtocol.swift
[110/156] Compiling SwiftSyntax SyntaxText.swift
[111/156] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[112/156] Compiling SwiftSyntax TokenDiagnostic.swift
[113/156] Compiling SwiftSyntax TokenSequence.swift
[114/156] Compiling SwiftSyntax TokenSyntax.swift
[115/156] Compiling SwiftSyntax Trivia.swift
[116/156] Compiling SwiftSyntax AbsolutePosition.swift
[117/156] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[118/156] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[119/156] Compiling SwiftSyntax Assert.swift
[120/156] Compiling SwiftSyntax BumpPtrAllocator.swift
[121/156] Compiling SwiftSyntax CommonAncestor.swift
[122/156] Compiling SwiftSyntax Convenience.swift
[123/156] Compiling SwiftSyntax CustomTraits.swift
[124/156] Compiling SwiftSyntax Identifier.swift
[125/156] Compiling SwiftSyntax SourcePresence.swift
[126/156] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[127/156] Compiling SwiftSyntax Syntax.swift
[128/156] Compiling SwiftSyntax SyntaxArena.swift
[129/156] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[130/156] Compiling SwiftSyntax SyntaxChildren.swift
[131/156] Compiling SwiftSyntax SyntaxCollection.swift
[132/156] Compiling SwiftSyntax SyntaxHashable.swift
[133/156] Compiling SwiftSyntax SyntaxIdentifier.swift
[134/156] Compiling SwiftSyntax Utils.swift
[135/156] Compiling SwiftSyntax ChildNameForKeyPath.swift
[136/156] Compiling SwiftSyntax Keyword.swift
[137/156] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[138/156] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[139/156] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[140/156] Compiling SwiftSyntax SyntaxBaseNodes.swift
[141/156] Compiling SwiftSyntax SyntaxCollections.swift
[142/156] Compiling SwiftSyntax SyntaxEnum.swift
[144/213] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[145/213] Compiling SwiftDiagnostics Message.swift
[146/214] Compiling SwiftParser CharacterInfo.swift
[147/214] Compiling SwiftParser CollectionNodes+Parsable.swift
[148/214] Emitting module SwiftDiagnostics
[149/214] Compiling SwiftParser Attributes.swift
[150/214] Compiling SwiftParser Availability.swift
[151/214] Compiling SwiftBasicFormat Syntax+Extensions.swift
[152/214] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[153/214] Compiling SwiftDiagnostics Note.swift
[154/214] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[155/214] Compiling SwiftDiagnostics FixIt.swift
[156/214] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[157/214] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[158/215] Compiling SwiftBasicFormat InferIndentation.swift
[160/214] Compiling SwiftParser SwiftParserCompatibility.swift
[161/214] Compiling SwiftParser SwiftVersion.swift
[162/214] Compiling SwiftParser SyntaxUtils.swift
[163/214] Compiling SwiftParser TokenConsumer.swift
[164/214] Compiling SwiftParser TokenPrecedence.swift
[165/219] Emitting module SwiftBasicFormat
[166/219] Compiling SwiftBasicFormat BasicFormat.swift
[168/219] Compiling SwiftParser TokenSpec.swift
[169/219] Compiling SwiftParser TokenSpecSet.swift
[170/219] Compiling SwiftParser TopLevel.swift
[171/219] Compiling SwiftParser TriviaParser.swift
[172/219] Compiling SwiftParser Types.swift
[173/219] Compiling SwiftParser LexemeSequence.swift
[174/219] Compiling SwiftParser Lexer.swift
[175/219] Compiling SwiftParser RegexLiteralLexer.swift
[176/219] Compiling SwiftParser UnicodeScalarExtensions.swift
[177/219] Compiling SwiftParser Lookahead.swift
[178/219] Compiling SwiftParser LoopProgressCondition.swift
[179/219] Compiling SwiftParser Modifiers.swift
[180/219] Compiling SwiftParser Names.swift
[181/219] Compiling SwiftParser Nominals.swift
[182/219] Compiling SwiftParser Parameters.swift
[183/219] Compiling SwiftParser ParseSourceFile.swift
[184/219] Compiling SwiftParser Parser.swift
[185/219] Compiling SwiftParser Patterns.swift
[186/219] Compiling SwiftParser Recovery.swift
[187/219] Compiling SwiftParser Specifiers.swift
[188/219] Compiling SwiftParser Statements.swift
[189/219] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[190/219] Compiling SwiftParser StringLiterals.swift
[191/219] Emitting module SwiftParser
[196/219] Compiling SwiftParser Declarations.swift
[197/219] Compiling SwiftParser Directives.swift
[198/219] Compiling SwiftParser ExperimentalFeatures.swift
[199/219] Compiling SwiftParser IsLexerClassified.swift
[200/219] Compiling SwiftParser LayoutNodes+Parsable.swift
[201/219] Compiling SwiftParser Parser+TokenSpecSet.swift
[202/219] Compiling SwiftParser TokenSpecStaticMembers.swift
[203/219] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[204/219] Compiling SwiftParser Expressions.swift
[205/219] Compiling SwiftParser IncrementalParseTransition.swift
[206/219] Compiling SwiftParser IsValidIdentifier.swift
[207/219] Compiling SwiftParser Cursor.swift
[208/219] Compiling SwiftParser Lexeme.swift
[210/242] Compiling SwiftOperators PrecedenceGroup.swift
[211/243] Compiling SwiftOperators OperatorTable.swift
[212/243] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[213/243] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[214/243] Compiling SwiftOperators PrecedenceGraph.swift
[215/243] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[216/244] Compiling SwiftOperators OperatorTable+Semantics.swift
[217/244] Emitting module SwiftOperators
[218/244] Compiling SwiftOperators SyntaxSynthesis.swift
[219/244] Compiling SwiftParserDiagnostics MissingNodesError.swift
[220/244] Compiling SwiftParserDiagnostics MissingTokenError.swift
[221/244] Compiling SwiftOperators OperatorTable+Folding.swift
[222/245] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[223/245] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[224/245] Compiling SwiftParserDiagnostics Utils.swift
[226/244] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[229/244] Emitting module SwiftParserDiagnostics
[230/244] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[231/244] Compiling SwiftParserDiagnostics PresenceUtils.swift
[234/244] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[235/244] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[237/259] Compiling SwiftSyntaxBuilder Indenter.swift
[238/259] Compiling SwiftSyntaxBuilder ListBuilder.swift
[239/259] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[240/259] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[241/260] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[242/260] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[243/260] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[244/260] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[245/260] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[246/260] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[247/260] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[248/260] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[249/260] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[250/260] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[251/260] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[252/260] Emitting module SwiftSyntaxBuilder
[254/277] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[255/277] Compiling SwiftSyntaxMacros Macro+Format.swift
[256/279] Emitting module SwiftSyntaxMacros
[257/279] Compiling SwiftSyntaxMacros MemberMacro.swift
[258/279] Compiling SwiftSyntaxMacros PeerMacro.swift
[259/279] Compiling SwiftSyntaxMacros Macro.swift
[260/279] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[261/279] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[262/279] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[263/279] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[264/279] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[265/279] Compiling SwiftSyntaxMacros AccessorMacro.swift
[266/279] Compiling SwiftSyntaxMacros AttachedMacro.swift
[267/279] Compiling SwiftSyntaxMacros BodyMacro.swift
[268/279] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[269/279] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[270/279] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[271/279] Compiling SwiftSyntaxMacros PreambleMacro.swift
[272/279] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[274/288] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[275/289] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[276/289] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[277/289] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[278/289] Emitting module SwiftSyntaxMacroExpansion
[279/289] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[280/289] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[281/289] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[282/289] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[283/289] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[285/301] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[286/301] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[287/302] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[288/302] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[289/302] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[290/302] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[291/302] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[292/302] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[293/302] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[294/302] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[295/302] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[296/302] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[297/302] Emitting module SwiftCompilerPluginMessageHandling
[299/304] Emitting module SwiftCompilerPlugin
[300/304] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[302/309] Compiling SwiftAPIClientMacros MacroError.swift
[303/309] Emitting module SwiftAPIClientMacros
[304/309] Compiling SwiftAPIClientMacros Collection++.swift
[305/309] Compiling SwiftAPIClientMacros String++.swift
[306/309] Compiling SwiftAPIClientMacros SwiftAPIClientMacros.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:41:40: warning: 'throwsSpecifier' is deprecated: use throwsClause.throwsSpecifier
39 | funcDecl.signature.effectSpecifiers = FunctionEffectSpecifiersSyntax()
40 | }
41 | funcDecl.signature.effectSpecifiers?.throwsSpecifier = "throws"
| `- warning: 'throwsSpecifier' is deprecated: use throwsClause.throwsSpecifier
42 |
43 | let isAsync = attribute.caller == "http" || funcDecl.signature.effectSpecifiers?.asyncSpecifier != nil
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:278:19: warning: 'macro' is deprecated: renamed to 'macroName'
276 |
277 | public static func expansion(of node: some FreestandingMacroExpansionSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
278 | let name = node.macro.text.lowercased()
| |- warning: 'macro' is deprecated: renamed to 'macroName'
| `- note: use 'macroName' instead
279 | var type = node.argumentList.first?.expression.trimmed.description ?? ""
280 | if type.hasSuffix(".self") {
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:279:19: warning: 'argumentList' is deprecated: renamed to 'arguments'
277 | public static func expansion(of node: some FreestandingMacroExpansionSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
278 | let name = node.macro.text.lowercased()
279 | var type = node.argumentList.first?.expression.trimmed.description ?? ""
| |- warning: 'argumentList' is deprecated: renamed to 'arguments'
| `- note: use 'arguments' instead
280 | if type.hasSuffix(".self") {
281 | type.removeLast(5)
[307/309] Write Objects.LinkFileList
[308/309] Linking SwiftAPIClientMacros-tool
[310/451] Compiling SwiftAPIClient RequestModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[311/451] Compiling SwiftAPIClient RequestValidator.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[312/451] Compiling SwiftAPIClient ResponseWrapModifires.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[313/451] Compiling SwiftAPIClient RetryModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[314/451] Compiling SwiftAPIClient ThrottleModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[315/451] Compiling SwiftAPIClient TimeoutModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[316/451] Compiling SwiftAPIClient TokenCacheService.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[317/451] Compiling SwiftAPIClient TokenRefresher.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[318/451] Compiling SwiftAPIClient URLSessionModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[319/451] Compiling SwiftAPIClient WaitForConnectionModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[320/461] Compiling SwiftAPIClient APIClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[321/461] Compiling SwiftAPIClient APIClientCaller.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[322/461] Compiling SwiftAPIClient APIClientConfigs.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[323/461] Compiling SwiftAPIClient APIClientType.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[324/461] Compiling SwiftAPIClient HTTPClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[325/461] Compiling SwiftAPIClient HTTPDownloadClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[326/461] Compiling SwiftAPIClient HTTPPublisher.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[327/461] Compiling SwiftAPIClient HTTPUploadClient.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[328/461] Compiling SwiftAPIClient URLSession+Client.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[329/461] Compiling SwiftAPIClient Async++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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)
[330/461] Emitting module SwiftAPIClient
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/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 | }
[332/471] Compiling SwiftAPIClient ConsoleStyle.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[333/471] Compiling SwiftAPIClient Error+String.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[334/471] Compiling SwiftAPIClient NoneLogger.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[335/471] Compiling SwiftAPIClient Publisher+Create.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[336/471] Compiling SwiftAPIClient Publishers+Task.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[337/471] Compiling SwiftAPIClient Reachability.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[338/471] Compiling SwiftAPIClient Status+Ext.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[339/471] Compiling SwiftAPIClient URLSessionDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[340/471] Compiling SwiftAPIClient UpdateMetrics.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[341/471] Compiling SwiftAPIClient WithSynchronizedAccess.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[342/471] Compiling SwiftAPIClient RequestBuilder.swift
[343/471] Compiling SwiftAPIClient AsyncValue.swift
[344/471] Compiling SwiftAPIClient ContentSerializer.swift
[345/471] Compiling SwiftAPIClient ContentType.swift
[346/471] Compiling SwiftAPIClient Errors.swift
[347/471] Compiling SwiftAPIClient HTTPFields.swift
[348/471] Compiling SwiftAPIClient HTTPRequestComponents.swift
[349/471] Compiling SwiftAPIClient LoggingComponent.swift
[350/471] Compiling SwiftAPIClient Mockable.swift
[351/471] Compiling SwiftAPIClient RedirectBehaviour.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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 | }
[372/471] Compiling SwiftAPIClient Serializer.swift
[373/471] Compiling SwiftAPIClient TimeoutError.swift
[374/471] Compiling SwiftAPIClient AnyAsyncSequence.swift
[375/471] Compiling SwiftAPIClient AnyEncodable.swift
[376/471] Compiling SwiftAPIClient ContentEncoder.swift
[377/471] Compiling SwiftAPIClient DataDecoder.swift
[378/471] Compiling SwiftAPIClient EncodingStrategies.swift
[379/471] Compiling SwiftAPIClient ErrorDecoder.swift
[380/471] Compiling SwiftAPIClient FormURLEncoder.swift
[381/471] Compiling SwiftAPIClient HeadersEncoder.swift
[382/471] Compiling SwiftAPIClient JSONContentEncoders.swift
[383/471] Compiling SwiftAPIClient MultipartFormData.swift
[384/471] Compiling SwiftAPIClient MultipartFormDataEncoder.swift
[385/471] Compiling SwiftAPIClient ParametersEncoder.swift
[386/471] Compiling SwiftAPIClient ParametersValue.swift
[387/471] Compiling SwiftAPIClient QueryEncoder.swift
[388/471] Compiling SwiftAPIClient HTTPHeadersEncoder.swift
[389/471] Compiling SwiftAPIClient PlainCodingKey.swift
[390/471] Compiling SwiftAPIClient Ref.swift
[391/471] Compiling SwiftAPIClient URLQueryEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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 |
[402/471] Compiling SwiftAPIClient String++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[403/471] Compiling SwiftAPIClient URLComponentBuilder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[404/471] Compiling SwiftAPIClient URLResponse++.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[405/471] Compiling SwiftAPIClient Imports.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[406/471] Compiling SwiftAPIClient Macros.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[407/471] Compiling SwiftAPIClient AuthModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[408/471] Compiling SwiftAPIClient BackgroundModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[409/471] Compiling SwiftAPIClient CodeLocation.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[410/471] Compiling SwiftAPIClient CodersModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[411/471] Compiling SwiftAPIClient ErrorDecodeModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[412/471] Compiling SwiftAPIClient ErrorHandler.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[413/471] Compiling SwiftAPIClient HTTPClientMiddleware.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[414/471] Compiling SwiftAPIClient HTTPResponseValidator.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[415/471] Compiling SwiftAPIClient ListenerModifiers.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[416/471] Compiling SwiftAPIClient LoggingModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[417/471] Compiling SwiftAPIClient MetricsModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[418/471] Compiling SwiftAPIClient MockResponses.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[419/471] Compiling SwiftAPIClient RateLimitModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[420/471] Compiling SwiftAPIClient RedirectModifier.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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 |
[421/471] Compiling SwiftAPIClient RequestCompression.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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/SwiftAPIClient/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 |
BUILD FAILURE 6.1 android