Build Information
Successful build of Conduit, reference main (f43bf4
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 19:05:45 UTC.
Swift 6 data race errors: 30
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: add '@MainActor' to make static property 'invalidParameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:13:19: note: consider making struct 'Code' conform to the 'Sendable' protocol
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Symmetric/KeychainHybridKeyProvider.swift:63:34: warning: 'touchIDNotAvailable' was deprecated in macOS 10.13: use LAErrorBiometryNotAvailable
61 | return errorCode != .biometryNotAvailable
62 | }
63 | return errorCode != .touchIDNotAvailable
| `- warning: 'touchIDNotAvailable' was deprecated in macOS 10.13: use LAErrorBiometryNotAvailable
64 | }
65 | #endif
[47/90] Compiling Conduit KeychainHybridKeyProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:22:16: warning: stored property 'code' of 'Sendable'-conforming struct 'CryptoError' has non-sendable type 'CryptoError.Code'; this is an error in the Swift 6 language mode
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
20 |
21 | /// The error code
22 | public let code: Code
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'CryptoError' has non-sendable type 'CryptoError.Code'; this is an error in the Swift 6 language mode
23 | /// Additional error details
24 | public let detail: String?
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptorError+Codes.swift:12:23: warning: static property 'internalOperationFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
10 | extension CryptoError.Code {
11 | /// An internal error occurred during the crypto operation
12 | public static let internalOperationFailed = CryptoError.Code(rawValue: -100)
| |- warning: static property 'internalOperationFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalOperationFailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | /// An error occurred while attempting to encrypt the plaintext
14 | public static let encryptionFailed = CryptoError.Code(rawValue: -101)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:13:19: note: consider making struct 'Code' conform to the 'Sendable' protocol
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptorError+Codes.swift:14:23: warning: static property 'encryptionFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let internalOperationFailed = CryptoError.Code(rawValue: -100)
13 | /// An error occurred while attempting to encrypt the plaintext
14 | public static let encryptionFailed = CryptoError.Code(rawValue: -101)
| |- warning: static property 'encryptionFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encryptionFailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /// An error occurred while attempting to decrypt the ciphertext
16 | public static let decryptionFailed = CryptoError.Code(rawValue: -102)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:13:19: note: consider making struct 'Code' conform to the 'Sendable' protocol
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptorError+Codes.swift:16:23: warning: static property 'decryptionFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let encryptionFailed = CryptoError.Code(rawValue: -101)
15 | /// An error occurred while attempting to decrypt the ciphertext
16 | public static let decryptionFailed = CryptoError.Code(rawValue: -102)
| |- warning: static property 'decryptionFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decryptionFailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// The requested crypto operation / algorithm is not supported on this device
18 | public static let cryptoOperationUnsupported = CryptoError.Code(rawValue: -103)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:13:19: note: consider making struct 'Code' conform to the 'Sendable' protocol
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptorError+Codes.swift:18:23: warning: static property 'cryptoOperationUnsupported' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let decryptionFailed = CryptoError.Code(rawValue: -102)
17 | /// The requested crypto operation / algorithm is not supported on this device
18 | public static let cryptoOperationUnsupported = CryptoError.Code(rawValue: -103)
| |- warning: static property 'cryptoOperationUnsupported' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cryptoOperationUnsupported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /// An error occured while attempting to generate a crypto key
20 | public static let keyGenerationFailed = CryptoError.Code(rawValue: -104)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:13:19: note: consider making struct 'Code' conform to the 'Sendable' protocol
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptorError+Codes.swift:20:23: warning: static property 'keyGenerationFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let cryptoOperationUnsupported = CryptoError.Code(rawValue: -103)
19 | /// An error occured while attempting to generate a crypto key
20 | public static let keyGenerationFailed = CryptoError.Code(rawValue: -104)
| |- warning: static property 'keyGenerationFailed' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keyGenerationFailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// The crypto operation was supplied insufficient or invalid parameters
22 | public static let invalidParameters = CryptoError.Code(rawValue: -105)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:13:19: note: consider making struct 'Code' conform to the 'Sendable' protocol
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptorError+Codes.swift:22:23: warning: static property 'invalidParameters' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let keyGenerationFailed = CryptoError.Code(rawValue: -104)
21 | /// The crypto operation was supplied insufficient or invalid parameters
22 | public static let invalidParameters = CryptoError.Code(rawValue: -105)
| |- warning: static property 'invalidParameters' is not concurrency-safe because non-'Sendable' type 'CryptoError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalidParameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Errors/CryptoError.swift:13:19: note: consider making struct 'Code' conform to the 'Sendable' protocol
11 | public struct CryptoError: LocalizedError, Hashable {
12 | /// The CryptoError code
13 | public struct Code: Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Cryptography/Symmetric/KeychainHybridKeyProvider.swift:63:34: warning: 'touchIDNotAvailable' was deprecated in macOS 10.13: use LAErrorBiometryNotAvailable
61 | return errorCode != .biometryNotAvailable
62 | }
63 | return errorCode != .touchIDNotAvailable
| `- warning: 'touchIDNotAvailable' was deprecated in macOS 10.13: use LAErrorBiometryNotAvailable
64 | }
65 | #endif
[48/90] Compiling Conduit PBKDF2Derivator.swift
[49/90] Compiling Conduit OAuth2ClientConfiguration.swift
[50/90] Compiling Conduit OAuth2ServerEnvironment.swift
[51/90] Compiling Conduit DataConvertible.swift
[52/90] Compiling Conduit OAuth2Authorization.swift
[53/90] Compiling Conduit OAuth2Token.swift
[54/90] Compiling Conduit OAuth2Error.swift
[55/90] Compiling Conduit OAuth2RequestPipelineMiddleware.swift
[56/90] Compiling Conduit OAuth2TokenGrantManager.swift
[57/90] Compiling Conduit ResponsePipelineMiddleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[58/90] Compiling Conduit Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[59/90] Compiling Conduit SSLPinningServerAuthenticationPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[60/90] Compiling Conduit FormEncodedRequestSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[61/90] Compiling Conduit HTTPRequestSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[62/90] Compiling Conduit JSONRequestSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[63/90] Compiling Conduit JSONResponseDeserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[64/90] Compiling Conduit MultipartFormRequestSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/HTTPRequestSerializer.swift:109:16: warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The subset of HTTP verbs that will never have a request body.
109 | static let httpMethodsWithNoBody: Set<HTTPRequestBuilder.Method> = [.GET, .HEAD]
| |- warning: static property 'httpMethodsWithNoBody' is not concurrency-safe because non-'Sendable' type 'Set<HTTPRequestBuilder.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'httpMethodsWithNoBody' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Required request headers for HTTP transport according to the W3 spec
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/HTTPRequestBuilder.swift:19:17: note: consider making enum 'Method' conform to the 'Sendable' protocol
17 |
18 | /// An HTTP request method
19 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
20 | /// Establishes an in initial HTTP tunnel
21 | case CONNECT
[65/90] Compiling Conduit QueryString.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[66/90] Compiling Conduit RequestSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[67/90] Compiling Conduit ResponseDeserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[68/90] Compiling Conduit SOAPEnvelopeFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[69/90] Compiling Conduit XML.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[70/90] Compiling Conduit XMLNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[71/90] Compiling Conduit XMLNodeAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[72/90] Compiling Conduit XMLRequestSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/ResponseDeserializer.swift:51:10: warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
49 | case noResponse
50 | /// The response is not valid or indicates a failure
51 | case badResponse(responseObject: Any?)
| `- warning: associated value 'badResponse(responseObject:)' of 'Sendable'-conforming enum 'ResponseDeserializerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
52 | /// No response data was provided, or the data is empty
53 | case noData
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Serialization/XML/XMLNode.swift:18:16: warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Not technically a PI, but it follows the same formatting rules
18 | static var versionInstruction: XMLNode = {
| |- warning: static property 'versionInstruction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'versionInstruction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'versionInstruction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var node = XMLNode(name: "xml")
20 | node.attributes["version"] = "1.0"
[73/90] Compiling Conduit HTTPRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[74/90] Compiling Conduit AutoPurgingURLImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[75/90] Compiling Conduit Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[76/90] Compiling Conduit ImageDownloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[77/90] Compiling Conduit URLImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[78/90] Compiling Conduit AwaitNetworkConnectivityRequestPipelineMiddleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[79/90] Compiling Conduit NetworkReachability.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[80/90] Compiling Conduit NetworkStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[81/90] Compiling Conduit RequestPipelineMiddleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:25: warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| |- warning: capture of 'handler' with non-sendable type 'ImageDownloader.CompletionHandler' (aka '(ImageDownloader.Response) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:140:33: warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
28 |
29 | /// Represents a network or cached image response
30 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
31 | #if canImport(AppKit)
32 | /// The resulting image
:
138 | func execute(handler: @escaping CompletionHandler) {
139 | completionQueue.addOperation {
140 | handler(response)
| `- warning: capture of 'response' with non-sendable type 'ImageDownloader.Response' in a '@Sendable' closure
141 | }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:146:21: warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
25 | /// Utilizes Conduit to download and safely cache/retrieve
26 | /// images across multiple threads
27 | public final class ImageDownloader: ImageDownloaderType {
| `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
28 |
29 | /// Represents a network or cached image response
:
144 | // Intentional retain cycle that releases immediately after execution
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'ImageDownloader' in a '@Sendable' closure
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:147:79: warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
145 | strongSelf.serialQueue.async {
146 | strongSelf.sessionProxyMap[cacheIdentifier] = nil
147 | strongSelf.completionHandlerMap[cacheIdentifier]?.forEach(execute)
| |- warning: capture of 'execute(handler:)' with non-sendable type '(@escaping ImageDownloader.CompletionHandler) -> ()' (aka '(@escaping (ImageDownloader.Response) -> ()) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | strongSelf.completionHandlerMap[cacheIdentifier] = nil
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Images/ImageDownloader.swift:138:22: warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
136 | let response = Response(image: image, error: error, urlResponse: response, isFromCache: false)
137 |
138 | func execute(handler: @escaping CompletionHandler) {
| `- warning: concurrently-executed local function 'execute(handler:)' must be marked as '@Sendable'
139 | completionQueue.addOperation {
140 | handler(response)
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: capture of 'observer' with non-sendable type 'NetworkReachabilityObserver?' in a '@Sendable' closure
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:145:14: note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
143 |
144 | /// Responds to network reachability changes based on a reachability configuration
145 | public class NetworkReachabilityObserver {
| `- note: class 'NetworkReachabilityObserver' does not conform to the 'Sendable' protocol
146 |
147 | let handler: NetworkReachabilityChangeHandler
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:50:17: warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
48 | }
49 | NetworkReachability.internet.unregister(observer: observer)
50 | completion(.value(request))
| |- warning: capture of 'completion' with non-sendable type '(Result<URLRequest>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift:46:38: warning: reference to captured var 'observer' in concurrently-executing code
44 | if let timeout = timeout {
45 | DispatchQueue.global().asyncAfter(deadline: .now() + timeout) {
46 | guard let observer = observer else {
| `- warning: reference to captured var 'observer' in concurrently-executing code
47 | return
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/Reachability/NetworkReachability.swift:20:23: warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Network reachabillity across all connections
20 | public static var internet: NetworkReachability = {
| |- warning: static property 'internet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let sockAddrInSize = UInt8(MemoryLayout<sockaddr>.size)
22 | var zeroAddress = sockaddr()
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:21:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
19 |
20 | /// No special behaviors defined
21 | public static let none = RequestPipelineBehaviorOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Networking/RequestPipelineMiddleware.swift:24:23: warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents options specific to the behavior of the request pipeline
12 | public struct RequestPipelineBehaviorOptions: OptionSet {
| `- note: consider making struct 'RequestPipelineBehaviorOptions' conform to the 'Sendable' protocol
13 |
14 | public var rawValue: Int
:
22 |
23 | /// Notifies the client to complete all outgoing requests before proceeding
24 | public static let awaitsOutgoingCompletion = RequestPipelineBehaviorOptions(rawValue: 1 << 0)
| |- warning: static property 'awaitsOutgoingCompletion' is not concurrency-safe because non-'Sendable' type 'RequestPipelineBehaviorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'awaitsOutgoingCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[82/90] Compiling Conduit Auth.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[83/90] Compiling Conduit OAuth2AuthorizationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[84/90] Compiling Conduit OAuth2AuthorizationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[85/90] Compiling Conduit OAuth2AuthorizationResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[86/90] Compiling Conduit OAuth2AuthorizationStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[87/90] Compiling Conduit OAuth2AuthorizationRedirectHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[88/90] Compiling Conduit OAuth2SafariAuthorizationStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[89/90] Compiling Conduit Cipher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
[90/90] Compiling Conduit Decryptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:15:23: warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The default OAuth2ClientConfiguration, useful for single-client applications
15 | public static var defaultClientConfiguration: OAuth2ClientConfiguration?
| |- warning: static property 'defaultClientConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultClientConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultClientConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:18:23: warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The default OAuth2TokenStore, useful for single-client applications
18 | public static var defaultTokenStore: OAuth2TokenStore = OAuth2TokenMemoryStore()
| |- warning: static property 'defaultTokenStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTokenStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultTokenStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The session client in which token requests are piped through
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:22:23: warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// The session client in which token requests are piped through
21 | /// Warning: Using the same client as the consuming application or framework may induce threadlock.
22 | public static var sessionClient: URLSessionClientType = URLSessionClient(delegateQueue: OperationQueue())
| |- warning: static property 'sessionClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sessionClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Provides an interface for migrating and adapting pre-existing application auth/networking layers.
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:54:28: warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | // swiftlint:enable nesting
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
| |- warning: static property 'externalTokenPreFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPreFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPreFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Conduit/Auth/Auth.swift:55:28: warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | private static var externalTokenPreFetchHooks: [TokenPreFetchHook] = []
55 | private static var externalTokenPostFetchHooks: [TokenPostFetchHook] = []
| |- warning: static property 'externalTokenPostFetchHooks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'externalTokenPostFetchHooks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'externalTokenPostFetchHooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Forces a token refresh within a session
Build complete! (8.48s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Conduit",
"name" : "Conduit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "Conduit",
"targets" : [
"Conduit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConduitTests",
"module_type" : "SwiftTarget",
"name" : "ConduitTests",
"path" : "Tests/ConduitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/TestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/badcertificate.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/celltowers.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/evilspaceship.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/validcertificate1.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/validcertificate2.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/video.mp4",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ConduitTests/Resources/video.txt",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Auth/AuthMigratorTests.swift",
"Auth/AuthTestUtilities.swift",
"Auth/BearerTokenTests.swift",
"Auth/KeychainHybridKeyProviderTests.swift",
"Auth/OAuth2AuthorizationCodeTokenGrantStrategyTests.swift",
"Auth/OAuth2AuthorizationStrategyTests.swift",
"Auth/OAuth2AuthorizationTests.swift",
"Auth/OAuth2ClientConfigurationTests.swift",
"Auth/OAuth2ClientCredentialsTokenGrantTests.swift",
"Auth/OAuth2ExtensionTokenGrantTests.swift",
"Auth/OAuth2PasswordTokenGrantTests.swift",
"Auth/OAuth2RequestPipelineMiddlewareTests.swift",
"Auth/OAuth2ServerEnvironmentTests.swift",
"Auth/OAuth2TokenCryptoCipherTests.swift",
"Auth/OAuth2TokenEncryptedStoreTests.swift",
"Auth/OAuth2TokenGrantManagerTests.swift",
"Auth/OAuth2TokenStorageTests.swift",
"Auth/OAuth2TokenStoreTests.swift",
"Auth/TokenMigratorTests.swift",
"ConduitLoggerTests.swift",
"Core/DarwinNotificationCenterTests.swift",
"Cryptography/AES256CBCCipherTests.swift",
"Cryptography/PBKDF2DerivatorTests.swift",
"Mocks/MockCipher.swift",
"Networking/Data/AutoPurgingURLDataCacheTests.swift",
"Networking/Data/DataDownloaderTests.swift",
"Networking/HTTPRequestBuilderTests.swift",
"Networking/Images/AutoPurgingURLImageCacheTests.swift",
"Networking/Images/ImageDownloaderTests.swift",
"Networking/Reachability/NetworkReachabilityTests.swift",
"Networking/Reachability/NetworkStatusTests.swift",
"Networking/ResultTests.swift",
"Networking/SSLPinningServerAuthenticationPolicyTests.swift",
"Networking/Serialization/FormEncodedRequestSerializerTests.swift",
"Networking/Serialization/HTTPRequestSerializerTests.swift",
"Networking/Serialization/JSONRequestSerializerTests.swift",
"Networking/Serialization/JSONResponseDeserializerTests.swift",
"Networking/Serialization/MultipartFormRequestSerializerTests.swift",
"Networking/Serialization/QueryStringArrayTests.swift",
"Networking/Serialization/QueryStringDictionaryTests.swift",
"Networking/Serialization/QueryStringTests.swift",
"Networking/Serialization/SOAPEnvelopeFactoryTests.swift",
"Networking/Serialization/XML/XMLNodeTests.swift",
"Networking/Serialization/XML/XMLNodeTestsSubjects.swift",
"Networking/Serialization/XML/XMLPrettyPrintTests.swift",
"Networking/Serialization/XML/XMLRequestSerializerTests.swift",
"Networking/Serialization/XML/XMLResponseDeserializerTests.swift",
"Networking/Serialization/XML/XMLTests.swift",
"Networking/URL.swift",
"Networking/URLSessionClientTests.swift",
"Resource.swift"
],
"target_dependencies" : [
"Conduit"
],
"type" : "test"
},
{
"c99name" : "Conduit",
"module_type" : "SwiftTarget",
"name" : "Conduit",
"path" : "Sources/Conduit",
"product_memberships" : [
"Conduit"
],
"sources" : [
"Auth/Auth.swift",
"Auth/AuthorizationCodeGrant/OAuth2AuthorizationError.swift",
"Auth/AuthorizationCodeGrant/OAuth2AuthorizationRequest.swift",
"Auth/AuthorizationCodeGrant/OAuth2AuthorizationResponse.swift",
"Auth/AuthorizationCodeGrant/OAuth2AuthorizationStrategy.swift",
"Auth/AuthorizationCodeGrant/iOS/OAuth2AuthorizationRedirectHandler.swift",
"Auth/AuthorizationCodeGrant/iOS/OAuth2SafariAuthorizationStrategy.swift",
"Auth/Cryptography/Cipher.swift",
"Auth/Cryptography/Decryptor.swift",
"Auth/Cryptography/Encryptor.swift",
"Auth/Cryptography/Errors/CryptoError.swift",
"Auth/Cryptography/Errors/CryptorError+Codes.swift",
"Auth/Cryptography/Hybrid/AsymmetricKeyPair.swift",
"Auth/Cryptography/Hybrid/HybridCipher.swift",
"Auth/Cryptography/Hybrid/HybridEncryptionType.swift",
"Auth/Cryptography/Hybrid/HybridKeyProvider.swift",
"Auth/Cryptography/Symmetric/AES256CBCCipher.swift",
"Auth/Cryptography/Symmetric/KeychainHybridKeyProvider.swift",
"Auth/Cryptography/Symmetric/PBKDF2Derivator.swift",
"Auth/Models/Configuration/OAuth2ClientConfiguration.swift",
"Auth/Models/Configuration/OAuth2ServerEnvironment.swift",
"Auth/Models/DataConvertible.swift",
"Auth/Models/OAuth2Authorization.swift",
"Auth/Models/OAuth2Token.swift",
"Auth/OAuth2Error.swift",
"Auth/OAuth2RequestPipelineMiddleware.swift",
"Auth/OAuth2TokenGrantManager.swift",
"Auth/OAuth2URLSessionClientFactory.swift",
"Auth/TokenGrants/OAuth2AuthorizationCodeTokenGrantStrategy.swift",
"Auth/TokenGrants/OAuth2ClientCredentialsTokenGrantStrategy.swift",
"Auth/TokenGrants/OAuth2ExtensionTokenGrantStrategy.swift",
"Auth/TokenGrants/OAuth2PasswordTokenGrantStrategy.swift",
"Auth/TokenGrants/OAuth2RefreshStrategyFactory.swift",
"Auth/TokenGrants/OAuth2RefreshTokenGrantStrategy.swift",
"Auth/TokenGrants/OAuth2TokenGrantStrategy.swift",
"Auth/TokenStorage/Coordination/OAuth2TokenRefreshCoordinator.swift",
"Auth/TokenStorage/OAuth2TokenCipher.swift",
"Auth/TokenStorage/OAuth2TokenCryptoCipher.swift",
"Auth/TokenStorage/OAuth2TokenEncryptedStore.swift",
"Auth/TokenStorage/OAuth2TokenFileStore.swift",
"Auth/TokenStorage/OAuth2TokenKeychainStore.swift",
"Auth/TokenStorage/OAuth2TokenMemoryStore.swift",
"Auth/TokenStorage/OAuth2TokenStore.swift",
"Auth/TokenStorage/OAuth2TokenUserDefaultsStore.swift",
"Auth/TokenStorage/TokenMigrator.swift",
"Auth/Vendor/KeychainOptions.swift",
"Auth/Vendor/KeychainWrapper.swift",
"Conduit.swift",
"ConduitLogger.swift",
"Core/DarwinNotificationCenter.swift",
"Networking/CertificateBundle.swift",
"Networking/Data/AutoPurgingURLDataCache.swift",
"Networking/Data/DataDownloader.swift",
"Networking/Data/URLDataCache.swift",
"Networking/HTTPRequestBuilder.swift",
"Networking/Images/AutoPurgingURLImageCache.swift",
"Networking/Images/Image.swift",
"Networking/Images/ImageDownloader.swift",
"Networking/Images/URLImageCache.swift",
"Networking/Reachability/AwaitNetworkConnectivityRequestPipelineMiddleware.swift",
"Networking/Reachability/NetworkReachability.swift",
"Networking/Reachability/NetworkStatus.swift",
"Networking/RequestPipelineMiddleware.swift",
"Networking/ResponsePipelineMiddleware.swift",
"Networking/Result.swift",
"Networking/SSLPinningServerAuthenticationPolicy.swift",
"Networking/Serialization/FormEncodedRequestSerializer.swift",
"Networking/Serialization/HTTPRequestSerializer.swift",
"Networking/Serialization/JSONRequestSerializer.swift",
"Networking/Serialization/JSONResponseDeserializer.swift",
"Networking/Serialization/MultipartFormRequestSerializer.swift",
"Networking/Serialization/QueryString.swift",
"Networking/Serialization/RequestSerializer.swift",
"Networking/Serialization/ResponseDeserializer.swift",
"Networking/Serialization/XML/SOAPEnvelopeFactory.swift",
"Networking/Serialization/XML/XML.swift",
"Networking/Serialization/XML/XMLNode.swift",
"Networking/Serialization/XML/XMLNodeAttributes.swift",
"Networking/Serialization/XML/XMLRequestSerializer.swift",
"Networking/Serialization/XML/XMLResponseDeserializer.swift",
"Networking/Serialization/XML/XMLSerialization.swift",
"Networking/ServerAuthenticationPolicy.swift",
"Networking/SessionTaskProxy.swift",
"Networking/TaskResponse.swift",
"Networking/URLSessionClient.swift",
"Networking/URLSessionClientLogging.swift",
"Networking/URLSessionClientType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.