The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-api-client, reference 1.73.0 (e504f5), with Swift 6.1 for Android on 2 Oct 2025 13:59:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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

Build Log

228 |
229 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
230 | private let _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | 	let formatter = ISO8601DateFormatter()
232 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |                 `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
    |                    `- note: closure captures 'timeout' which is accessible to code in the current task
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
103 | 		}
[450/514] Compiling SwiftAPIClient DataDecoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:105:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
103 | 		}
104 | 		defer {
105 | 			group.cancelAll()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | 		}
107 | 		guard let result = try await group.next() else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:98:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 96 | 		throw TimeoutError(timeout: 0, fileID: fileID, line: line)
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
    |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:99:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | 		group.addTask {
101 | 			try await sleep(timeout)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:107:38: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
105 | 			group.cancelAll()
106 | 		}
107 | 		guard let result = try await group.next() else {
    |                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | 			throw ImpossibleError()
109 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyAsyncSequence.swift:21:15: warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | 			let box = Box(sequence.makeAsyncIterator())
20 | 			return AsyncIterator {
21 | 				try await box.iterator.next()
   |               `- warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
   :
43 | 	}
44 |
45 | 	private final class Box<I: AsyncIteratorProtocol> where I.Element == Element {
   |                      `- note: generic class 'Box' does not conform to the 'Sendable' protocol
46 | 		var iterator: I
47 | 		init(_ iterator: I) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ArrayEncodingStrategy {
    |             `- note: consider making enum 'ArrayEncodingStrategy' conform to the 'Sendable' protocol
  4 |
  5 | 	case keyed((_ path: [CodingKey]) throws -> (path: [CodingKey], items: (Int) throws -> CodingKey))
    :
 25 |
 26 | 	/// No brackets are appended. The key is encoded as is and repeated for each value.
 27 | 	public static let repeatKey = ArrayEncodingStrategy.keyed { path in
    |                    |- warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'repeatKey' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | 		guard let key = path.last else {
 29 | 			throw EncodingError.invalidValue(
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 60 | 	}
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
    |                    |- warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'numeric' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 | 	public static let literal: Self = .init(\.description)
 64 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
 63 | 	public static let literal: Self = .init(\.description)
    |                    |- warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'literal' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 | }
 65 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 88 | 	}
 89 |
 90 | 	public static let json: NestedEncodingStrategy = .json()
    |                    |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 90 | 	public static let json: NestedEncodingStrategy = .json()
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'brackets' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 | 		var key = path[0].stringValue
 94 | 		let chain = path.dropFirst().map(\.stringValue).joined(separator: "][")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 99 | 	}
100 |
101 | 	public static let dots: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | 		var result = ""
103 | 		let point = String(ParametersValue.point)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
228 |
229 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
230 | private let _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | 	let formatter = ISO8601DateFormatter()
232 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |                 `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
    |                    `- note: closure captures 'timeout' which is accessible to code in the current task
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
103 | 		}
[451/514] Compiling SwiftAPIClient EncodingStrategies.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:105:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
103 | 		}
104 | 		defer {
105 | 			group.cancelAll()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | 		}
107 | 		guard let result = try await group.next() else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:98:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 96 | 		throw TimeoutError(timeout: 0, fileID: fileID, line: line)
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
    |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:99:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | 		group.addTask {
101 | 			try await sleep(timeout)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:107:38: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
105 | 			group.cancelAll()
106 | 		}
107 | 		guard let result = try await group.next() else {
    |                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | 			throw ImpossibleError()
109 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyAsyncSequence.swift:21:15: warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | 			let box = Box(sequence.makeAsyncIterator())
20 | 			return AsyncIterator {
21 | 				try await box.iterator.next()
   |               `- warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
   :
43 | 	}
44 |
45 | 	private final class Box<I: AsyncIteratorProtocol> where I.Element == Element {
   |                      `- note: generic class 'Box' does not conform to the 'Sendable' protocol
46 | 		var iterator: I
47 | 		init(_ iterator: I) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ArrayEncodingStrategy {
    |             `- note: consider making enum 'ArrayEncodingStrategy' conform to the 'Sendable' protocol
  4 |
  5 | 	case keyed((_ path: [CodingKey]) throws -> (path: [CodingKey], items: (Int) throws -> CodingKey))
    :
 25 |
 26 | 	/// No brackets are appended. The key is encoded as is and repeated for each value.
 27 | 	public static let repeatKey = ArrayEncodingStrategy.keyed { path in
    |                    |- warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'repeatKey' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | 		guard let key = path.last else {
 29 | 			throw EncodingError.invalidValue(
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 60 | 	}
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
    |                    |- warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'numeric' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 | 	public static let literal: Self = .init(\.description)
 64 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
 63 | 	public static let literal: Self = .init(\.description)
    |                    |- warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'literal' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 | }
 65 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 88 | 	}
 89 |
 90 | 	public static let json: NestedEncodingStrategy = .json()
    |                    |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 90 | 	public static let json: NestedEncodingStrategy = .json()
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'brackets' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 | 		var key = path[0].stringValue
 94 | 		let chain = path.dropFirst().map(\.stringValue).joined(separator: "][")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 99 | 	}
100 |
101 | 	public static let dots: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | 		var result = ""
103 | 		let point = String(ParametersValue.point)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
228 |
229 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
230 | private let _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | 	let formatter = ISO8601DateFormatter()
232 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |                 `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
    |                    `- note: closure captures 'timeout' which is accessible to code in the current task
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
103 | 		}
[452/514] Compiling SwiftAPIClient ErrorDecoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:105:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
103 | 		}
104 | 		defer {
105 | 			group.cancelAll()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | 		}
107 | 		guard let result = try await group.next() else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:98:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 96 | 		throw TimeoutError(timeout: 0, fileID: fileID, line: line)
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
    |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:99:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | 		group.addTask {
101 | 			try await sleep(timeout)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:107:38: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
105 | 			group.cancelAll()
106 | 		}
107 | 		guard let result = try await group.next() else {
    |                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | 			throw ImpossibleError()
109 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyAsyncSequence.swift:21:15: warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | 			let box = Box(sequence.makeAsyncIterator())
20 | 			return AsyncIterator {
21 | 				try await box.iterator.next()
   |               `- warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
   :
43 | 	}
44 |
45 | 	private final class Box<I: AsyncIteratorProtocol> where I.Element == Element {
   |                      `- note: generic class 'Box' does not conform to the 'Sendable' protocol
46 | 		var iterator: I
47 | 		init(_ iterator: I) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ArrayEncodingStrategy {
    |             `- note: consider making enum 'ArrayEncodingStrategy' conform to the 'Sendable' protocol
  4 |
  5 | 	case keyed((_ path: [CodingKey]) throws -> (path: [CodingKey], items: (Int) throws -> CodingKey))
    :
 25 |
 26 | 	/// No brackets are appended. The key is encoded as is and repeated for each value.
 27 | 	public static let repeatKey = ArrayEncodingStrategy.keyed { path in
    |                    |- warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'repeatKey' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | 		guard let key = path.last else {
 29 | 			throw EncodingError.invalidValue(
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 60 | 	}
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
    |                    |- warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'numeric' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 | 	public static let literal: Self = .init(\.description)
 64 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
 63 | 	public static let literal: Self = .init(\.description)
    |                    |- warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'literal' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 | }
 65 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 88 | 	}
 89 |
 90 | 	public static let json: NestedEncodingStrategy = .json()
    |                    |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 90 | 	public static let json: NestedEncodingStrategy = .json()
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'brackets' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 | 		var key = path[0].stringValue
 94 | 		let chain = path.dropFirst().map(\.stringValue).joined(separator: "][")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 99 | 	}
100 |
101 | 	public static let dots: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | 		var result = ""
103 | 		let point = String(ParametersValue.point)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
228 |
229 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
230 | private let _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | 	let formatter = ISO8601DateFormatter()
232 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |                 `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
    |                    `- note: closure captures 'timeout' which is accessible to code in the current task
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
103 | 		}
[453/514] Compiling SwiftAPIClient FormURLEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:105:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
103 | 		}
104 | 		defer {
105 | 			group.cancelAll()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | 		}
107 | 		guard let result = try await group.next() else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:98:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 96 | 		throw TimeoutError(timeout: 0, fileID: fileID, line: line)
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
    |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:99:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | 		group.addTask {
101 | 			try await sleep(timeout)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:107:38: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
105 | 			group.cancelAll()
106 | 		}
107 | 		guard let result = try await group.next() else {
    |                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | 			throw ImpossibleError()
109 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyAsyncSequence.swift:21:15: warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | 			let box = Box(sequence.makeAsyncIterator())
20 | 			return AsyncIterator {
21 | 				try await box.iterator.next()
   |               `- warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
   :
43 | 	}
44 |
45 | 	private final class Box<I: AsyncIteratorProtocol> where I.Element == Element {
   |                      `- note: generic class 'Box' does not conform to the 'Sendable' protocol
46 | 		var iterator: I
47 | 		init(_ iterator: I) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ArrayEncodingStrategy {
    |             `- note: consider making enum 'ArrayEncodingStrategy' conform to the 'Sendable' protocol
  4 |
  5 | 	case keyed((_ path: [CodingKey]) throws -> (path: [CodingKey], items: (Int) throws -> CodingKey))
    :
 25 |
 26 | 	/// No brackets are appended. The key is encoded as is and repeated for each value.
 27 | 	public static let repeatKey = ArrayEncodingStrategy.keyed { path in
    |                    |- warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'repeatKey' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | 		guard let key = path.last else {
 29 | 			throw EncodingError.invalidValue(
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 60 | 	}
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
    |                    |- warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'numeric' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 | 	public static let literal: Self = .init(\.description)
 64 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
 63 | 	public static let literal: Self = .init(\.description)
    |                    |- warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'literal' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 | }
 65 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 88 | 	}
 89 |
 90 | 	public static let json: NestedEncodingStrategy = .json()
    |                    |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 90 | 	public static let json: NestedEncodingStrategy = .json()
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'brackets' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 | 		var key = path[0].stringValue
 94 | 		let chain = path.dropFirst().map(\.stringValue).joined(separator: "][")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 99 | 	}
100 |
101 | 	public static let dots: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | 		var result = ""
103 | 		let point = String(ParametersValue.point)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
228 |
229 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
230 | private let _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | 	let formatter = ISO8601DateFormatter()
232 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |                 `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
    |                    `- note: closure captures 'timeout' which is accessible to code in the current task
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
103 | 		}
[454/514] Compiling SwiftAPIClient HeadersEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:105:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
103 | 		}
104 | 		defer {
105 | 			group.cancelAll()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | 		}
107 | 		guard let result = try await group.next() else {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:98:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 96 | 		throw TimeoutError(timeout: 0, fileID: fileID, line: line)
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
    |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:99:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 97 | 	}
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | 		group.addTask {
101 | 			try await sleep(timeout)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:107:38: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 | }
 82 |
 83 | func withTimeout<T, D>(
    |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 84 | 	_ timeout: D?,
 85 | 	seconds: @escaping @Sendable (D) -> TimeInterval,
    :
105 | 			group.cancelAll()
106 | 		}
107 | 		guard let result = try await group.next() else {
    |                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | 			throw ImpossibleError()
109 | 		}
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyAsyncSequence.swift:21:15: warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | 			let box = Box(sequence.makeAsyncIterator())
20 | 			return AsyncIterator {
21 | 				try await box.iterator.next()
   |               `- warning: capture of 'box' with non-sendable type 'AnyAsyncSequence<Element>.Box<S.AsyncIterator>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
   :
43 | 	}
44 |
45 | 	private final class Box<I: AsyncIteratorProtocol> where I.Element == Element {
   |                      `- note: generic class 'Box' does not conform to the 'Sendable' protocol
46 | 		var iterator: I
47 | 		init(_ iterator: I) {
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ArrayEncodingStrategy {
    |             `- note: consider making enum 'ArrayEncodingStrategy' conform to the 'Sendable' protocol
  4 |
  5 | 	case keyed((_ path: [CodingKey]) throws -> (path: [CodingKey], items: (Int) throws -> CodingKey))
    :
 25 |
 26 | 	/// No brackets are appended. The key is encoded as is and repeated for each value.
 27 | 	public static let repeatKey = ArrayEncodingStrategy.keyed { path in
    |                    |- warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'repeatKey' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | 		guard let key = path.last else {
 29 | 			throw EncodingError.invalidValue(
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 60 | 	}
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
    |                    |- warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'numeric' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 | 	public static let literal: Self = .init(\.description)
 64 | }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | }
 53 |
 54 | public struct BoolEncodingStrategy {
    |               `- note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
 55 |
 56 | 	public let encode: (Bool) -> String
    :
 61 |
 62 | 	public static let numeric: Self = .init { $0 ? "1" : "0" }
 63 | 	public static let literal: Self = .init(\.description)
    |                    |- warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'literal' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 | }
 65 |
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 88 | 	}
 89 |
 90 | 	public static let json: NestedEncodingStrategy = .json()
    |                    |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 90 | 	public static let json: NestedEncodingStrategy = .json()
 91 |
 92 | 	public static let brackets: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'brackets' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 | 		var key = path[0].stringValue
 94 | 		let chain = path.dropFirst().map(\.stringValue).joined(separator: "][")
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 64 | }
 65 |
 66 | public enum NestedEncodingStrategy {
    |             `- note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
 67 |
 68 | 	case data(encoder: (ParametersEncoderOptions) -> DataEncoder, type: ValueType)
    :
 99 | 	}
100 |
101 | 	public static let dots: NestedEncodingStrategy = .flatten { path in
    |                    |- warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | 		var result = ""
103 | 		let point = String(ParametersValue.point)
/host/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
228 |
229 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
230 | private let _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | 	let formatter = ISO8601DateFormatter()
232 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 98 | 	return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
 99 | 		group.addTask(operation: operation)
100 | 		group.addTask {
    |                 `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | 			try await sleep(timeout)
    |                    `- note: closure captures 'timeout' which is accessible to code in the current task
102 | 			throw TimeoutError(timeout: inSeconds, fileID: fileID, line: line)
103 | 		}
[465/514] 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 |
[466/514] 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 |
[467/514] 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 |
[468/514] 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 |
[469/514] 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 |
[470/514] 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 |
[471/514] 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 |
[472/514] 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 |
[473/514] 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 |
[474/514] 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 |
/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-4606859-0":/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/53] Emitting module SwiftSyntax509
[3/53] Compiling SwiftSyntax600 Empty.swift
[4/53] Emitting module SwiftSyntax600
[5/54] Compiling SwiftSyntax510 Empty.swift
[6/54] Compiling SwiftSyntax509 Empty.swift
[7/55] Emitting module SwiftSyntax510
[11/53] Compiling Logging MetadataProvider.swift
[12/55] Compiling HTTPTypes ISOLatin1String.swift
[13/57] Emitting module Logging
[14/57] Compiling Logging Locks.swift
[15/57] Emitting module Logging
[16/57] Compiling HTTPTypes ISOLatin1String.swift
[17/58] Compiling HTTPTypes HTTPParsedFields.swift
[18/58] Compiling HTTPTypes NIOLock.swift
[20/58] Compiling HTTPTypes HTTPParsedFields.swift
[21/58] Compiling HTTPTypes HTTPResponse.swift
[22/58] Compiling HTTPTypes HTTPRequest.swift
[24/58] Compiling HTTPTypes HTTPResponse.swift
[25/84] Emitting module CoreMetrics
[26/87] Compiling HTTPTypes HTTPFieldName.swift
[27/89] Compiling HTTPTypes HTTPField.swift
[28/90] Compiling HTTPTypes HTTPFields.swift
[29/90] Emitting module HTTPTypes
[30/123] Compiling HTTPTypes HTTPField.swift
[31/123] Emitting module HTTPTypes
[32/123] Compiling HTTPTypes HTTPFieldName.swift
[33/123] Compiling HTTPTypes HTTPFields.swift
[34/124] Compiling Logging MetadataProvider.swift
[35/124] Compiling Logging LogHandler.swift
[36/124] Compiling Logging Logging.swift
[37/125] Compiling Logging LogHandler.swift
[38/125] Compiling Logging Locks.swift
[39/125] Compiling Logging Logging.swift
[41/126] Compiling CoreMetrics Locks.swift
[42/126] Emitting module CoreMetrics
[43/126] Compiling CoreMetrics Metrics.swift
[48/141] Compiling CoreMetrics Locks.swift
[49/141] Compiling CoreMetrics Metrics.swift
[51/142] Compiling SwiftSyntax AbsolutePosition.swift
[52/142] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[53/142] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[54/142] Compiling SwiftSyntax Assert.swift
[55/142] Compiling SwiftSyntax BumpPtrAllocator.swift
[56/142] Compiling SwiftSyntax CommonAncestor.swift
[57/142] Compiling SwiftSyntax Convenience.swift
[58/142] Compiling SwiftSyntax CustomTraits.swift
[59/142] Compiling SwiftSyntax Identifier.swift
[60/150] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[61/150] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[62/150] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[63/150] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[64/150] Emitting module Metrics
[65/150] Compiling Metrics Metrics.swift
[66/151] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[67/151] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[68/151] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[69/151] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[71/153] Emitting module HTTPTypesFoundation
[72/153] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[73/154] Emitting module HTTPTypesFoundation
[74/154] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[76/155] Emitting module Metrics
[78/155] Compiling Metrics Metrics.swift
[80/156] Compiling SwiftSyntax SyntaxNodeFactory.swift
[81/156] Compiling SwiftSyntax SyntaxNodeStructure.swift
[82/156] Compiling SwiftSyntax SyntaxProtocol.swift
[83/156] Compiling SwiftSyntax SyntaxText.swift
[84/156] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[85/156] Compiling SwiftSyntax TokenDiagnostic.swift
[86/156] Compiling SwiftSyntax TokenSequence.swift
[87/156] Compiling SwiftSyntax TokenSyntax.swift
[88/156] Compiling SwiftSyntax Trivia.swift
[89/156] Compiling SwiftSyntax SourcePresence.swift
[90/156] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[91/156] Compiling SwiftSyntax Syntax.swift
[92/156] Compiling SwiftSyntax SyntaxArena.swift
[93/156] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[94/156] Compiling SwiftSyntax SyntaxChildren.swift
[95/156] Compiling SwiftSyntax SyntaxCollection.swift
[96/156] Compiling SwiftSyntax SyntaxHashable.swift
[97/156] Compiling SwiftSyntax SyntaxIdentifier.swift
[98/156] Compiling SwiftSyntax MemoryLayout.swift
[99/156] Compiling SwiftSyntax MissingNodeInitializers.swift
[100/156] Compiling SwiftSyntax RawSyntax.swift
[101/156] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[102/156] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[103/156] Compiling SwiftSyntax RawSyntaxTokenView.swift
[104/156] Compiling SwiftSyntax SourceEdit.swift
[105/156] Compiling SwiftSyntax SourceLength.swift
[106/156] Compiling SwiftSyntax SourceLocation.swift
[107/156] Emitting module SwiftSyntax
[108/156] Compiling SwiftSyntax RawSyntaxNodesD.swift
[109/156] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[110/156] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[111/156] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[112/156] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[113/156] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[114/156] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[115/156] Compiling SwiftSyntax RawSyntaxValidation.swift
[116/156] Compiling SwiftSyntax SyntaxNodesAB.swift
[117/156] Compiling SwiftSyntax SyntaxKind.swift
[118/156] Compiling SwiftSyntax SyntaxRewriter.swift
[119/156] Compiling SwiftSyntax SyntaxTraits.swift
[120/156] Compiling SwiftSyntax SyntaxVisitor.swift
[121/156] Compiling SwiftSyntax TokenKind.swift
[122/156] Compiling SwiftSyntax Tokens.swift
[123/156] Compiling SwiftSyntax TriviaPieces.swift
[124/156] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[125/156] Compiling SwiftSyntax RawSyntaxNodesC.swift
[126/156] Compiling SwiftSyntax Utils.swift
[127/156] Compiling SwiftSyntax ChildNameForKeyPath.swift
[128/156] Compiling SwiftSyntax Keyword.swift
[129/156] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[130/156] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[131/156] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[132/156] Compiling SwiftSyntax SyntaxBaseNodes.swift
[133/156] Compiling SwiftSyntax SyntaxCollections.swift
[134/156] Compiling SwiftSyntax SyntaxEnum.swift
[135/156] Compiling SwiftSyntax SyntaxNodesC.swift
[136/156] Compiling SwiftSyntax SyntaxNodesD.swift
[137/156] Compiling SwiftSyntax SyntaxNodesEF.swift
[138/156] Compiling SwiftSyntax SyntaxNodesGHI.swift
[139/156] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[140/156] Compiling SwiftSyntax SyntaxNodesOP.swift
[141/156] Compiling SwiftSyntax SyntaxNodesQRS.swift
[142/156] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[144/213] Compiling SwiftDiagnostics Message.swift
[145/214] Compiling SwiftDiagnostics FixIt.swift
[146/214] Compiling SwiftParser Attributes.swift
[147/214] Compiling SwiftParser Availability.swift
[148/214] Emitting module SwiftDiagnostics
[149/214] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[150/214] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[151/214] Compiling SwiftParser CharacterInfo.swift
[152/214] Compiling SwiftParser CollectionNodes+Parsable.swift
[153/214] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[154/214] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[155/214] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[156/214] Compiling SwiftDiagnostics Note.swift
[158/215] Compiling SwiftBasicFormat Syntax+Extensions.swift
[159/215] Compiling SwiftBasicFormat InferIndentation.swift
[160/215] Emitting module SwiftBasicFormat
[161/215] Compiling SwiftBasicFormat BasicFormat.swift
[163/214] Compiling SwiftParser LexemeSequence.swift
[164/214] Compiling SwiftParser Lexer.swift
[165/214] Compiling SwiftParser RegexLiteralLexer.swift
[166/214] Compiling SwiftParser UnicodeScalarExtensions.swift
[167/214] Compiling SwiftParser Lookahead.swift
[168/214] Compiling SwiftParser LoopProgressCondition.swift
[169/219] Compiling SwiftParser SwiftParserCompatibility.swift
[170/219] Compiling SwiftParser SwiftVersion.swift
[171/219] Compiling SwiftParser SyntaxUtils.swift
[172/219] Compiling SwiftParser TokenConsumer.swift
[173/219] Compiling SwiftParser TokenPrecedence.swift
[174/219] Compiling SwiftParser TokenSpec.swift
[175/219] Compiling SwiftParser TokenSpecSet.swift
[176/219] Compiling SwiftParser TopLevel.swift
[177/219] Compiling SwiftParser TriviaParser.swift
[178/219] Compiling SwiftParser Types.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
[192/219] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[193/219] Compiling SwiftParser Expressions.swift
[194/219] Compiling SwiftParser IncrementalParseTransition.swift
[195/219] Compiling SwiftParser IsValidIdentifier.swift
[196/219] Compiling SwiftParser Cursor.swift
[197/219] Compiling SwiftParser Lexeme.swift
[202/219] Compiling SwiftParser Declarations.swift
[203/219] Compiling SwiftParser Directives.swift
[204/219] Compiling SwiftParser ExperimentalFeatures.swift
[205/219] Compiling SwiftParser IsLexerClassified.swift
[206/219] Compiling SwiftParser LayoutNodes+Parsable.swift
[207/219] Compiling SwiftParser Parser+TokenSpecSet.swift
[208/219] Compiling SwiftParser TokenSpecStaticMembers.swift
[210/242] Compiling SwiftOperators PrecedenceGroup.swift
[211/243] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[212/244] Compiling SwiftOperators OperatorTable.swift
[213/244] Compiling SwiftOperators PrecedenceGraph.swift
[214/244] Compiling SwiftOperators OperatorTable+Semantics.swift
[215/244] Compiling SwiftParserDiagnostics MissingNodesError.swift
[216/244] Compiling SwiftParserDiagnostics MissingTokenError.swift
[217/244] Compiling SwiftOperators OperatorTable+Folding.swift
[218/244] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[219/244] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[220/244] Emitting module SwiftOperators
[221/244] Compiling SwiftOperators SyntaxSynthesis.swift
[222/245] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[223/245] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[224/245] Compiling SwiftParserDiagnostics Utils.swift
[226/245] Emitting module SwiftParserDiagnostics
[227/245] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[228/244] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[229/244] Compiling SwiftParserDiagnostics PresenceUtils.swift
[234/244] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[235/244] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[237/259] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[238/259] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[239/259] Emitting module SwiftSyntaxBuilder
[240/260] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[241/260] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[242/260] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[243/260] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[244/260] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[245/260] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[246/260] Compiling SwiftSyntaxBuilder Indenter.swift
[247/260] Compiling SwiftSyntaxBuilder ListBuilder.swift
[248/260] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[249/260] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[250/260] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[251/260] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[252/260] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[254/277] Compiling SwiftSyntaxMacros Macro.swift
[255/277] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[256/279] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[257/279] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[258/279] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[259/279] Compiling SwiftSyntaxMacros Macro+Format.swift
[260/279] Compiling SwiftSyntaxMacros AccessorMacro.swift
[261/279] Compiling SwiftSyntaxMacros AttachedMacro.swift
[262/279] Compiling SwiftSyntaxMacros BodyMacro.swift
[263/279] Emitting module SwiftSyntaxMacros
[264/279] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[265/279] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[266/279] Compiling SwiftSyntaxMacros MemberMacro.swift
[267/279] Compiling SwiftSyntaxMacros PeerMacro.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] Emitting module SwiftSyntaxMacroExpansion
[276/289] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[277/289] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[278/289] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[279/289] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[280/289] Compiling SwiftSyntaxMacroExpansion MacroArgument.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/301] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[288/302] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[289/302] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[290/302] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[291/302] Emitting module SwiftCompilerPluginMessageHandling
[292/302] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[293/302] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[294/302] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[295/302] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[296/302] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[297/302] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[299/304] Emitting module SwiftCompilerPlugin
[300/304] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[302/309] Compiling SwiftAPIClientMacros String++.swift
[303/309] Compiling SwiftAPIClientMacros Collection++.swift
[304/309] Compiling SwiftAPIClientMacros MacroError.swift
[305/309] Emitting module SwiftAPIClientMacros
[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 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 |
[321/461] 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 |
[322/461] 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 |
[323/461] 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 |
[324/461] 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 |
[325/461] 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 |
[326/461] 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 |
[327/461] 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 |
[328/461] 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 |
[329/461] 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 |
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 |
[331/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 |
[332/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 |
[333/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 |
[334/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 |
[335/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 |
[336/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 |
[337/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 |
[338/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 |
[339/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 |
[340/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 |
[341/461] Compiling SwiftAPIClient JSONContentEncoders.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/461] Compiling SwiftAPIClient MultipartFormData.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 |
[343/461] Compiling SwiftAPIClient MultipartFormDataEncoder.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 |
[344/461] Compiling SwiftAPIClient ParametersEncoder.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 |
[345/461] Compiling SwiftAPIClient ParametersValue.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 |
[346/461] Compiling SwiftAPIClient QueryEncoder.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 |
[347/461] Compiling SwiftAPIClient HTTPHeadersEncoder.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 |
[348/461] Compiling SwiftAPIClient PlainCodingKey.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 |
[349/461] Compiling SwiftAPIClient Ref.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 |
[350/461] 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 |
[351/461] Compiling SwiftAPIClient Serializer.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 |
[352/461] Compiling SwiftAPIClient TimeoutError.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 |
[353/461] Compiling SwiftAPIClient AnyAsyncSequence.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 |
[354/461] Compiling SwiftAPIClient AnyEncodable.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 |
[355/461] Compiling SwiftAPIClient ContentEncoder.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 |
[356/461] Compiling SwiftAPIClient DataDecoder.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 |
[357/461] Compiling SwiftAPIClient EncodingStrategies.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 |
[358/461] Compiling SwiftAPIClient ErrorDecoder.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 |
[359/461] Compiling SwiftAPIClient FormURLEncoder.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 |
[360/461] Compiling SwiftAPIClient HeadersEncoder.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 |
[361/461] 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 |
[362/461] 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 |
[363/461] 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 |
[364/461] 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 |
[365/461] 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 |
[366/461] 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 |
[367/461] 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 |
[368/461] 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 |
[369/461] 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 |
[370/461] 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 |
[381/471] Emitting module SwiftAPIClient
/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 | }
[402/471] Compiling SwiftAPIClient RequestBuilder.swift
[403/471] Compiling SwiftAPIClient AsyncValue.swift
[404/471] Compiling SwiftAPIClient ContentSerializer.swift
[405/471] Compiling SwiftAPIClient ContentType.swift
[406/471] Compiling SwiftAPIClient Errors.swift
[407/471] Compiling SwiftAPIClient HTTPFields.swift
[408/471] Compiling SwiftAPIClient HTTPRequestComponents.swift
[409/471] Compiling SwiftAPIClient LoggingComponent.swift
[410/471] Compiling SwiftAPIClient Mockable.swift
[411/471] Compiling SwiftAPIClient RedirectBehaviour.swift
[412/471] Compiling SwiftAPIClient ConsoleStyle.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 | }
[413/471] Compiling SwiftAPIClient Error+String.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 | }
[414/471] Compiling SwiftAPIClient NoneLogger.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 | }
[415/471] Compiling SwiftAPIClient Publisher+Create.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 | }
[416/471] Compiling SwiftAPIClient Publishers+Task.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 | }
[417/471] Compiling SwiftAPIClient Reachability.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 | }
[418/471] Compiling SwiftAPIClient Status+Ext.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 | }
[419/471] Compiling SwiftAPIClient URLSessionDelegateWrapper.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 | }
[420/471] 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 | }
[421/471] 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/Modifiers/RetryModifier.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 |
[432/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 |
[433/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 |
[434/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 |
[435/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 |
[436/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 |
[437/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 |
[438/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 |
[439/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 |
[440/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 |
[441/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 |
BUILD FAILURE 6.1 android