Build Information
Successful build of swift-api-client, reference main (b098f1
), with Swift 6.1 for macOS (Xcode) using Xcode 16.3 on 30 Apr 2025 22:10:58 UTC.
Swift 6 data race errors: 37
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-api-client -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Build Log
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var apiClient: URLSession = {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
static var apiClient: URLSession = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
static var apiClient: URLSession = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var apiClient: URLSession = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:124:21: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'ContentType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
public static let utf8: Charset = "utf-8"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:111:9: note: consider making struct 'Charset' conform to the 'Sendable' protocol
struct Charset: RawRepresentable, ExpressibleByStringLiteral, Hashable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:124:21: note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
public static let utf8: Charset = "utf-8"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:124:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let utf8: Charset = "utf-8"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:141:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let json: Application = "json"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:141:21: note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
public static let json: Application = "json"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:141:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let json: Application = "json"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:143:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let schemaJson: Application = "schema+json"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:143:21: note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
public static let schemaJson: Application = "schema+json"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:143:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let schemaJson: Application = "schema+json"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:145:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let schemaInstanceJson: Application = "schema-instance+json"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:145:21: note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
public static let schemaInstanceJson: Application = "schema-instance+json"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:145:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let schemaInstanceJson: Application = "schema-instance+json"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:147:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let xml: Application = "xml"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:147:21: note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
public static let xml: Application = "xml"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:147:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let xml: Application = "xml"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:149:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let octetStream: Application = "octet-stream"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:149:21: note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
public static let octetStream: Application = "octet-stream"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:149:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let octetStream: Application = "octet-stream"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:151:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let urlEncoded: Application = "x-www-form-urlencoded"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:151:21: note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
public static let urlEncoded: Application = "x-www-form-urlencoded"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:151:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let urlEncoded: Application = "x-www-form-urlencoded"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:174:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ContentType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
public static let plain: Text = "plain"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:161:9: note: consider making struct 'Text' conform to the 'Sendable' protocol
struct Text: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:174:21: note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
public static let plain: Text = "plain"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:174:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let plain: Text = "plain"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:176:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'ContentType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
public static let html: Text = "html"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:161:9: note: consider making struct 'Text' conform to the 'Sendable' protocol
struct Text: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:176:21: note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
public static let html: Text = "html"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:176:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let html: Text = "html"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:199:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'ContentType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
public static let formData: Multipart = "form-data"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:186:9: note: consider making struct 'Multipart' conform to the 'Sendable' protocol
struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:199:21: note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
public static let formData: Multipart = "form-data"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:199:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let formData: Multipart = "form-data"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:201:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'ContentType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
public static let byteranges: Multipart = "byteranges"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:186:9: note: consider making struct 'Multipart' conform to the 'Sendable' protocol
struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:201:21: note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
public static let byteranges: Multipart = "byteranges"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:201:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let byteranges: Multipart = "byteranges"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:215:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
static let any = ContentType("*", "*")
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:6:15: note: consider making struct 'ContentType' conform to the 'Sendable' protocol
public struct ContentType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:215:13: note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
static let any = ContentType("*", "*")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:215:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let any = ContentType("*", "*")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:9:20: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let method = LoggingComponents(rawValue: 1 << 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:9:20: note: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
public static let method = LoggingComponents(rawValue: 1 << 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:9:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let method = LoggingComponents(rawValue: 1 << 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:10:20: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let path = LoggingComponents(rawValue: 1 << 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:10:20: note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
public static let path = LoggingComponents(rawValue: 1 << 1)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:10:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let path = LoggingComponents(rawValue: 1 << 1)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:11:20: warning: static property 'headers' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let headers = LoggingComponents(rawValue: 1 << 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:11:20: note: add '@MainActor' to make static property 'headers' part of global actor 'MainActor'
public static let headers = LoggingComponents(rawValue: 1 << 2)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:11:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let headers = LoggingComponents(rawValue: 1 << 2)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:12:20: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let body = LoggingComponents(rawValue: 1 << 3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:12:20: note: add '@MainActor' to make static property 'body' part of global actor 'MainActor'
public static let body = LoggingComponents(rawValue: 1 << 3)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:12:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let body = LoggingComponents(rawValue: 1 << 3)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:13:20: warning: static property 'bodySize' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let bodySize = LoggingComponents(rawValue: 1 << 4)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:13:20: note: add '@MainActor' to make static property 'bodySize' part of global actor 'MainActor'
public static let bodySize = LoggingComponents(rawValue: 1 << 4)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:13:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let bodySize = LoggingComponents(rawValue: 1 << 4)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:14:20: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let duration = LoggingComponents(rawValue: 1 << 5)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:14:20: note: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
public static let duration = LoggingComponents(rawValue: 1 << 5)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:14:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let duration = LoggingComponents(rawValue: 1 << 5)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:15:20: warning: static property 'statusCode' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let statusCode = LoggingComponents(rawValue: 1 << 6)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:15:20: note: add '@MainActor' to make static property 'statusCode' part of global actor 'MainActor'
public static let statusCode = LoggingComponents(rawValue: 1 << 6)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:15:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let statusCode = LoggingComponents(rawValue: 1 << 6)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:16:20: warning: static property 'baseURL' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let baseURL = LoggingComponents(rawValue: 1 << 7)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:16:20: note: add '@MainActor' to make static property 'baseURL' part of global actor 'MainActor'
public static let baseURL = LoggingComponents(rawValue: 1 << 7)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:16:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let baseURL = LoggingComponents(rawValue: 1 << 7)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:17:20: warning: static property 'query' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let query = LoggingComponents(rawValue: 1 << 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:17:20: note: add '@MainActor' to make static property 'query' part of global actor 'MainActor'
public static let query = LoggingComponents(rawValue: 1 << 8)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:17:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let query = LoggingComponents(rawValue: 1 << 8)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:18:20: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let uuid = LoggingComponents(rawValue: 1 << 9)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:18:20: note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
public static let uuid = LoggingComponents(rawValue: 1 << 9)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:18:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let uuid = LoggingComponents(rawValue: 1 << 9)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:19:20: warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let location = LoggingComponents(rawValue: 1 << 10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:19:20: note: add '@MainActor' to make static property 'location' part of global actor 'MainActor'
public static let location = LoggingComponents(rawValue: 1 << 10)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:19:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let location = LoggingComponents(rawValue: 1 << 10)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:20:21: warning: static property 'onRequest' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let onRequest = LoggingComponents(rawValue: 1 << 11)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:20:21: note: add '@MainActor' to make static property 'onRequest' part of global actor 'MainActor'
public static let onRequest = LoggingComponents(rawValue: 1 << 11)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:20:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let onRequest = LoggingComponents(rawValue: 1 << 11)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:21:21: warning: static property 'cURL' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let cURL = LoggingComponents(rawValue: 1 << 12)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:21:21: note: add '@MainActor' to make static property 'cURL' part of global actor 'MainActor'
public static let cURL = LoggingComponents(rawValue: 1 << 12)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:21:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let cURL = LoggingComponents(rawValue: 1 << 12)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let repeatKey = ArrayEncodingStrategy.keyed { path in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:3:13: note: consider making enum 'ArrayEncodingStrategy' conform to the 'Sendable' protocol
public enum ArrayEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: note: add '@MainActor' to make static property 'repeatKey' part of global actor 'MainActor'
public static let repeatKey = ArrayEncodingStrategy.keyed { path in
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let repeatKey = ArrayEncodingStrategy.keyed { path in
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let numeric: Self = .init { $0 ? "1" : "0" }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:54:15: note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
public struct BoolEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: note: add '@MainActor' to make static property 'numeric' part of global actor 'MainActor'
public static let numeric: Self = .init { $0 ? "1" : "0" }
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let numeric: Self = .init { $0 ? "1" : "0" }
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let literal: Self = .init(\.description)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:54:15: note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
public struct BoolEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: note: add '@MainActor' to make static property 'literal' part of global actor 'MainActor'
public static let literal: Self = .init(\.description)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let literal: Self = .init(\.description)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let json: NestedEncodingStrategy = .json()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:66:13: note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
public enum NestedEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
public static let json: NestedEncodingStrategy = .json()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let json: NestedEncodingStrategy = .json()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let brackets: NestedEncodingStrategy = .flatten { path in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:66:13: note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
public enum NestedEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: note: add '@MainActor' to make static property 'brackets' part of global actor 'MainActor'
public static let brackets: NestedEncodingStrategy = .flatten { path in
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let brackets: NestedEncodingStrategy = .flatten { path in
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let dots: NestedEncodingStrategy = .flatten { path in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:66:13: note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
public enum NestedEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
public static let dots: NestedEncodingStrategy = .flatten { path in
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let dots: NestedEncodingStrategy = .flatten { path in
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
private let _iso8601Formatter: ISO8601DateFormatter = {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
@interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
private let _iso8601Formatter: ISO8601DateFormatter = {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private let _iso8601Formatter: ISO8601DateFormatter = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:17:42: warning: 'ArrayEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.ArrayEncodingStrategy'
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:17:42: note: use 'SwiftAPIClient.ArrayEncodingStrategy' instead
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.ArrayEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:18:43: warning: 'NestedEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.NestedEncodingStrategy'
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:18:43: note: use 'SwiftAPIClient.NestedEncodingStrategy' instead
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^~~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.NestedEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:19:41: warning: 'BoolEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.BoolEncodingStrategy'
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:19:41: note: use 'SwiftAPIClient.BoolEncodingStrategy' instead
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.BoolEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:47:42: warning: 'ArrayEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.ArrayEncodingStrategy'
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:47:42: note: use 'SwiftAPIClient.ArrayEncodingStrategy' instead
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.ArrayEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:48:43: warning: 'NestedEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.NestedEncodingStrategy'
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:48:43: note: use 'SwiftAPIClient.NestedEncodingStrategy' instead
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^~~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.NestedEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:49:41: warning: 'BoolEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.BoolEncodingStrategy'
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:49:41: note: use 'SwiftAPIClient.BoolEncodingStrategy' instead
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.BoolEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/URLSessionDelegateWrapper.swift:25:14: warning: stored property '_configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
private var _configs: APIClient.Configs?
^
LLVM Profile Error: Failed to write file "default.profraw": Operation not permitted
SwiftCompile normal arm64 Compiling\ ContentSerializer.swift,\ ContentType.swift,\ Errors.swift,\ HTTPFields.swift,\ HTTPRequestComponents.swift,\ LoggingComponent.swift,\ Mockable.swift,\ RedirectBehaviour.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentSerializer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/HTTPFields.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/HTTPRequestComponents.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/Mockable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/RedirectBehaviour.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentSerializer.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:124:21: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'ContentType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
public static let utf8: Charset = "utf-8"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:111:9: note: consider making struct 'Charset' conform to the 'Sendable' protocol
struct Charset: RawRepresentable, ExpressibleByStringLiteral, Hashable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:124:21: note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
public static let utf8: Charset = "utf-8"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:124:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let utf8: Charset = "utf-8"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:141:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let json: Application = "json"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:141:21: note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
public static let json: Application = "json"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:141:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let json: Application = "json"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:143:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let schemaJson: Application = "schema+json"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:143:21: note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
public static let schemaJson: Application = "schema+json"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:143:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let schemaJson: Application = "schema+json"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:145:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let schemaInstanceJson: Application = "schema-instance+json"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:145:21: note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
public static let schemaInstanceJson: Application = "schema-instance+json"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:145:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let schemaInstanceJson: Application = "schema-instance+json"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:147:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let xml: Application = "xml"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:147:21: note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
public static let xml: Application = "xml"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:147:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let xml: Application = "xml"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:149:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let octetStream: Application = "octet-stream"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:149:21: note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
public static let octetStream: Application = "octet-stream"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:149:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let octetStream: Application = "octet-stream"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:151:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'ContentType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
public static let urlEncoded: Application = "x-www-form-urlencoded"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:128:9: note: consider making struct 'Application' conform to the 'Sendable' protocol
struct Application: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:151:21: note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
public static let urlEncoded: Application = "x-www-form-urlencoded"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:151:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let urlEncoded: Application = "x-www-form-urlencoded"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:174:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ContentType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
public static let plain: Text = "plain"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:161:9: note: consider making struct 'Text' conform to the 'Sendable' protocol
struct Text: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:174:21: note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
public static let plain: Text = "plain"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:174:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let plain: Text = "plain"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:176:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'ContentType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
public static let html: Text = "html"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:161:9: note: consider making struct 'Text' conform to the 'Sendable' protocol
struct Text: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:176:21: note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
public static let html: Text = "html"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:176:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let html: Text = "html"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:199:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'ContentType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
public static let formData: Multipart = "form-data"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:186:9: note: consider making struct 'Multipart' conform to the 'Sendable' protocol
struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:199:21: note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
public static let formData: Multipart = "form-data"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:199:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let formData: Multipart = "form-data"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:201:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'ContentType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
public static let byteranges: Multipart = "byteranges"
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:186:9: note: consider making struct 'Multipart' conform to the 'Sendable' protocol
struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:201:21: note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
public static let byteranges: Multipart = "byteranges"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:201:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let byteranges: Multipart = "byteranges"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:215:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
static let any = ContentType("*", "*")
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:6:15: note: consider making struct 'ContentType' conform to the 'Sendable' protocol
public struct ContentType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:215:13: note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
static let any = ContentType("*", "*")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/ContentType.swift:215:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let any = ContentType("*", "*")
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/Errors.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/HTTPFields.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/HTTPRequestComponents.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:9:20: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let method = LoggingComponents(rawValue: 1 << 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:9:20: note: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
public static let method = LoggingComponents(rawValue: 1 << 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:9:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let method = LoggingComponents(rawValue: 1 << 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:10:20: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let path = LoggingComponents(rawValue: 1 << 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:10:20: note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
public static let path = LoggingComponents(rawValue: 1 << 1)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:10:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let path = LoggingComponents(rawValue: 1 << 1)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:11:20: warning: static property 'headers' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let headers = LoggingComponents(rawValue: 1 << 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:11:20: note: add '@MainActor' to make static property 'headers' part of global actor 'MainActor'
public static let headers = LoggingComponents(rawValue: 1 << 2)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:11:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let headers = LoggingComponents(rawValue: 1 << 2)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:12:20: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let body = LoggingComponents(rawValue: 1 << 3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:12:20: note: add '@MainActor' to make static property 'body' part of global actor 'MainActor'
public static let body = LoggingComponents(rawValue: 1 << 3)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:12:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let body = LoggingComponents(rawValue: 1 << 3)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:13:20: warning: static property 'bodySize' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let bodySize = LoggingComponents(rawValue: 1 << 4)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:13:20: note: add '@MainActor' to make static property 'bodySize' part of global actor 'MainActor'
public static let bodySize = LoggingComponents(rawValue: 1 << 4)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:13:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let bodySize = LoggingComponents(rawValue: 1 << 4)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:14:20: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let duration = LoggingComponents(rawValue: 1 << 5)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:14:20: note: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
public static let duration = LoggingComponents(rawValue: 1 << 5)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:14:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let duration = LoggingComponents(rawValue: 1 << 5)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:15:20: warning: static property 'statusCode' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let statusCode = LoggingComponents(rawValue: 1 << 6)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:15:20: note: add '@MainActor' to make static property 'statusCode' part of global actor 'MainActor'
public static let statusCode = LoggingComponents(rawValue: 1 << 6)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:15:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let statusCode = LoggingComponents(rawValue: 1 << 6)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:16:20: warning: static property 'baseURL' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let baseURL = LoggingComponents(rawValue: 1 << 7)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:16:20: note: add '@MainActor' to make static property 'baseURL' part of global actor 'MainActor'
public static let baseURL = LoggingComponents(rawValue: 1 << 7)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:16:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let baseURL = LoggingComponents(rawValue: 1 << 7)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:17:20: warning: static property 'query' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let query = LoggingComponents(rawValue: 1 << 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:17:20: note: add '@MainActor' to make static property 'query' part of global actor 'MainActor'
public static let query = LoggingComponents(rawValue: 1 << 8)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:17:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let query = LoggingComponents(rawValue: 1 << 8)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:18:20: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let uuid = LoggingComponents(rawValue: 1 << 9)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:18:20: note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
public static let uuid = LoggingComponents(rawValue: 1 << 9)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:18:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let uuid = LoggingComponents(rawValue: 1 << 9)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:19:20: warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let location = LoggingComponents(rawValue: 1 << 10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:19:20: note: add '@MainActor' to make static property 'location' part of global actor 'MainActor'
public static let location = LoggingComponents(rawValue: 1 << 10)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:19:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let location = LoggingComponents(rawValue: 1 << 10)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:20:21: warning: static property 'onRequest' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let onRequest = LoggingComponents(rawValue: 1 << 11)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:20:21: note: add '@MainActor' to make static property 'onRequest' part of global actor 'MainActor'
public static let onRequest = LoggingComponents(rawValue: 1 << 11)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:20:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let onRequest = LoggingComponents(rawValue: 1 << 11)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:21:21: warning: static property 'cURL' is not concurrency-safe because non-'Sendable' type 'LoggingComponents' may have shared mutable state; this is an error in the Swift 6 language mode
public static let cURL = LoggingComponents(rawValue: 1 << 12)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:7:15: note: consider making struct 'LoggingComponents' conform to the 'Sendable' protocol
public struct LoggingComponents: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:21:21: note: add '@MainActor' to make static property 'cURL' part of global actor 'MainActor'
public static let cURL = LoggingComponents(rawValue: 1 << 12)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/LoggingComponent.swift:21:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let cURL = LoggingComponents(rawValue: 1 << 12)
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/Mockable.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/RedirectBehaviour.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ HTTPHeadersEncoder.swift,\ PlainCodingKey.swift,\ Ref.swift,\ URLQueryEncoder.swift,\ ConsoleStyle.swift,\ Error+String.swift,\ NoneLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/HTTPHeadersEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/PlainCodingKey.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/Ref.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/URLQueryEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/ConsoleStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Error+String.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/NoneLogger.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/HTTPHeadersEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/PlainCodingKey.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/Ref.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/URLQuery/URLQueryEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/ConsoleStyle.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Error+String.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/NoneLogger.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Publisher+Create.swift,\ Publishers+Task.swift,\ Reachability.swift,\ Status+Ext.swift,\ URLSessionDelegateWrapper.swift,\ UpdateMetrics.swift,\ WithSynchronizedAccess.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publishers+Task.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Status+Ext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/URLSessionDelegateWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/UpdateMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:42:19: warning: actor-isolated property 'create' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let failure = create.events(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:30:8: note: property declared here
let create: Publishers.Create<Output, Failure>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:46:23: warning: non-sendable type 'S?' of property 'subscriber' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
_ = await self.subscriber?.receive(output)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:27:42: note: consider making generic parameter 'S' conform to the 'Sendable' protocol
private final actor CreateSubscription<S: Subscriber>: Subscription where Failure == S.Failure, Output == S.Input {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:52:19: warning: non-sendable type 'S?' of property 'subscriber' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
await self.subscriber?.receive(completion: completion)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:27:42: note: consider making generic parameter 'S' conform to the 'Sendable' protocol
private final actor CreateSubscription<S: Subscriber>: Subscription where Failure == S.Failure, Output == S.Input {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:65:13: warning: non-sendable type 'S?' of property 'subscriber' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
await subscriber?.receive(completion: .failure(failure))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:27:42: note: consider making generic parameter 'S' conform to the 'Sendable' protocol
private final actor CreateSubscription<S: Subscriber>: Subscription where Failure == S.Failure, Output == S.Input {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:22:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
let subscription = CreateSubscription(create: self, subscriber: subscriber)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:22:23: note: sending task-isolated 'self' to actor-isolated initializer 'init(create:subscriber:)' risks causing data races between actor-isolated and task-isolated uses
let subscription = CreateSubscription(create: self, subscriber: subscriber)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:22:23: warning: sending 'subscriber' risks causing data races; this is an error in the Swift 6 language mode
let subscription = CreateSubscription(create: self, subscriber: subscriber)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:22:23: note: sending task-isolated 'subscriber' to actor-isolated initializer 'init(create:subscriber:)' risks causing data races between actor-isolated and task-isolated uses
let subscription = CreateSubscription(create: self, subscriber: subscriber)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:45:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:46:43: note: closure captures 'output' which is accessible to code in the current task
_ = await self.subscriber?.receive(output)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:58:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:59:28: note: closure captures 'onCancel' which is accessible to code in the current task
await self.onCancel(onCancel)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:59:19: warning: sending 'onCancel' risks causing data races; this is an error in the Swift 6 language mode
await self.onCancel(onCancel)
~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publisher+Create.swift:59:19: note: sending task-isolated 'onCancel' to actor-isolated instance method 'onCancel' risks causing data races between actor-isolated and task-isolated uses
await self.onCancel(onCancel)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publishers+Task.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publishers+Task.swift:17:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
let concurrencyTask = Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Publishers+Task.swift:18:12: note: closure captures 'self' which is accessible to code in the current task
await task {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:238:38: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
notificationQueue?.async(execute: notify) ?? notify()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:261:14: warning: capture of 'self' with non-sendable type 'Reachability' in a '@Sendable' closure; this is an error in the Swift 6 language mode
try await self.waitWithoutTimeLimit(for: condition)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:6:20: note: class 'Reachability' does not conform to the 'Sendable' protocol
public final class Reachability {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:261:45: warning: capture of 'condition' with non-sendable type '(Reachability.Connection) -> Bool' in a '@Sendable' closure; this is an error in the Swift 6 language mode
try await self.waitWithoutTimeLimit(for: condition)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:261:45: note: a function type must be marked '@Sendable' to conform to 'Sendable'
try await self.waitWithoutTimeLimit(for: condition)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:378:37: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
notificationQueue?.async(execute: notify) ?? notify()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:401:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:408:7: note: closure captures 'subscription' which is accessible to code in the current task
subscription()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:402:20: warning: sending value of non-Sendable type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
await wrapper.setOnFulfilled {
~~~~~~~~^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:402:20: note: sending task-isolated value of non-Sendable type '((any Error)?) -> Void' to actor-isolated instance method 'setOnFulfilled' risks causing races in between task-isolated and actor-isolated uses
await wrapper.setOnFulfilled {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Status+Ext.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/URLSessionDelegateWrapper.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/URLSessionDelegateWrapper.swift:25:14: warning: stored property '_configs' of 'Sendable'-conforming class 'SessionDelegateProxy' is mutable; this is an error in the Swift 6 language mode
private var _configs: APIClient.Configs?
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/UpdateMetrics.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:20:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
if let task = cached as? Task<T, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:21:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
return try await task.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:22:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
} else if let task = cached as? Task<T, Never> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:23:22: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
return await task.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:28:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
let task = Task(operation: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:28:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
let task = Task(operation: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
await Barriers.shared.setTask(for: taskIdentifier, task: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:31:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
let result = try await task.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:15:44: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withThrowingSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:19:40: warning: non-sendable type '[AnyHashable : any AnyTask]' of property 'tasks' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
if let cached = await Barriers.shared.tasks[taskIdentifier] {
^
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
@frozen public struct Dictionary<Key, Value> where Key : Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:59:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
if let task = cached as? Task<T, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:61:36: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
if let result = try? await task.value {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:64:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
} else if let task = cached as? Task<T, Never> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:65:22: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
return await task.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
let task = Task(operation: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:70:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
let task = Task(operation: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
await Barriers.shared.setTask(for: taskIdentifier, task: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:72:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
let result = await task.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:54:36: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
public func withSynchronizedAccess<T, ID: Hashable>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:58:40: warning: non-sendable type '[AnyHashable : any AnyTask]' of property 'tasks' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
if let cached = await Barriers.shared.tasks[taskIdentifier] {
^
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
@frozen public struct Dictionary<Key, Value> where Key : Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:96:43: warning: non-sendable type '[AnyHashable : any AnyTask]' of property 'tasks' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
guard let cached = await Barriers.shared.tasks[taskIdentifier] else {
^
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
@frozen public struct Dictionary<Key, Value> where Key : Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:123:43: warning: non-sendable type '[AnyHashable : any AnyTask]' of property 'tasks' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
guard let cached = await Barriers.shared.tasks[taskIdentifier] else {
^
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
@frozen public struct Dictionary<Key, Value> where Key : Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
await Barriers.shared.setTask(for: taskIdentifier, task: task)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
await Barriers.shared.setTask(for: taskIdentifier, task: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:31:31: note: access can happen concurrently
let result = try await task.value
~~~~~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
await Barriers.shared.setTask(for: taskIdentifier, task: task)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:29:24: note: sending actor-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'setTask(for:task:)' risks causing races in between actor-isolated and actor-isolated uses
await Barriers.shared.setTask(for: taskIdentifier, task: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:32:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
await Barriers.shared.removeTask(for: taskIdentifier)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:32:25: note: sending actor-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeTask(for:)' risks causing races in between actor-isolated and actor-isolated uses
await Barriers.shared.removeTask(for: taskIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:35:25: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
await Barriers.shared.removeTask(for: taskIdentifier)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:35:25: note: sending actor-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeTask(for:)' risks causing races in between actor-isolated and actor-isolated uses
await Barriers.shared.removeTask(for: taskIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
await Barriers.shared.setTask(for: taskIdentifier, task: task)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: note: sending 'task' to actor-isolated instance method 'setTask(for:task:)' risks causing data races between actor-isolated and local nonisolated uses
await Barriers.shared.setTask(for: taskIdentifier, task: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:72:26: note: access can happen concurrently
let result = await task.value
~~~~~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
await Barriers.shared.setTask(for: taskIdentifier, task: task)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:71:24: note: sending actor-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'setTask(for:task:)' risks causing races in between actor-isolated and actor-isolated uses
await Barriers.shared.setTask(for: taskIdentifier, task: task)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:73:24: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
await Barriers.shared.removeTask(for: taskIdentifier)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/WithSynchronizedAccess.swift:73:24: note: sending actor-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeTask(for:)' risks causing races in between actor-isolated and actor-isolated uses
await Barriers.shared.removeTask(for: taskIdentifier)
^
SwiftCompile normal arm64 Compiling\ Serializer.swift,\ TimeoutError.swift,\ AnyAsyncSequence.swift,\ AnyEncodable.swift,\ ContentEncoder.swift,\ DataDecoder.swift,\ EncodingStrategies.swift,\ ErrorDecoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/Serializer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyAsyncSequence.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyEncodable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ContentEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/DataDecoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ErrorDecoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/Serializer.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:105:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
group.cancelAll()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:83:18: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
func withTimeout<T, D>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:98:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
return try await withThrowingTaskGroup(of: T.self, returning: T.self) { group in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:83:18: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
func withTimeout<T, D>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:99:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
group.addTask(operation: operation)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:83:18: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
func withTimeout<T, D>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
group.addTask {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:83:18: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
func withTimeout<T, D>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:107:38: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
guard let result = try await group.next() else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:83:18: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
func withTimeout<T, D>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:100:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
group.addTask {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/TimeoutError.swift:101:20: note: closure captures 'timeout' which is accessible to code in the current task
try await sleep(timeout)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyAsyncSequence.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/AnyEncodable.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ContentEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/DataDecoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: warning: static property 'repeatKey' is not concurrency-safe because non-'Sendable' type 'ArrayEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let repeatKey = ArrayEncodingStrategy.keyed { path in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:3:13: note: consider making enum 'ArrayEncodingStrategy' conform to the 'Sendable' protocol
public enum ArrayEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: note: add '@MainActor' to make static property 'repeatKey' part of global actor 'MainActor'
public static let repeatKey = ArrayEncodingStrategy.keyed { path in
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:27:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let repeatKey = ArrayEncodingStrategy.keyed { path in
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: warning: static property 'numeric' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let numeric: Self = .init { $0 ? "1" : "0" }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:54:15: note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
public struct BoolEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: note: add '@MainActor' to make static property 'numeric' part of global actor 'MainActor'
public static let numeric: Self = .init { $0 ? "1" : "0" }
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:62:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let numeric: Self = .init { $0 ? "1" : "0" }
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'BoolEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let literal: Self = .init(\.description)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:54:15: note: consider making struct 'BoolEncodingStrategy' conform to the 'Sendable' protocol
public struct BoolEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: note: add '@MainActor' to make static property 'literal' part of global actor 'MainActor'
public static let literal: Self = .init(\.description)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:63:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let literal: Self = .init(\.description)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let json: NestedEncodingStrategy = .json()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:66:13: note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
public enum NestedEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
public static let json: NestedEncodingStrategy = .json()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:90:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let json: NestedEncodingStrategy = .json()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: warning: static property 'brackets' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let brackets: NestedEncodingStrategy = .flatten { path in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:66:13: note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
public enum NestedEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: note: add '@MainActor' to make static property 'brackets' part of global actor 'MainActor'
public static let brackets: NestedEncodingStrategy = .flatten { path in
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:92:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let brackets: NestedEncodingStrategy = .flatten { path in
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'NestedEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
public static let dots: NestedEncodingStrategy = .flatten { path in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:66:13: note: consider making enum 'NestedEncodingStrategy' conform to the 'Sendable' protocol
public enum NestedEncodingStrategy {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
public static let dots: NestedEncodingStrategy = .flatten { path in
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:101:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let dots: NestedEncodingStrategy = .flatten { path in
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
private let _iso8601Formatter: ISO8601DateFormatter = {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
@interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: note: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
private let _iso8601Formatter: ISO8601DateFormatter = {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/EncodingStrategies.swift:230:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private let _iso8601Formatter: ISO8601DateFormatter = {
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ErrorDecoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ FormURLEncoder.swift,\ HeadersEncoder.swift,\ JSONContentEncoders.swift,\ MultipartFormData.swift,\ MultipartFormDataEncoder.swift,\ ParametersEncoder.swift,\ ParametersValue.swift,\ QueryEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/FormURLEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/HeadersEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/JSONContentEncoders.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormData.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ParametersEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ParametersValue.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/QueryEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/FormURLEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/HeadersEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/JSONContentEncoders.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormData.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:17:42: warning: 'ArrayEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.ArrayEncodingStrategy'
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:17:42: note: use 'SwiftAPIClient.ArrayEncodingStrategy' instead
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.ArrayEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:18:43: warning: 'NestedEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.NestedEncodingStrategy'
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:18:43: note: use 'SwiftAPIClient.NestedEncodingStrategy' instead
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^~~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.NestedEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:19:41: warning: 'BoolEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.BoolEncodingStrategy'
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:19:41: note: use 'SwiftAPIClient.BoolEncodingStrategy' instead
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.BoolEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:47:42: warning: 'ArrayEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.ArrayEncodingStrategy'
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:47:42: note: use 'SwiftAPIClient.ArrayEncodingStrategy' instead
arrayEncodingStrategy: URLQueryEncoder.ArrayEncodingStrategy = .commaSeparator,
^~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.ArrayEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:48:43: warning: 'NestedEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.NestedEncodingStrategy'
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:48:43: note: use 'SwiftAPIClient.NestedEncodingStrategy' instead
nestedEncodingStrategy: URLQueryEncoder.NestedEncodingStrategy = .brackets,
^~~~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.NestedEncodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:49:41: warning: 'BoolEncodingStrategy' is deprecated: renamed to 'SwiftAPIClient.BoolEncodingStrategy'
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift:49:41: note: use 'SwiftAPIClient.BoolEncodingStrategy' instead
boolEncodingStrategy: URLQueryEncoder.BoolEncodingStrategy = .literal
^~~~~~~~~~~~~~~~~~~~
SwiftAPIClient.BoolEncodingStrategy
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ParametersEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/ParametersValue.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Coders/QueryEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ThrottleModifier.swift,\ TimeoutModifiers.swift,\ TokenCacheService.swift,\ TokenRefresher.swift,\ URLSessionModifiers.swift,\ WaitForConnectionModifier.swift,\ RequestBuilder.swift,\ AsyncValue.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenCacheService.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenRefresher.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/RequestBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/AsyncValue.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:74:52: warning: non-sendable result type '(T, HTTPResponse)?' cannot be sent from actor-isolated context in call to instance method 'response(for:)'; this is an error in the Swift 6 language mode
if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:64:15: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
func execute<T>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:74:52: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:74:52: note: sending value of non-Sendable type 'ID' to actor-isolated instance method 'response(for:)' risks causing data races between actor-isolated and local nonisolated uses
if let response: (T, HTTPResponse) = await cache.response(for: requestID) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:78:65: note: access can happen concurrently
await cache.setResponse(response: (value, httpResponse), for: requestID)
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:78:15: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
await cache.setResponse(response: (value, httpResponse), for: requestID)
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:78:15: note: sending 'value' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
await cache.setResponse(response: (value, httpResponse), for: requestID)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:83:11: note: access can happen concurrently
return (value, httpResponse)
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:78:15: warning: sending value of non-Sendable type 'AnyHashable' risks causing data races; this is an error in the Swift 6 language mode
await cache.setResponse(response: (value, httpResponse), for: requestID)
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:78:15: note: sending value of non-Sendable type 'AnyHashable' to actor-isolated instance method 'setResponse(response:for:)' risks causing data races between actor-isolated and local nonisolated uses
await cache.setResponse(response: (value, httpResponse), for: requestID)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:79:8: note: access can happen concurrently
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:79:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:81:10: note: closure captures 'self' which is accessible to code in the current task
await cache.removeResponse(for: requestID)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:81:16: warning: sending value of non-Sendable type 'ID' risks causing data races; this is an error in the Swift 6 language mode
await cache.removeResponse(for: requestID)
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ThrottleModifier.swift:81:16: note: sending task-isolated value of non-Sendable type 'ID' to actor-isolated instance method 'removeResponse(for:)' risks causing races in between task-isolated and actor-isolated uses
await cache.removeResponse(for: requestID)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift:143:31: warning: capture of 'timeout' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
sleep: { try await sleep(timeout) },
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift:130:15: note: consider making generic parameter 'D' conform to the 'Sendable' protocol
func timeout<D>(
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift:166:20: warning: capture of 'self' with non-sendable type 'TimeoutMiddleware<D>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
seconds: { _ in seconds },
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift:151:16: note: consider making generic struct 'TimeoutMiddleware' conform to the 'Sendable' protocol
private struct TimeoutMiddleware<D>: HTTPClientMiddleware {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift:167:28: warning: capture of 'self' with non-sendable type 'TimeoutMiddleware<D>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
sleep: { _ in try await sleep() },
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift:151:16: note: consider making generic struct 'TimeoutMiddleware' conform to the 'Sendable' protocol
private struct TimeoutMiddleware<D>: HTTPClientMiddleware {
^
, Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenCacheService.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenCacheService.swift:148:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var `default` = KeychainCacheService()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenCacheService.swift:148:23: note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
public static var `default` = KeychainCacheService()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenCacheService.swift:148:23: note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
public static var `default` = KeychainCacheService()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenCacheService.swift:148:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var `default` = KeychainCacheService()
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenRefresher.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenRefresher.swift:139:15: warning: capture of 'requestToken' with non-sendable type '(APIClient.Configs) async throws -> (String, String?, Date?)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
try await requestToken(configs)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenRefresher.swift:139:15: note: a function type must be marked '@Sendable' to conform to 'Sendable'
try await requestToken(configs)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenRefresher.swift:173:54: warning: capture of 'self' with non-sendable type 'TokenRefresherMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
let (token, refreshToken, expiryDate) = try await refresh(refreshToken, configs)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/TokenRefresher/TokenRefresher.swift:100:15: note: consider making struct 'TokenRefresherMiddleware' conform to the 'Sendable' protocol
public struct TokenRefresherMiddleware: HTTPClientMiddleware {
^
, Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var apiClient: URLSession = {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
static var apiClient: URLSession = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
static var apiClient: URLSession = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/URLSessionModifiers.swift:35:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var apiClient: URLSession = {
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift:23:49: warning: non-sendable type '[String? : Reachability]' of property 'reachabilities' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
if let cached = await Reachabilities.shared.reachabilities[hostname] {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Utils/Reachability.swift:6:20: note: class 'Reachability' does not conform to the 'Sendable' protocol
public final class Reachability {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift:31:34: warning: sending 'reachability' risks causing data races; this is an error in the Swift 6 language mode
await Reachabilities.shared.set(reachability, for: nil)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift:31:34: note: sending 'reachability' to actor-isolated instance method 'set(_:for:)' risks causing data races between actor-isolated and local nonisolated uses
await Reachabilities.shared.set(reachability, for: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift:32:6: note: access can happen concurrently
return reachability
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift:27:34: warning: sending 'reachability' risks causing data races; this is an error in the Swift 6 language mode
await Reachabilities.shared.set(reachability, for: hostname)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift:27:34: note: sending 'reachability' to actor-isolated instance method 'set(_:for:)' risks causing data races between actor-isolated and local nonisolated uses
await Reachabilities.shared.set(reachability, for: hostname)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/WaitForConnectionModifier.swift:28:6: note: access can happen concurrently
return reachability
^~~~~~~~~~~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/RequestBuilder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Types/AsyncValue.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CodersModifiers.swift,\ ErrorDecodeModifiers.swift,\ ErrorHandler.swift,\ FileIDLine.swift,\ HTTPClientMiddleware.swift,\ HTTPResponseValidator.swift,\ LoggingModifier.swift,\ MetricsModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/CodersModifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorDecodeModifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/FileIDLine.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPResponseValidator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/MetricsModifier.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/CodersModifiers.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorDecodeModifiers.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:82:13: warning: stored property 'context' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIErrorContext'; this is an error in the Swift 6 language mode
public var context: APIErrorContext
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:40:15: note: consider making struct 'APIErrorContext' conform to the 'Sendable' protocol
public struct APIErrorContext: Equatable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:83:13: warning: stored property 'includeBody' of 'Sendable'-conforming struct 'APIClientError' has non-sendable type 'APIClientError.IncludeBodyPolicy'; this is an error in the Swift 6 language mode
public var includeBody: IncludeBodyPolicy
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/ErrorHandler.swift:121:14: note: consider making enum 'IncludeBodyPolicy' conform to the 'Sendable' protocol
public enum IncludeBodyPolicy {
^
: Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/FileIDLine.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:48:33: warning: capture of 'middleware' with non-sendable type 'any HTTPClientMiddleware' in a '@Sendable' closure; this is an error in the Swift 6 language mode
next = { [next] in try await middleware.execute(request: $0, configs: $1, next: next) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPClientMiddleware.swift:3:17: note: protocol 'HTTPClientMiddleware' does not conform to the 'Sendable' protocol
public protocol HTTPClientMiddleware {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/HTTPResponseValidator.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/LoggingModifier.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAPIClient/Modifiers/MetricsModifier.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling HTTPHeadersEncoder.swift, PlainCodingKey.swift, Ref.swift, URLQueryEncoder.swift, ConsoleStyle.swift, Error+String.swift, NoneLogger.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling Serializer.swift, TimeoutError.swift, AnyAsyncSequence.swift, AnyEncodable.swift, ContentEncoder.swift, DataDecoder.swift, EncodingStrategies.swift, ErrorDecoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling MockResponses.swift, RateLimitModifier.swift, RedirectModifier.swift, RequestCompression.swift, RequestModifiers.swift, RequestValidator.swift, ResponseWrapModifires.swift, RetryModifier.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling APIClient.swift, APIClientCaller.swift, APIClientConfigs.swift, HTTPClient.swift, HTTPDownloadClient.swift, HTTPPublisher.swift, HTTPUploadClient.swift, URLSession+Client.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling FormURLEncoder.swift, HeadersEncoder.swift, JSONContentEncoders.swift, MultipartFormData.swift, MultipartFormDataEncoder.swift, ParametersEncoder.swift, ParametersValue.swift, QueryEncoder.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling ContentSerializer.swift, ContentType.swift, Errors.swift, HTTPFields.swift, HTTPRequestComponents.swift, LoggingComponent.swift, Mockable.swift, RedirectBehaviour.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling CodersModifiers.swift, ErrorDecodeModifiers.swift, ErrorHandler.swift, FileIDLine.swift, HTTPClientMiddleware.swift, HTTPResponseValidator.swift, LoggingModifier.swift, MetricsModifier.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling Async++.swift, String++.swift, URLComponentBuilder.swift, URLResponse++.swift, Imports.swift, Macros.swift, AuthModifier.swift, BackgroundModifiers.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Compiling Publisher+Create.swift, Publishers+Task.swift, Reachability.swift, Status+Ext.swift, URLSessionDelegateWrapper.swift, UpdateMetrics.swift, WithSynchronizedAccess.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriverJobDiscovery normal arm64 Emitting module for SwiftAPIClient (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriver\ Compilation\ Requirements SwiftAPIClient normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftAPIClient -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -target arm64-apple-macos10.15 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClientMacros\#SwiftAPIClientMacros -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/SwiftAPIClient-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient-Swift.h (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/SwiftAPIClient-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/arm64-apple-macos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.abi.json (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/arm64-apple-macos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/arm64-apple-macos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftmodule (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/arm64-apple-macos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/arm64-apple-macos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftdoc (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/arm64-apple-macos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftsourceinfo (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling ThrottleModifier.swift, TimeoutModifiers.swift, TokenCacheService.swift, TokenRefresher.swift, URLSessionModifiers.swift, WaitForConnectionModifier.swift, RequestBuilder.swift, AsyncValue.swift (in target 'SwiftAPIClient' from project 'swift-api-client')
SwiftDriver\ Compilation SwiftAPIClient normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftAPIClient -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -target arm64-apple-macos10.15 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClientMacros\#SwiftAPIClientMacros -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.o normal (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-macos10.15 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.o
ExtractAppIntentsMetadata (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name SwiftAPIClient --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk --xcode-version 16E140 --platform-family macOS --deployment-target 10.15 --bundle-identifier spi-builder-workspace.SwiftAPIClient --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.appintents --target-triple arm64-apple-macos10.15 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/SwiftAPIClient.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/SwiftAPIClient.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-api-client.build/Debug/SwiftAPIClient.build/Objects-normal/arm64/SwiftAPIClient.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-04-30 15:10:57.631 appintentsmetadataprocessor[1119:5781] Starting appintentsmetadataprocessor export
2025-04-30 15:10:57.666 appintentsmetadataprocessor[1119:5781] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.o (in target 'SwiftAPIClient' from project 'swift-api-client')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAPIClient.o
** BUILD SUCCEEDED **
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:5f9b96dc0cea77a9d9c4a78d7a0f1da37af67164, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:5f9b96dc0cea77a9d9c4a78d7a0f1da37af67164, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:5f9b96dc0cea77a9d9c4a78d7a0f1da37af67164, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:5f9b96dc0cea77a9d9c4a78d7a0f1da37af67164, name:My Mac }
Build complete.
{
"dependencies" : [
{
"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"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "601.0.0-prerelease"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
}
],
"manifest_display_name" : "swift-api-client",
"name" : "swift-api-client",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftAPIClient",
"targets" : [
"SwiftAPIClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftAPIClientMacros",
"targets" : [
"SwiftAPIClientMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftAPIClientTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAPIClientTests",
"path" : "Tests/SwiftAPIClientTests",
"sources" : [
"CURLTests.swift",
"EncodersTests/MultipartFormDataTests.swift",
"HTTPHeadersEncoderTests.swift",
"Modifiers/AuthModifierTests.swift",
"Modifiers/ErrorDecodingTests.swift",
"Modifiers/HTTPResponseValidatorTests.swift",
"Modifiers/LogLevelModifierTests.swift",
"Modifiers/MockResponsesTests.swift",
"Modifiers/RequestCompressionTests.swift",
"Modifiers/RequestModifiersTests.swift",
"NetworkClientTests.swift",
"TestUtils/Client+Ext.swift",
"TestUtils/TestHTTPClient.swift",
"URLQueryEncoderTests.swift",
"UtilsTests/URLComponentBuilderTests.swift",
"UtilsTests/WithTimeoutTests.swift"
],
"target_dependencies" : [
"SwiftAPIClient"
],
"type" : "test"
},
{
"c99name" : "SwiftAPIClientMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAPIClientMacrosTests",
"path" : "Tests/SwiftAPIClientMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"APIMacroTests.swift",
"CallMacroTests.swift",
"PathMacroTests.swift"
],
"target_dependencies" : [
"SwiftAPIClientMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftAPIClientMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftAPIClientMacros",
"path" : "Sources/SwiftAPIClientMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftAPIClient",
"SwiftAPIClientMacros"
],
"sources" : [
"Collection++.swift",
"MacroError.swift",
"String++.swift",
"SwiftAPIClientMacros.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftAPIClient",
"module_type" : "SwiftTarget",
"name" : "SwiftAPIClient",
"path" : "Sources/SwiftAPIClient",
"product_dependencies" : [
"Logging",
"Metrics",
"HTTPTypes",
"HTTPTypesFoundation"
],
"product_memberships" : [
"SwiftAPIClient"
],
"sources" : [
"APIClient.swift",
"APIClientCaller.swift",
"APIClientConfigs.swift",
"Clients/HTTPClient.swift",
"Clients/HTTPDownloadClient.swift",
"Clients/HTTPPublisher.swift",
"Clients/HTTPUploadClient.swift",
"Clients/URLSession+Client.swift",
"Extensions/Async++.swift",
"Extensions/String++.swift",
"Extensions/URLComponentBuilder.swift",
"Extensions/URLResponse++.swift",
"Imports.swift",
"Macros.swift",
"Modifiers/AuthModifier.swift",
"Modifiers/BackgroundModifiers.swift",
"Modifiers/CodersModifiers.swift",
"Modifiers/ErrorDecodeModifiers.swift",
"Modifiers/ErrorHandler.swift",
"Modifiers/FileIDLine.swift",
"Modifiers/HTTPClientMiddleware.swift",
"Modifiers/HTTPResponseValidator.swift",
"Modifiers/LoggingModifier.swift",
"Modifiers/MetricsModifier.swift",
"Modifiers/MockResponses.swift",
"Modifiers/RateLimitModifier.swift",
"Modifiers/RedirectModifier.swift",
"Modifiers/RequestCompression.swift",
"Modifiers/RequestModifiers.swift",
"Modifiers/RequestValidator.swift",
"Modifiers/ResponseWrapModifires.swift",
"Modifiers/RetryModifier.swift",
"Modifiers/ThrottleModifier.swift",
"Modifiers/TimeoutModifiers.swift",
"Modifiers/TokenRefresher/TokenCacheService.swift",
"Modifiers/TokenRefresher/TokenRefresher.swift",
"Modifiers/URLSessionModifiers.swift",
"Modifiers/WaitForConnectionModifier.swift",
"RequestBuilder.swift",
"Types/AsyncValue.swift",
"Types/ContentSerializer.swift",
"Types/ContentType.swift",
"Types/Errors.swift",
"Types/HTTPFields.swift",
"Types/HTTPRequestComponents.swift",
"Types/LoggingComponent.swift",
"Types/Mockable.swift",
"Types/RedirectBehaviour.swift",
"Types/Serializer.swift",
"Types/TimeoutError.swift",
"Utils/AnyAsyncSequence.swift",
"Utils/AnyEncodable.swift",
"Utils/Coders/ContentEncoder.swift",
"Utils/Coders/DataDecoder.swift",
"Utils/Coders/EncodingStrategies.swift",
"Utils/Coders/ErrorDecoder.swift",
"Utils/Coders/FormURLEncoder.swift",
"Utils/Coders/HeadersEncoder.swift",
"Utils/Coders/JSONContentEncoders.swift",
"Utils/Coders/MultipartFormData/MultipartFormData.swift",
"Utils/Coders/MultipartFormData/MultipartFormDataEncoder.swift",
"Utils/Coders/ParametersEncoder.swift",
"Utils/Coders/ParametersValue.swift",
"Utils/Coders/QueryEncoder.swift",
"Utils/Coders/URLQuery/HTTPHeadersEncoder.swift",
"Utils/Coders/URLQuery/PlainCodingKey.swift",
"Utils/Coders/URLQuery/Ref.swift",
"Utils/Coders/URLQuery/URLQueryEncoder.swift",
"Utils/ConsoleStyle.swift",
"Utils/Error+String.swift",
"Utils/NoneLogger.swift",
"Utils/Publisher+Create.swift",
"Utils/Publishers+Task.swift",
"Utils/Reachability.swift",
"Utils/Status+Ext.swift",
"Utils/URLSessionDelegateWrapper.swift",
"Utils/UpdateMetrics.swift",
"Utils/WithSynchronizedAccess.swift"
],
"target_dependencies" : [
"SwiftAPIClientMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.