Build Information
Successful build of influxdb-client-swift with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
204 | } catch {
205 | responseQueue.async {
206 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
207 | }
208 | }
[36/45] Compiling InfluxDBSwift Scripts.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
9 |
10 | // https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
| `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 | static let utcTimeZone = TimeZone(abbreviation: "UTC")!
13 | static let withoutSeconds: DateFormatter = {
[37/45] Compiling InfluxDBSwift OpenISO8601DateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
9 |
10 | // https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
| `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 | static let utcTimeZone = TimeZone(abbreviation: "UTC")!
13 | static let withoutSeconds: DateFormatter = {
[38/45] Compiling InfluxDBSwift InfluxDBClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:27:23: warning: static property 'version' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public struct InfluxDBClient {
26 | /// Version of client.
27 | public static var version: String = "1.8.0dev"
| |- warning: static property 'version' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// InfluxDB host and port.
29 | public let url: String
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:246:23: warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
244 | extension InfluxDBClient {
245 | /// Default Write Precision is Nanoseconds.
246 | public static let defaultTimestampPrecision = TimestampPrecision.ns
| |- warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultTimestampPrecision' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// An enum represents the precision for the unix timestamps within the body line-protocol.
249 | /// - SeeAlso: https://docs.influxdata.com/influxdb/latest/write-data/#timestamp-precision
250 | public enum TimestampPrecision: String, Codable, CaseIterable {
| `- note: consider making enum 'TimestampPrecision' conform to the 'Sendable' protocol
251 | /// Milliseconds
252 | case ms
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:203:14: warning: associated value 'error' of 'Sendable'-conforming enum 'InfluxDBError' has non-sendable type '(Int, [AnyHashable : Any]?, [String : Any]?, any Error)'; this is an error in the Swift 6 language mode
201 | /// - body: Response body
202 | /// - cause: Cause of error
203 | case error(_ statusCode: Int, _ headers: [AnyHashable: Any]?, _ body: [String: Any]?, _ cause: Error)
| `- warning: associated value 'error' of 'Sendable'-conforming enum 'InfluxDBError' has non-sendable type '(Int, [AnyHashable : Any]?, [String : Any]?, any Error)'; this is an error in the Swift 6 language mode
204 |
205 | /// Generic error.
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:326:25: warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 | responseQueue.async {
325 | if let error = error {
326 | completion(.failure(InfluxDBClient.InfluxDBError.error(
| |- warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
327 | -1,
328 | nil,
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:343:21: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
341 | }
342 |
343 | logger.log(httpResponse, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
344 |
345 | guard Array(200..<300).contains(httpResponse.statusCode) else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:326:25: warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 | responseQueue.async {
325 | if let error = error {
326 | completion(.failure(InfluxDBClient.InfluxDBError.error(
| |- warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
327 | -1,
328 | nil,
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:343:21: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
341 | }
342 |
343 | logger.log(httpResponse, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
344 |
345 | guard Array(200..<300).contains(httpResponse.statusCode) else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:361:17: warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | } catch {
360 | responseQueue.async {
361 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:394:17: warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
392 | } catch {
393 | responseQueue.async {
394 | completion(.failure(InfluxDBClient.InfluxDBError.cause(error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
395 | }
396 | }
[39/45] Compiling InfluxDBSwift LoggingHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:27:23: warning: static property 'version' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public struct InfluxDBClient {
26 | /// Version of client.
27 | public static var version: String = "1.8.0dev"
| |- warning: static property 'version' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// InfluxDB host and port.
29 | public let url: String
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:246:23: warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
244 | extension InfluxDBClient {
245 | /// Default Write Precision is Nanoseconds.
246 | public static let defaultTimestampPrecision = TimestampPrecision.ns
| |- warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultTimestampPrecision' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// An enum represents the precision for the unix timestamps within the body line-protocol.
249 | /// - SeeAlso: https://docs.influxdata.com/influxdb/latest/write-data/#timestamp-precision
250 | public enum TimestampPrecision: String, Codable, CaseIterable {
| `- note: consider making enum 'TimestampPrecision' conform to the 'Sendable' protocol
251 | /// Milliseconds
252 | case ms
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:203:14: warning: associated value 'error' of 'Sendable'-conforming enum 'InfluxDBError' has non-sendable type '(Int, [AnyHashable : Any]?, [String : Any]?, any Error)'; this is an error in the Swift 6 language mode
201 | /// - body: Response body
202 | /// - cause: Cause of error
203 | case error(_ statusCode: Int, _ headers: [AnyHashable: Any]?, _ body: [String: Any]?, _ cause: Error)
| `- warning: associated value 'error' of 'Sendable'-conforming enum 'InfluxDBError' has non-sendable type '(Int, [AnyHashable : Any]?, [String : Any]?, any Error)'; this is an error in the Swift 6 language mode
204 |
205 | /// Generic error.
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:326:25: warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 | responseQueue.async {
325 | if let error = error {
326 | completion(.failure(InfluxDBClient.InfluxDBError.error(
| |- warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
327 | -1,
328 | nil,
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:343:21: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
341 | }
342 |
343 | logger.log(httpResponse, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
344 |
345 | guard Array(200..<300).contains(httpResponse.statusCode) else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:326:25: warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 | responseQueue.async {
325 | if let error = error {
326 | completion(.failure(InfluxDBClient.InfluxDBError.error(
| |- warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
327 | -1,
328 | nil,
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:343:21: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
341 | }
342 |
343 | logger.log(httpResponse, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
344 |
345 | guard Array(200..<300).contains(httpResponse.statusCode) else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:361:17: warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | } catch {
360 | responseQueue.async {
361 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:394:17: warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
392 | } catch {
393 | responseQueue.async {
394 | completion(.failure(InfluxDBClient.InfluxDBError.cause(error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
395 | }
396 | }
[40/45] Compiling InfluxDBSwift CodableHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:12:24: warning: static property 'customDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class CodableHelper {
11 |
12 | private static var customDateFormatter: DateFormatter?
| |- warning: static property 'customDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
14 | private static var customJSONDecoder: JSONDecoder?
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:13:24: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | private static var customDateFormatter: DateFormatter?
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
| |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private static var customJSONDecoder: JSONDecoder?
15 | private static var defaultJSONDecoder: JSONDecoder = {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:14:24: warning: static property 'customJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private static var customDateFormatter: DateFormatter?
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
14 | private static var customJSONDecoder: JSONDecoder?
| |- warning: static property 'customJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customJSONDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customJSONDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static var defaultJSONDecoder: JSONDecoder = {
16 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:15:24: warning: static property 'defaultJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
14 | private static var customJSONDecoder: JSONDecoder?
15 | private static var defaultJSONDecoder: JSONDecoder = {
| |- warning: static property 'defaultJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultJSONDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultJSONDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let decoder = JSONDecoder()
17 | decoder.dateDecodingStrategy = .formatted(CodableHelper.dateFormatter)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:20:24: warning: static property 'customJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | return decoder
19 | }()
20 | private static var customJSONEncoder: JSONEncoder?
| |- warning: static property 'customJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customJSONEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customJSONEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | private static var defaultJSONEncoder: JSONEncoder = {
22 | let encoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:21:24: warning: static property 'defaultJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }()
20 | private static var customJSONEncoder: JSONEncoder?
21 | private static var defaultJSONEncoder: JSONEncoder = {
| |- warning: static property 'defaultJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultJSONEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultJSONEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let encoder = JSONEncoder()
23 | encoder.dateEncodingStrategy = .formatted(CodableHelper.dateFormatter)
[41/45] Compiling InfluxDBSwift Cursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:12:24: warning: static property 'customDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class CodableHelper {
11 |
12 | private static var customDateFormatter: DateFormatter?
| |- warning: static property 'customDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
14 | private static var customJSONDecoder: JSONDecoder?
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:13:24: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | private static var customDateFormatter: DateFormatter?
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
| |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private static var customJSONDecoder: JSONDecoder?
15 | private static var defaultJSONDecoder: JSONDecoder = {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:14:24: warning: static property 'customJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private static var customDateFormatter: DateFormatter?
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
14 | private static var customJSONDecoder: JSONDecoder?
| |- warning: static property 'customJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customJSONDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customJSONDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static var defaultJSONDecoder: JSONDecoder = {
16 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:15:24: warning: static property 'defaultJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | private static var defaultDateFormatter: DateFormatter = OpenISO8601DateFormatter()
14 | private static var customJSONDecoder: JSONDecoder?
15 | private static var defaultJSONDecoder: JSONDecoder = {
| |- warning: static property 'defaultJSONDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultJSONDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultJSONDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let decoder = JSONDecoder()
17 | decoder.dateDecodingStrategy = .formatted(CodableHelper.dateFormatter)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:20:24: warning: static property 'customJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | return decoder
19 | }()
20 | private static var customJSONEncoder: JSONEncoder?
| |- warning: static property 'customJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customJSONEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customJSONEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | private static var defaultJSONEncoder: JSONEncoder = {
22 | let encoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/CodableHelper.swift:21:24: warning: static property 'defaultJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }()
20 | private static var customJSONEncoder: JSONEncoder?
21 | private static var defaultJSONEncoder: JSONEncoder = {
| |- warning: static property 'defaultJSONEncoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultJSONEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultJSONEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let encoder = JSONEncoder()
23 | encoder.dateEncodingStrategy = .formatted(CodableHelper.dateFormatter)
[42/45] Compiling InfluxDBSwift InvokableScriptsAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InvokableScriptsAPI.swift:345:17: warning: capture of 'completion' with non-sendable type '(Result<B?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | } catch {
344 | responseQueue.async {
345 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<B?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:246:23: warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
244 | extension InfluxDBClient {
245 | /// Default Write Precision is Nanoseconds.
246 | public static let defaultTimestampPrecision = TimestampPrecision.ns
| |- warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultTimestampPrecision' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// An enum represents the precision for the unix timestamps within the body line-protocol.
249 | /// - SeeAlso: https://docs.influxdata.com/influxdb/latest/write-data/#timestamp-precision
250 | public enum TimestampPrecision: String, Codable, CaseIterable {
| `- note: consider making enum 'TimestampPrecision' conform to the 'Sendable' protocol
251 | /// Milliseconds
252 | case ms
[43/45] Compiling InfluxDBSwift Point.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InvokableScriptsAPI.swift:345:17: warning: capture of 'completion' with non-sendable type '(Result<B?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | } catch {
344 | responseQueue.async {
345 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<B?, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/InfluxDBClient.swift:246:23: warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
244 | extension InfluxDBClient {
245 | /// Default Write Precision is Nanoseconds.
246 | public static let defaultTimestampPrecision = TimestampPrecision.ns
| |- warning: static property 'defaultTimestampPrecision' is not concurrency-safe because non-'Sendable' type 'InfluxDBClient.TimestampPrecision' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultTimestampPrecision' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// An enum represents the precision for the unix timestamps within the body line-protocol.
249 | /// - SeeAlso: https://docs.influxdata.com/influxdb/latest/write-data/#timestamp-precision
250 | public enum TimestampPrecision: String, Codable, CaseIterable {
| `- note: consider making enum 'TimestampPrecision' conform to the 'Sendable' protocol
251 | /// Milliseconds
252 | case ms
[44/45] Compiling InfluxDBSwift QueryAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/QueryAPI.swift:46:23: warning: static property 'defaultDialect' is not concurrency-safe because non-'Sendable' type 'Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
44 | public struct QueryAPI {
45 | /// The default Query Dialect with annotation = ["datatype", "group", "default"]
46 | public static let defaultDialect = Dialect(annotations:
| |- warning: static property 'defaultDialect' is not concurrency-safe because non-'Sendable' type 'Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDialect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | [
48 | Dialect.Annotations.datatype,
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/Models/Dialect.swift:11:15: note: consider making struct 'Dialect' conform to the 'Sendable' protocol
9 |
10 | /** Dialect are options to change the default CSV output format; https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions */
11 | public struct Dialect: Codable {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
12 |
13 | public enum Annotations: String, Codable, CaseIterable {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/QueryAPI.swift:224:24: warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | let error = InfluxDBClient.InfluxDBError.generic(
223 | "The organization executing the query should be specified.")
224 | return completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | }
226 | return
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/WriteAPI.swift:797:17: warning: capture of 'completion' with non-sendable type '(Result<Void, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
795 | } catch {
796 | responseQueue.async {
797 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
798 | }
799 | }
[45/45] Compiling InfluxDBSwift WriteAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/QueryAPI.swift:46:23: warning: static property 'defaultDialect' is not concurrency-safe because non-'Sendable' type 'Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
44 | public struct QueryAPI {
45 | /// The default Query Dialect with annotation = ["datatype", "group", "default"]
46 | public static let defaultDialect = Dialect(annotations:
| |- warning: static property 'defaultDialect' is not concurrency-safe because non-'Sendable' type 'Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDialect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | [
48 | Dialect.Annotations.datatype,
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Generated/Models/Dialect.swift:11:15: note: consider making struct 'Dialect' conform to the 'Sendable' protocol
9 |
10 | /** Dialect are options to change the default CSV output format; https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions */
11 | public struct Dialect: Codable {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
12 |
13 | public enum Annotations: String, Codable, CaseIterable {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/QueryAPI.swift:224:24: warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | let error = InfluxDBClient.InfluxDBError.generic(
223 | "The organization executing the query should be specified.")
224 | return completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | }
226 | return
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/WriteAPI.swift:797:17: warning: capture of 'completion' with non-sendable type '(Result<Void, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
795 | } catch {
796 | responseQueue.async {
797 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
798 | }
799 | }
[46/134] Compiling InfluxDBSwiftApis DBRPCreate.swift
[47/134] Compiling InfluxDBSwiftApis DBRPGet.swift
[48/134] Compiling InfluxDBSwiftApis DBRPUpdate.swift
[49/134] Compiling InfluxDBSwiftApis DBRPs.swift
[50/134] Compiling InfluxDBSwiftApis HealthCheck.swift
[51/134] Compiling InfluxDBSwiftApis IsOnboarding.swift
[52/134] Compiling InfluxDBSwiftApis Label.swift
[53/134] Compiling InfluxDBSwiftApis LabelCreateRequest.swift
[54/134] Compiling InfluxDBSwiftApis LabelMapping.swift
[55/134] Compiling InfluxDBSwiftApis LabelResponse.swift
[56/143] Compiling InfluxDBSwiftApis PasswordResetBody.swift
[57/143] Compiling InfluxDBSwiftApis PatchBucketRequest.swift
[58/143] Compiling InfluxDBSwiftApis PatchOrganizationRequest.swift
[59/143] Compiling InfluxDBSwiftApis PatchRetentionRule.swift
[60/143] Compiling InfluxDBSwiftApis Permission.swift
[61/143] Compiling InfluxDBSwiftApis PostBucketRequest.swift
[62/143] Compiling InfluxDBSwiftApis PostOrganizationRequest.swift
[63/143] Compiling InfluxDBSwiftApis Ready.swift
[64/143] Compiling InfluxDBSwiftApis Resource.swift
[65/143] Compiling InfluxDBSwiftApis ResourceMember.swift
[66/143] Compiling InfluxDBSwiftApis ScraperTargetRequest.swift
[67/143] Compiling InfluxDBSwiftApis ScraperTargetResponse.swift
[68/143] Compiling InfluxDBSwiftApis ScraperTargetResponseAllOfLinks.swift
[69/143] Compiling InfluxDBSwiftApis ScraperTargetResponses.swift
[70/143] Compiling InfluxDBSwiftApis SecretKeys.swift
[71/143] Compiling InfluxDBSwiftApis SecretKeysResponse.swift
[72/143] Compiling InfluxDBSwiftApis SecretKeysResponseAllOfLinks.swift
[73/143] Compiling InfluxDBSwiftApis Source.swift
[74/143] Compiling InfluxDBSwiftApis SourceLinks.swift
[75/143] Compiling InfluxDBSwiftApis ResourceMembers.swift
[76/143] Compiling InfluxDBSwiftApis ResourceMembersLinks.swift
[77/143] Compiling InfluxDBSwiftApis ResourceOwner.swift
[78/143] Compiling InfluxDBSwiftApis ResourceOwners.swift
[79/143] Compiling InfluxDBSwiftApis RetentionRule.swift
[80/143] Compiling InfluxDBSwiftApis Run.swift
[81/143] Compiling InfluxDBSwiftApis RunLinks.swift
[82/143] Compiling InfluxDBSwiftApis RunManually.swift
[83/143] Compiling InfluxDBSwiftApis Runs.swift
[84/143] Compiling InfluxDBSwiftApis SchemaType.swift
[85/143] Compiling InfluxDBSwiftApis Sources.swift
[86/143] Compiling InfluxDBSwiftApis Task.swift
[87/143] Compiling InfluxDBSwiftApis TaskCreateRequest.swift
[88/143] Compiling InfluxDBSwiftApis TaskLinks.swift
[89/143] Compiling InfluxDBSwiftApis TaskStatusType.swift
[90/143] Compiling InfluxDBSwiftApis TaskUpdateRequest.swift
[91/143] Compiling InfluxDBSwiftApis Tasks.swift
[92/143] Compiling InfluxDBSwiftApis User.swift
[93/143] Compiling InfluxDBSwiftApis UserResponse.swift
[94/143] Compiling InfluxDBSwiftApis LabelUpdate.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[95/143] Compiling InfluxDBSwiftApis LabelsResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[96/143] Compiling InfluxDBSwiftApis Links.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[97/143] Compiling InfluxDBSwiftApis LogEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[98/143] Compiling InfluxDBSwiftApis Logs.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[99/143] Compiling InfluxDBSwiftApis OnboardingRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[100/143] Compiling InfluxDBSwiftApis OnboardingResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[101/143] Compiling InfluxDBSwiftApis Organization.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[102/143] Compiling InfluxDBSwiftApis OrganizationLinks.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[103/143] Compiling InfluxDBSwiftApis Organizations.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Models/OnboardingRequest.swift:29:14: warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
27 | self.bucket = bucket
28 | self.retentionPeriodSeconds = retentionPeriodSeconds
29 | self.retentionPeriodHrs = retentionPeriodHrs
| `- warning: 'retentionPeriodHrs' is deprecated: This property is deprecated.
30 | self.token = token
31 | }
[104/143] Compiling InfluxDBSwiftApis AddResourceMemberRequestBody.swift
[105/143] Compiling InfluxDBSwiftApis Authorization.swift
[106/143] Compiling InfluxDBSwiftApis AuthorizationLinks.swift
[107/143] Compiling InfluxDBSwiftApis AuthorizationPostRequest.swift
[108/143] Compiling InfluxDBSwiftApis AuthorizationUpdateRequest.swift
[109/143] Compiling InfluxDBSwiftApis Authorizations.swift
[110/143] Compiling InfluxDBSwiftApis Bucket.swift
[111/143] Compiling InfluxDBSwiftApis BucketLinks.swift
[112/143] Compiling InfluxDBSwiftApis Buckets.swift
[113/143] Compiling InfluxDBSwiftApis DBRP.swift
[114/143] Emitting module InfluxDBSwiftApis
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[115/143] Compiling InfluxDBSwiftApis UserResponseLinks.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[116/143] Compiling InfluxDBSwiftApis Users.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[117/143] Compiling InfluxDBSwiftApis Variable.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[118/143] Compiling InfluxDBSwiftApis VariableLinks.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[119/143] Compiling InfluxDBSwiftApis VariableProperties.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[120/143] Compiling InfluxDBSwiftApis Variables.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[121/143] Compiling InfluxDBSwiftApis SynchronizedDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[122/143] Compiling InfluxDBSwiftApis URLSessionImplementations.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[123/143] Compiling InfluxDBSwiftApis InfluxDB2API.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:118:34: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
116 | let dataTask = urlSession.dataTask(with: request) { [weak self] data, response, error in
117 |
118 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |
120 | logger.log(response, data)
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:120:17: warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | guard let self = self else { return }
119 |
120 | logger.log(response, data)
| `- warning: capture of 'logger' with non-sendable type 'InfluxDBClient.HTTPLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | if let taskCompletionShouldRetry = self.taskCompletionShouldRetry {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwift/Internal/LoggingHelper.swift:13:18: note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
11 | extension InfluxDBClient {
12 | /// The logger for logging HTTP request/response.
13 | public class HTTPLogger {
| `- note: class 'HTTPLogger' does not conform to the 'Sendable' protocol
14 | fileprivate var logger: Logger {
15 | var logger = Logger(label: "http-logger")
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
12 | import MobileCoreServices
13 | #endif
14 | import InfluxDBSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'InfluxDBSwift'
15 |
16 | final class URLSessionRequestBuilderFactory: RequestBuilderFactory {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:129:29: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
127 |
128 | if shouldRetry {
129 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | self.execute(apiResponseQueue, completion)
131 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:130:60: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
128 | if shouldRetry {
129 | cleanupRequest()
130 | self.execute(apiResponseQueue, completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | } else {
132 | apiResponseQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:133:33: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | } else {
132 | apiResponseQueue.async {
133 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:33: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:134:140: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | apiResponseQueue.async {
133 | cleanupRequest()
134 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:140:25: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | } else {
139 | apiResponseQueue.async {
140 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:25: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | internal class URLSessionRequestBuilder<T>: RequestBuilder<T> {
| `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
27 |
28 | fileprivate var requestDelegate: URLSessionRequestBuilder<T>? = nil
:
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:141:132: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 | apiResponseQueue.async {
140 | cleanupRequest()
141 | self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:154:17: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | } catch {
153 | apiResponseQueue.async {
154 | cleanupRequest()
| |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/URLSessionImplementations.swift:155:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | apiResponseQueue.async {
154 | cleanupRequest()
155 | completion(.failure(InfluxDBClient.InfluxDBError.error(415, nil, nil, error)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, InfluxDBClient.InfluxDBError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
[124/143] Compiling InfluxDBSwiftApis APIs.swift
[125/143] Compiling InfluxDBSwiftApis AuthorizationsAPI.swift
[126/143] Compiling InfluxDBSwiftApis BucketsAPI.swift
[127/143] Compiling InfluxDBSwiftApis DBRPsAPI.swift
[128/143] Compiling InfluxDBSwiftApis HealthAPI.swift
[129/143] Compiling InfluxDBSwiftApis LabelsAPI.swift
[130/143] Compiling InfluxDBSwiftApis OrganizationsAPI.swift
[131/143] Compiling InfluxDBSwiftApis PingAPI.swift
[132/143] Compiling InfluxDBSwiftApis ReadyAPI.swift
[133/143] Compiling InfluxDBSwiftApis ScraperTargetsAPI.swift
[134/143] Compiling InfluxDBSwiftApis SecretsAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[135/143] Compiling InfluxDBSwiftApis SetupAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[136/143] Compiling InfluxDBSwiftApis SourcesAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[137/143] Compiling InfluxDBSwiftApis TasksAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[138/143] Compiling InfluxDBSwiftApis UsersAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[139/143] Compiling InfluxDBSwiftApis VariablesAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[140/143] Compiling InfluxDBSwiftApis Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[141/143] Compiling InfluxDBSwiftApis JSONDataEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[142/143] Compiling InfluxDBSwiftApis JSONEncodingHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
[143/143] Compiling InfluxDBSwiftApis Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBSwiftApis/Generated/Extensions.swift:93:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
91 | }
92 |
93 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
94 |
95 | public var stringValue: String {
Build complete! (31.91s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/yaslab/CSV.swift
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/allegro/swift-junit.git
[1/1464] Fetching csv.swift
[192/2955] Fetching csv.swift, gzipswift
[207/3143] Fetching csv.swift, gzipswift, swift-junit
[583/6496] Fetching csv.swift, gzipswift, swift-junit, swift-log
Fetched https://github.com/yaslab/CSV.swift from cache (1.22s)
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
Fetched https://github.com/1024jp/GzipSwift from cache (1.22s)
Fetched https://github.com/allegro/swift-junit.git from cache (1.22s)
Computing version for https://github.com/allegro/swift-junit.git
Computed https://github.com/allegro/swift-junit.git at 2.1.0 (0.69s)
Fetching https://github.com/alexaubry/HTMLString.git
[1/1631] Fetching htmlstring
Fetched https://github.com/alexaubry/HTMLString.git from cache (1.21s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (2.77s)
Computing version for https://github.com/yaslab/CSV.swift
Computed https://github.com/yaslab/CSV.swift at 2.4.3 (0.64s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.65s)
Creating working copy for https://github.com/alexaubry/HTMLString.git
Working copy of https://github.com/alexaubry/HTMLString.git resolved at 5.0.0
Creating working copy for https://github.com/allegro/swift-junit.git
Working copy of https://github.com/allegro/swift-junit.git resolved at 2.1.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/yaslab/CSV.swift
Working copy of https://github.com/yaslab/CSV.swift resolved at 2.4.3
Build complete.
{
"dependencies" : [
{
"identity" : "gzipswift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/1024jp/GzipSwift"
},
{
"identity" : "csv.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/yaslab/CSV.swift"
},
{
"identity" : "swift-junit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/allegro/swift-junit.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "influxdb-client-swift",
"name" : "influxdb-client-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "InfluxDBSwift",
"targets" : [
"InfluxDBSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InfluxDBSwiftApis",
"targets" : [
"InfluxDBSwiftApis"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InfluxDBSwiftTests",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwiftTests",
"path" : "Tests/InfluxDBSwiftTests",
"product_dependencies" : [
"SwiftTestReporter"
],
"sources" : [
"AAJunitReportInitializerTests.swift",
"DeleteAPITests.swift",
"FluxCSVParserTests.swift",
"InfluxDBClientTests.swift",
"IntegrationTests.swift",
"InvokableScriptsAPITests.swift",
"MockHTTP.swift",
"PointSettingsTests.swift",
"PointTests.swift",
"QueryAPITests.swift",
"WriteAPITests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"InfluxDBSwift"
],
"type" : "test"
},
{
"c99name" : "InfluxDBSwiftApisTests",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwiftApisTests",
"path" : "Tests/InfluxDBSwiftApisTests",
"product_dependencies" : [
"SwiftTestReporter"
],
"sources" : [
"AuthorizationsAPITests.swift",
"BucketsAPITests.swift",
"DBRPsAPITests.swift",
"HealthAPITests.swift",
"InfluxDB2APITests.swift",
"LabelsAPITests.swift",
"OrganizationsAPITests.swift",
"PingAPITests.swift",
"ReadyAPITests.swift",
"ScraperTargetsAPITests.swift",
"SecretsAPITests.swift",
"SetupAPITests.swift",
"SourcesAPITests.swift",
"TasksAPITests.swift",
"UsersAPITests.swift",
"VariablesAPITests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"InfluxDBSwiftApis"
],
"type" : "test"
},
{
"c99name" : "InfluxDBSwiftApis",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwiftApis",
"path" : "Sources/InfluxDBSwiftApis",
"product_memberships" : [
"InfluxDBSwiftApis"
],
"sources" : [
"Generated/APIs.swift",
"Generated/APIs/AuthorizationsAPI.swift",
"Generated/APIs/BucketsAPI.swift",
"Generated/APIs/DBRPsAPI.swift",
"Generated/APIs/HealthAPI.swift",
"Generated/APIs/LabelsAPI.swift",
"Generated/APIs/OrganizationsAPI.swift",
"Generated/APIs/PingAPI.swift",
"Generated/APIs/ReadyAPI.swift",
"Generated/APIs/ScraperTargetsAPI.swift",
"Generated/APIs/SecretsAPI.swift",
"Generated/APIs/SetupAPI.swift",
"Generated/APIs/SourcesAPI.swift",
"Generated/APIs/TasksAPI.swift",
"Generated/APIs/UsersAPI.swift",
"Generated/APIs/VariablesAPI.swift",
"Generated/Extensions.swift",
"Generated/JSONDataEncoding.swift",
"Generated/JSONEncodingHelper.swift",
"Generated/Models.swift",
"Generated/Models/AddResourceMemberRequestBody.swift",
"Generated/Models/Authorization.swift",
"Generated/Models/AuthorizationLinks.swift",
"Generated/Models/AuthorizationPostRequest.swift",
"Generated/Models/AuthorizationUpdateRequest.swift",
"Generated/Models/Authorizations.swift",
"Generated/Models/Bucket.swift",
"Generated/Models/BucketLinks.swift",
"Generated/Models/Buckets.swift",
"Generated/Models/DBRP.swift",
"Generated/Models/DBRPCreate.swift",
"Generated/Models/DBRPGet.swift",
"Generated/Models/DBRPUpdate.swift",
"Generated/Models/DBRPs.swift",
"Generated/Models/HealthCheck.swift",
"Generated/Models/IsOnboarding.swift",
"Generated/Models/Label.swift",
"Generated/Models/LabelCreateRequest.swift",
"Generated/Models/LabelMapping.swift",
"Generated/Models/LabelResponse.swift",
"Generated/Models/LabelUpdate.swift",
"Generated/Models/LabelsResponse.swift",
"Generated/Models/Links.swift",
"Generated/Models/LogEvent.swift",
"Generated/Models/Logs.swift",
"Generated/Models/OnboardingRequest.swift",
"Generated/Models/OnboardingResponse.swift",
"Generated/Models/Organization.swift",
"Generated/Models/OrganizationLinks.swift",
"Generated/Models/Organizations.swift",
"Generated/Models/PasswordResetBody.swift",
"Generated/Models/PatchBucketRequest.swift",
"Generated/Models/PatchOrganizationRequest.swift",
"Generated/Models/PatchRetentionRule.swift",
"Generated/Models/Permission.swift",
"Generated/Models/PostBucketRequest.swift",
"Generated/Models/PostOrganizationRequest.swift",
"Generated/Models/Ready.swift",
"Generated/Models/Resource.swift",
"Generated/Models/ResourceMember.swift",
"Generated/Models/ResourceMembers.swift",
"Generated/Models/ResourceMembersLinks.swift",
"Generated/Models/ResourceOwner.swift",
"Generated/Models/ResourceOwners.swift",
"Generated/Models/RetentionRule.swift",
"Generated/Models/Run.swift",
"Generated/Models/RunLinks.swift",
"Generated/Models/RunManually.swift",
"Generated/Models/Runs.swift",
"Generated/Models/SchemaType.swift",
"Generated/Models/ScraperTargetRequest.swift",
"Generated/Models/ScraperTargetResponse.swift",
"Generated/Models/ScraperTargetResponseAllOfLinks.swift",
"Generated/Models/ScraperTargetResponses.swift",
"Generated/Models/SecretKeys.swift",
"Generated/Models/SecretKeysResponse.swift",
"Generated/Models/SecretKeysResponseAllOfLinks.swift",
"Generated/Models/Source.swift",
"Generated/Models/SourceLinks.swift",
"Generated/Models/Sources.swift",
"Generated/Models/Task.swift",
"Generated/Models/TaskCreateRequest.swift",
"Generated/Models/TaskLinks.swift",
"Generated/Models/TaskStatusType.swift",
"Generated/Models/TaskUpdateRequest.swift",
"Generated/Models/Tasks.swift",
"Generated/Models/User.swift",
"Generated/Models/UserResponse.swift",
"Generated/Models/UserResponseLinks.swift",
"Generated/Models/Users.swift",
"Generated/Models/Variable.swift",
"Generated/Models/VariableLinks.swift",
"Generated/Models/VariableProperties.swift",
"Generated/Models/Variables.swift",
"Generated/SynchronizedDictionary.swift",
"Generated/URLSessionImplementations.swift",
"InfluxDB2API.swift"
],
"target_dependencies" : [
"InfluxDBSwift"
],
"type" : "library"
},
{
"c99name" : "InfluxDBSwift",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwift",
"path" : "Sources/InfluxDBSwift",
"product_dependencies" : [
"Gzip",
"CSV",
"Logging"
],
"product_memberships" : [
"InfluxDBSwift",
"InfluxDBSwiftApis"
],
"sources" : [
"DeleteAPI.swift",
"FluxCSVParser.swift",
"Generated/APIHelper.swift",
"Generated/CodableHelper.swift",
"Generated/Cursor.swift",
"Generated/Models/DeletePredicateRequest.swift",
"Generated/Models/Dialect.swift",
"Generated/Models/Query.swift",
"Generated/Models/Script.swift",
"Generated/Models/ScriptCreateRequest.swift",
"Generated/Models/ScriptInvocationParams.swift",
"Generated/Models/ScriptLanguage.swift",
"Generated/Models/ScriptUpdateRequest.swift",
"Generated/Models/Scripts.swift",
"Generated/OpenISO8601DateFormatter.swift",
"InfluxDBClient.swift",
"Internal/LoggingHelper.swift",
"InvokableScriptsAPI.swift",
"Point.swift",
"QueryAPI.swift",
"WriteAPI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.