Build Information
Successful build of URLRequestOperation, reference 2.0.0-alpha.14.2 (f33309
), with Swift 6.1 for Linux on 27 Apr 2025 08:22:53 UTC.
Swift 6 data race errors: 25
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
[70/102] Compiling URLRequestOperation URLQueryCoder.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
23 |
24 | internal func appendingQueryParameters<Parameters : Encodable>(from parameters: Parameters, encoder: URLQueryEncoder = Conf.defaultAPIRequestParametersEncoder) throws -> URL {
25 | #warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
| `- warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
26 | let encoded: String = try encoder.encode(parameters)
27 | /* We do the URL/URLComponents trip, because otherwise it’s annoying to manage the fragment.
[71/108] Compiling URLRequestOperation URLToFileHandleResultProcessor.swift
[72/108] Compiling URLRequestOperation OtherSuccessRetryHelper.swift
[73/108] Compiling URLRequestOperation ReachabilityRetryHelper.swift
[74/108] Compiling URLRequestOperation NetworkErrorRetryProvider.swift
[75/108] Compiling URLRequestOperation UnretriedErrorsRetryProvider.swift
[76/108] Compiling URLRequestOperation HTTPStatusCodeURLResponseValidator.swift
[77/108] Compiling URLRequestOperation URLRequestDataOperation+APIs-TypedError.swift
[78/108] Compiling URLRequestOperation BlockRequestProcessor.swift
[79/108] Compiling URLRequestOperation AnyResultProcessor.swift
[80/108] Compiling URLRequestOperation DecodeDataResultProcessor.swift
[81/108] Compiling URLRequestOperation DecodeHTTPContentResultProcessor.swift
[82/108] Compiling URLRequestOperation HTTPStatusCodeCheckResultProcessor.swift
[83/108] Compiling URLRequestOperation RecoverHTTPStatusCodeCheckErrorResultProcessor.swift
[84/108] Compiling URLRequestOperation URLMoveResultProcessor.swift
[85/108] Compiling URLRequestOperation URLRequestDownloadOperation.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:128:10: warning: TODO: Properly manage resume data
126 | }
127 |
128 | #warning("TODO: Properly manage resume data")
| `- warning: TODO: Properly manage resume data
129 | resumeData = nil
130 |
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | internal var delegates = URLSessionDelegates()
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:25:15: warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | internal var delegates = URLSessionDelegates()
| `- warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
26 |
27 | /** Method is open, but if overwritten, care must be taken to merge the result from the task delegate for the given task. */
[86/108] Compiling URLRequestOperation URLRequestStreamOperation.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:128:10: warning: TODO: Properly manage resume data
126 | }
127 |
128 | #warning("TODO: Properly manage resume data")
| `- warning: TODO: Properly manage resume data
129 | resumeData = nil
130 |
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | internal var delegates = URLSessionDelegates()
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:25:15: warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | internal var delegates = URLSessionDelegates()
| `- warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
26 |
27 | /** Method is open, but if overwritten, care must be taken to merge the result from the task delegate for the given task. */
[87/108] Compiling URLRequestOperation URLRequestOperationSessionDelegate.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:128:10: warning: TODO: Properly manage resume data
126 | }
127 |
128 | #warning("TODO: Properly manage resume data")
| `- warning: TODO: Properly manage resume data
129 | resumeData = nil
130 |
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | internal var delegates = URLSessionDelegates()
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:25:15: warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | internal var delegates = URLSessionDelegates()
| `- warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
26 |
27 | /** Method is open, but if overwritten, care must be taken to merge the result from the task delegate for the given task. */
[88/108] Compiling URLRequestOperation URLRequestOperationSessionDelegateProxy.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:128:10: warning: TODO: Properly manage resume data
126 | }
127 |
128 | #warning("TODO: Properly manage resume data")
| `- warning: TODO: Properly manage resume data
129 | resumeData = nil
130 |
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | internal var delegates = URLSessionDelegates()
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:25:15: warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | internal var delegates = URLSessionDelegates()
| `- warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
26 |
27 | /** Method is open, but if overwritten, care must be taken to merge the result from the task delegate for the given task. */
[89/108] Compiling URLRequestOperation URLSessionDelegates.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:128:10: warning: TODO: Properly manage resume data
126 | }
127 |
128 | #warning("TODO: Properly manage resume data")
| `- warning: TODO: Properly manage resume data
129 | resumeData = nil
130 |
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | internal var delegates = URLSessionDelegates()
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:25:15: warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | internal var delegates = URLSessionDelegates()
| `- warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
26 |
27 | /** Method is open, but if overwritten, care must be taken to merge the result from the task delegate for the given task. */
[90/108] Compiling URLRequestOperation NotifNameGetter.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:128:10: warning: TODO: Properly manage resume data
126 | }
127 |
128 | #warning("TODO: Properly manage resume data")
| `- warning: TODO: Properly manage resume data
129 | resumeData = nil
130 |
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | internal var delegates = URLSessionDelegates()
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:25:15: warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | internal var delegates = URLSessionDelegates()
| `- warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
26 |
27 | /** Method is open, but if overwritten, care must be taken to merge the result from the task delegate for the given task. */
[91/108] Compiling URLRequestOperation ReachabilityObserver.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:128:10: warning: TODO: Properly manage resume data
126 | }
127 |
128 | #warning("TODO: Properly manage resume data")
| `- warning: TODO: Properly manage resume data
129 | resumeData = nil
130 |
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | internal var delegates = URLSessionDelegates()
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:25:15: warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
23 | open class URLRequestOperationSessionDelegate : NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | internal var delegates = URLSessionDelegates()
| `- warning: stored property 'delegates' of 'Sendable'-conforming class 'URLRequestOperationSessionDelegate' is mutable; this is an error in the Swift 6 language mode
26 |
27 | /** Method is open, but if overwritten, care must be taken to merge the result from the task delegate for the given task. */
[92/108] Compiling URLRequestOperation URLRequestDataOperation+APIs-UntypedError.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:261:10: warning: TODO
259 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
260 |
261 | #warning("TODO")
| `- warning: TODO
262 | // currentTask = downloadTask
263 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
[93/108] Compiling URLRequestOperation URLRequestDataOperation+Data.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:261:10: warning: TODO
259 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
260 |
261 | #warning("TODO")
| `- warning: TODO
262 | // currentTask = downloadTask
263 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
[94/108] Compiling URLRequestOperation URLRequestDataOperation+Images.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:261:10: warning: TODO
259 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
260 |
261 | #warning("TODO")
| `- warning: TODO
262 | // currentTask = downloadTask
263 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
[95/108] Compiling URLRequestOperation URLRequestDataOperation+String.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:261:10: warning: TODO
259 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
260 |
261 | #warning("TODO")
| `- warning: TODO
262 | // currentTask = downloadTask
263 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
[96/108] Compiling URLRequestOperation URLRequestDataOperation.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:261:10: warning: TODO
259 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
260 |
261 | #warning("TODO")
| `- warning: TODO
262 | // currentTask = downloadTask
263 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
[97/108] Compiling URLRequestOperation URLRequestDownloadOperation+Open.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:261:10: warning: TODO
259 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
260 |
261 | #warning("TODO")
| `- warning: TODO
262 | // currentTask = downloadTask
263 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
[98/108] Compiling URLRequestOperation URLRequestDownloadOperation+Save.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:261:10: warning: TODO
259 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
260 |
261 | #warning("TODO")
| `- warning: TODO
262 | // currentTask = downloadTask
263 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
[99/108] Compiling URLRequestOperation ReachabilitySubscriber.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Reachability/SockaddrWrapper.swift:44:6: warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
42 | #endif
43 | let family: sa_family_t
44 | let rawPointer: UnsafeMutableRawPointer
| `- warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
45 |
46 | public convenience init(ipV4AddressStr: String) throws {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:25:25: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | internal enum LatestURLOpIDContainer {
24 | static let opIdQueue = DispatchQueue(label: "com.happn.URLRequestOperation.OperationID")
25 | @SafeGlobal static var latestURLOperationIdentifier = -1
| |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'latestURLOperationIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:32: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | // public static var oslog: os.Logger? = .init(.default)
51 | #endif
52 | @SafeGlobal public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:61:32: warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
| |- warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIResponseDecoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIResponseDecoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:62:32: warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
| |- warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestBodyEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:63:32: warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
| |- warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestParametersEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestParametersEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:32: warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:66:32: warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:69:32: warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:70:32: warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:73:32: warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:74:32: warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:76:32: warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
| |- warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringEncoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:78:32: warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:79:32: warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:82:32: warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:83:32: warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:85:32: warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
| |- warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderDefaultNumberOfRetries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderDefaultNumberOfRetries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:86:32: warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
| |- warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderBackoffTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderBackoffTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:93:32: warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | URLRequestOperation can log all the requests that are started at log level trace.
92 | In general, should only be true for debug purpose. */
93 | @SafeGlobal public static var logHTTPRequests = false
| |- warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPRequests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:101:32: warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | Only the responses from ``URLRequestDataOperation``s are logged. */
101 | @SafeGlobal public static var logHTTPResponses = false
| |- warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:103:32: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | @SafeGlobal public static var logHTTPResponses = false
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
| |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugLogURL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[100/108] Compiling URLRequestOperation SockaddrWrapper.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Reachability/SockaddrWrapper.swift:44:6: warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
42 | #endif
43 | let family: sa_family_t
44 | let rawPointer: UnsafeMutableRawPointer
| `- warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
45 |
46 | public convenience init(ipV4AddressStr: String) throws {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:25:25: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | internal enum LatestURLOpIDContainer {
24 | static let opIdQueue = DispatchQueue(label: "com.happn.URLRequestOperation.OperationID")
25 | @SafeGlobal static var latestURLOperationIdentifier = -1
| |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'latestURLOperationIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:32: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | // public static var oslog: os.Logger? = .init(.default)
51 | #endif
52 | @SafeGlobal public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:61:32: warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
| |- warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIResponseDecoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIResponseDecoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:62:32: warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
| |- warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestBodyEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:63:32: warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
| |- warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestParametersEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestParametersEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:32: warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:66:32: warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:69:32: warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:70:32: warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:73:32: warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:74:32: warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:76:32: warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
| |- warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringEncoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:78:32: warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:79:32: warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:82:32: warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:83:32: warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:85:32: warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
| |- warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderDefaultNumberOfRetries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderDefaultNumberOfRetries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:86:32: warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
| |- warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderBackoffTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderBackoffTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:93:32: warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | URLRequestOperation can log all the requests that are started at log level trace.
92 | In general, should only be true for debug purpose. */
93 | @SafeGlobal public static var logHTTPRequests = false
| |- warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPRequests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:101:32: warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | Only the responses from ``URLRequestDataOperation``s are logged. */
101 | @SafeGlobal public static var logHTTPResponses = false
| |- warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:103:32: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | @SafeGlobal public static var logHTTPResponses = false
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
| |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugLogURL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[101/108] Compiling URLRequestOperation URLRequestOperation.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Reachability/SockaddrWrapper.swift:44:6: warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
42 | #endif
43 | let family: sa_family_t
44 | let rawPointer: UnsafeMutableRawPointer
| `- warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
45 |
46 | public convenience init(ipV4AddressStr: String) throws {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:25:25: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | internal enum LatestURLOpIDContainer {
24 | static let opIdQueue = DispatchQueue(label: "com.happn.URLRequestOperation.OperationID")
25 | @SafeGlobal static var latestURLOperationIdentifier = -1
| |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'latestURLOperationIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:32: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | // public static var oslog: os.Logger? = .init(.default)
51 | #endif
52 | @SafeGlobal public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:61:32: warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
| |- warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIResponseDecoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIResponseDecoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:62:32: warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
| |- warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestBodyEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:63:32: warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
| |- warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestParametersEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestParametersEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:32: warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:66:32: warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:69:32: warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:70:32: warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:73:32: warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:74:32: warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:76:32: warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
| |- warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringEncoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:78:32: warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:79:32: warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:82:32: warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:83:32: warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:85:32: warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
| |- warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderDefaultNumberOfRetries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderDefaultNumberOfRetries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:86:32: warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
| |- warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderBackoffTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderBackoffTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:93:32: warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | URLRequestOperation can log all the requests that are started at log level trace.
92 | In general, should only be true for debug purpose. */
93 | @SafeGlobal public static var logHTTPRequests = false
| |- warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPRequests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:101:32: warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | Only the responses from ``URLRequestDataOperation``s are logged. */
101 | @SafeGlobal public static var logHTTPResponses = false
| |- warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:103:32: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | @SafeGlobal public static var logHTTPResponses = false
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
| |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugLogURL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[102/108] Compiling URLRequestOperation URLRequestOperationConfig.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Reachability/SockaddrWrapper.swift:44:6: warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
42 | #endif
43 | let family: sa_family_t
44 | let rawPointer: UnsafeMutableRawPointer
| `- warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
45 |
46 | public convenience init(ipV4AddressStr: String) throws {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:25:25: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | internal enum LatestURLOpIDContainer {
24 | static let opIdQueue = DispatchQueue(label: "com.happn.URLRequestOperation.OperationID")
25 | @SafeGlobal static var latestURLOperationIdentifier = -1
| |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'latestURLOperationIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:32: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | // public static var oslog: os.Logger? = .init(.default)
51 | #endif
52 | @SafeGlobal public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:61:32: warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
| |- warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIResponseDecoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIResponseDecoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:62:32: warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
| |- warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestBodyEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:63:32: warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
| |- warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestParametersEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestParametersEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:32: warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:66:32: warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:69:32: warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:70:32: warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:73:32: warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:74:32: warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:76:32: warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
| |- warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringEncoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:78:32: warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:79:32: warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:82:32: warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:83:32: warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:85:32: warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
| |- warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderDefaultNumberOfRetries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderDefaultNumberOfRetries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:86:32: warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
| |- warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderBackoffTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderBackoffTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:93:32: warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | URLRequestOperation can log all the requests that are started at log level trace.
92 | In general, should only be true for debug purpose. */
93 | @SafeGlobal public static var logHTTPRequests = false
| |- warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPRequests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:101:32: warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | Only the responses from ``URLRequestDataOperation``s are logged. */
101 | @SafeGlobal public static var logHTTPResponses = false
| |- warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:103:32: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | @SafeGlobal public static var logHTTPResponses = false
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
| |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugLogURL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[103/108] Compiling URLRequestOperation URLRequestOperationErrors.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Reachability/SockaddrWrapper.swift:44:6: warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
42 | #endif
43 | let family: sa_family_t
44 | let rawPointer: UnsafeMutableRawPointer
| `- warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
45 |
46 | public convenience init(ipV4AddressStr: String) throws {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:25:25: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | internal enum LatestURLOpIDContainer {
24 | static let opIdQueue = DispatchQueue(label: "com.happn.URLRequestOperation.OperationID")
25 | @SafeGlobal static var latestURLOperationIdentifier = -1
| |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'latestURLOperationIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:32: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | // public static var oslog: os.Logger? = .init(.default)
51 | #endif
52 | @SafeGlobal public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:61:32: warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
| |- warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIResponseDecoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIResponseDecoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:62:32: warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
| |- warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestBodyEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:63:32: warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
| |- warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestParametersEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestParametersEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:32: warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:66:32: warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:69:32: warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:70:32: warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:73:32: warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:74:32: warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:76:32: warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
| |- warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringEncoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:78:32: warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:79:32: warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:82:32: warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:83:32: warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:85:32: warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
| |- warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderDefaultNumberOfRetries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderDefaultNumberOfRetries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:86:32: warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
| |- warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderBackoffTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderBackoffTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:93:32: warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | URLRequestOperation can log all the requests that are started at log level trace.
92 | In general, should only be true for debug purpose. */
93 | @SafeGlobal public static var logHTTPRequests = false
| |- warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPRequests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:101:32: warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | Only the responses from ``URLRequestDataOperation``s are logged. */
101 | @SafeGlobal public static var logHTTPResponses = false
| |- warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:103:32: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | @SafeGlobal public static var logHTTPResponses = false
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
| |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugLogURL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[104/108] Compiling URLRequestOperation URLRequestOperationResult.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Reachability/SockaddrWrapper.swift:44:6: warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
42 | #endif
43 | let family: sa_family_t
44 | let rawPointer: UnsafeMutableRawPointer
| `- warning: stored property 'rawPointer' of 'Sendable'-conforming class 'SockAddrWrapper' has non-sendable type 'UnsafeMutableRawPointer'; this is an error in the Swift 6 language mode
45 |
46 | public convenience init(ipV4AddressStr: String) throws {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:25:25: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | internal enum LatestURLOpIDContainer {
24 | static let opIdQueue = DispatchQueue(label: "com.happn.URLRequestOperation.OperationID")
25 | @SafeGlobal static var latestURLOperationIdentifier = -1
| |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'latestURLOperationIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:32: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | // public static var oslog: os.Logger? = .init(.default)
51 | #endif
52 | @SafeGlobal public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:61:32: warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
| |- warning: static property 'defaultAPIResponseDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIResponseDecoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIResponseDecoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:62:32: warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
| |- warning: static property 'defaultAPIRequestBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestBodyEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:63:32: warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | @SafeGlobal public static var defaultAPIResponseDecoders: [HTTPContentDecoder] = [SendableJSONDecoderForHTTPContent()]
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
| |- warning: static property 'defaultAPIRequestParametersEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRequestParametersEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRequestParametersEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:32: warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultAPIRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:66:32: warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | /** Before these retry providers, there will always be retry providers to block content decoding or unexpected status code errors. */
65 | @SafeGlobal public static var defaultAPIRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultAPIRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultAPIRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultAPIRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:69:32: warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDataRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:70:32: warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
69 | @SafeGlobal public static var defaultDataRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDataRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDataRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDataRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:73:32: warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultImageRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:74:32: warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
73 | @SafeGlobal public static var defaultImageRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultImageRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultImageRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultImageRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:76:32: warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
| |- warning: static property 'defaultStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringEncoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:78:32: warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultStringRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:79:32: warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | /** Before these retry providers, there will always be retry providers to block string conversion failure or unexpected status code errors. */
78 | @SafeGlobal public static var defaultStringRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultStringRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultStringRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultStringRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:82:32: warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
| |- warning: static property 'defaultDownloadRetryProviders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryProviders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryProviders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:83:32: warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
82 | @SafeGlobal public static var defaultDownloadRetryProviders: [RetryProvider] = [NetworkErrorRetryProvider()]
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
| |- warning: static property 'defaultDownloadRetryableStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDownloadRetryableStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDownloadRetryableStatusCodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:85:32: warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
| |- warning: static property 'networkRetryProviderDefaultNumberOfRetries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderDefaultNumberOfRetries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderDefaultNumberOfRetries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:86:32: warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
| |- warning: static property 'networkRetryProviderBackoffTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkRetryProviderBackoffTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkRetryProviderBackoffTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:93:32: warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | URLRequestOperation can log all the requests that are started at log level trace.
92 | In general, should only be true for debug purpose. */
93 | @SafeGlobal public static var logHTTPRequests = false
| |- warning: static property 'logHTTPRequests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPRequests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:101:32: warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | Only the responses from ``URLRequestDataOperation``s are logged. */
101 | @SafeGlobal public static var logHTTPResponses = false
| |- warning: static property 'logHTTPResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHTTPResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHTTPResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:103:32: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | @SafeGlobal public static var logHTTPResponses = false
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
| |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugLogURL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[105/109] Wrapping AST for URLRequestOperation for debugging
[107/111] Emitting module URLRequestOperationManualTest
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:24:7: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
22 |
23 |
24 | class SessionDelegate : NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
25 |
26 | let delegateId: Int
[108/111] Compiling URLRequestOperationManualTest main.swift
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:24:7: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
22 |
23 |
24 | class SessionDelegate : NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
25 |
26 | let delegateId: Int
[109/112] Wrapping AST for URLRequestOperationManualTest for debugging
[110/112] Write Objects.LinkFileList
[111/112] Linking URLRequestOperationManualTest
Build complete! (39.72s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "httpcoders",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-app/HTTPCoders.git"
},
{
"identity" : "retryingoperation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-app/RetryingOperation.git"
},
{
"identity" : "semisingleton",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0-beta.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-app/SemiSingleton.git"
}
],
"manifest_display_name" : "URLRequestOperation",
"name" : "URLRequestOperation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MediaType",
"targets" : [
"MediaType"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLRequestOperation",
"targets" : [
"URLRequestOperation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLRequestOperationManualTest",
"targets" : [
"URLRequestOperationManualTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "URLRequestOperationTests",
"module_type" : "SwiftTarget",
"name" : "URLRequestOperationTests",
"path" : "Tests/URLRequestOperationTests",
"sources" : [
"IPUtilsTests.swift",
"ReachabilityTests.swift",
"URLRequestOperationTests.swift"
],
"target_dependencies" : [
"URLRequestOperation"
],
"type" : "test"
},
{
"c99name" : "URLRequestOperationManualTest",
"module_type" : "SwiftTarget",
"name" : "URLRequestOperationManualTest",
"path" : "Sources/URLRequestOperationManualTest",
"product_memberships" : [
"URLRequestOperationManualTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"URLRequestOperation"
],
"type" : "executable"
},
{
"c99name" : "URLRequestOperation",
"module_type" : "SwiftTarget",
"name" : "URLRequestOperation",
"path" : "Sources/URLRequestOperation",
"product_dependencies" : [
"FormURLEncodedCoder",
"Logging",
"RetryingOperation",
"SemiSingleton"
],
"product_memberships" : [
"URLRequestOperation",
"URLRequestOperationManualTest"
],
"sources" : [
"Glue/BlockDispatcher.swift",
"Glue/HTTPContentCoder+FormURLEncodedEncoding.swift",
"Glue/HTTPContentCoder+JSON.swift",
"Glue/HTTPContentCoder.swift",
"Glue/HTTPURLResponse+Utils.swift",
"Glue/LinuxWeakToWeakMapTable.swift",
"Glue/LogMetadataKeys.swift",
"Glue/Result+Utils.swift",
"Glue/RetryCountsHolder.swift",
"Glue/SafeGlobal.swift",
"Glue/String+Utils.swift",
"Glue/URL+Utils.swift",
"Glue/URLQueryCoder+HTTPContentCoder+FormURLEncodedEncoding.swift",
"Glue/URLQueryCoder.swift",
"Glue/URLRequest+Utils.swift",
"Glue/URLSession+Linux.swift",
"Operations/Helper Protocols/RequestProcessor.swift",
"Operations/Helper Protocols/ResultProcessor.swift",
"Operations/Helper Protocols/RetryProvider.swift",
"Operations/Helper Protocols/URLResponseValidator.swift",
"Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift",
"Operations/Helpers/Request Processors/BlockRequestProcessor.swift",
"Operations/Helpers/Result Processors/AnyResultProcessor.swift",
"Operations/Helpers/Result Processors/DecodeDataResultProcessor.swift",
"Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift",
"Operations/Helpers/Result Processors/HTTPStatusCodeCheckResultProcessor.swift",
"Operations/Helpers/Result Processors/RecoverHTTPStatusCodeCheckErrorResultProcessor.swift",
"Operations/Helpers/Result Processors/URLMoveResultProcessor.swift",
"Operations/Helpers/Result Processors/URLToFileHandleResultProcessor.swift",
"Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift",
"Operations/Helpers/Retry Helpers/ReachabilityRetryHelper.swift",
"Operations/Helpers/Retry Providers/NetworkErrorRetryProvider.swift",
"Operations/Helpers/Retry Providers/UnretriedErrorsRetryProvider.swift",
"Operations/Helpers/URL Response Validators/HTTPStatusCodeURLResponseValidator.swift",
"Operations/URLRequestDataOperation+APIs-TypedError.swift",
"Operations/URLRequestDataOperation+APIs-UntypedError.swift",
"Operations/URLRequestDataOperation+Data.swift",
"Operations/URLRequestDataOperation+Images.swift",
"Operations/URLRequestDataOperation+String.swift",
"Operations/URLRequestDataOperation.swift",
"Operations/URLRequestDownloadOperation+Open.swift",
"Operations/URLRequestDownloadOperation+Save.swift",
"Operations/URLRequestDownloadOperation.swift",
"Operations/URLRequestStreamOperation.swift",
"Public Session Delegate/URLRequestOperationSessionDelegate.swift",
"Public Session Delegate/URLRequestOperationSessionDelegateProxy.swift",
"Public Session Delegate/URLSessionDelegates.swift",
"Reachability/NotifNameGetter.swift",
"Reachability/ReachabilityObserver.swift",
"Reachability/ReachabilitySubscriber.swift",
"Reachability/SockaddrWrapper.swift",
"URLRequestOperation.swift",
"URLRequestOperationConfig.swift",
"URLRequestOperationErrors.swift",
"URLRequestOperationResult.swift"
],
"target_dependencies" : [
"MediaType"
],
"type" : "library"
},
{
"c99name" : "MediaTypeTests",
"module_type" : "SwiftTarget",
"name" : "MediaTypeTests",
"path" : "Tests/MediaTypeTests",
"sources" : [
"MediaTypeTests.swift"
],
"target_dependencies" : [
"MediaType"
],
"type" : "test"
},
{
"c99name" : "MediaType",
"module_type" : "SwiftTarget",
"name" : "MediaType",
"path" : "Sources/MediaType",
"product_memberships" : [
"MediaType",
"URLRequestOperation",
"URLRequestOperationManualTest"
],
"sources" : [
"MediaType.swift",
"Scanner+LinuxCompat.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.