Build Information
Successful build of URLRequestOperation, reference 2.0.0-alpha.14.2 (f33309
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:15:31 UTC.
Swift 6 data race errors: 26
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/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: annotate 'defaultAPIResponseDecoders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/Users/admin/builder/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: annotate 'defaultAPIRequestBodyEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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. */
/Users/admin/builder/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: annotate 'defaultAPIRequestParametersEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultAPIRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/Users/admin/builder/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: annotate 'defaultAPIRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDataRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/Users/admin/builder/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: annotate 'defaultDataRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultImageRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/Users/admin/builder/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: annotate 'defaultImageRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/Users/admin/builder/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: annotate 'defaultStringEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultStringRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/Users/admin/builder/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: annotate 'defaultStringRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDownloadRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/Users/admin/builder/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: annotate 'defaultDownloadRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/Users/admin/builder/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: annotate 'networkRetryProviderDefaultNumberOfRetries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/Users/admin/builder/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: annotate 'networkRetryProviderBackoffTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/Users/admin/builder/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: annotate 'logHTTPRequests' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/Users/admin/builder/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: annotate 'logHTTPResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/Users/admin/builder/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: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[84/95] Compiling URLRequestOperation URLRequestOperation.swift
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'latestURLOperationIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:47:32: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | #if canImport(os)
46 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
47 | @SafeGlobal public static var oslog: OSLog? = .default
| |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /* This retricts availability of Apple’s logging, so we keep the OSLog variant for now, even if it is less convenient. */
49 | // @available(macOS 11.0, tvOS 14.0, iOS 14.0, watchOS 7.0, *)
/Users/admin/builder/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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/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: annotate 'defaultAPIResponseDecoders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/Users/admin/builder/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: annotate 'defaultAPIRequestBodyEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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. */
/Users/admin/builder/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: annotate 'defaultAPIRequestParametersEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultAPIRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/Users/admin/builder/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: annotate 'defaultAPIRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDataRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/Users/admin/builder/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: annotate 'defaultDataRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultImageRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/Users/admin/builder/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: annotate 'defaultImageRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/Users/admin/builder/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: annotate 'defaultStringEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultStringRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/Users/admin/builder/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: annotate 'defaultStringRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDownloadRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/Users/admin/builder/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: annotate 'defaultDownloadRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/Users/admin/builder/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: annotate 'networkRetryProviderDefaultNumberOfRetries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/Users/admin/builder/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: annotate 'networkRetryProviderBackoffTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/Users/admin/builder/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: annotate 'logHTTPRequests' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/Users/admin/builder/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: annotate 'logHTTPResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/Users/admin/builder/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: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[85/95] Compiling URLRequestOperation URLRequestOperationConfig.swift
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'latestURLOperationIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:47:32: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | #if canImport(os)
46 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
47 | @SafeGlobal public static var oslog: OSLog? = .default
| |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /* This retricts availability of Apple’s logging, so we keep the OSLog variant for now, even if it is less convenient. */
49 | // @available(macOS 11.0, tvOS 14.0, iOS 14.0, watchOS 7.0, *)
/Users/admin/builder/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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/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: annotate 'defaultAPIResponseDecoders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/Users/admin/builder/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: annotate 'defaultAPIRequestBodyEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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. */
/Users/admin/builder/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: annotate 'defaultAPIRequestParametersEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultAPIRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/Users/admin/builder/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: annotate 'defaultAPIRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDataRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/Users/admin/builder/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: annotate 'defaultDataRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultImageRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/Users/admin/builder/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: annotate 'defaultImageRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/Users/admin/builder/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: annotate 'defaultStringEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultStringRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/Users/admin/builder/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: annotate 'defaultStringRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDownloadRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/Users/admin/builder/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: annotate 'defaultDownloadRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/Users/admin/builder/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: annotate 'networkRetryProviderDefaultNumberOfRetries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/Users/admin/builder/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: annotate 'networkRetryProviderBackoffTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/Users/admin/builder/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: annotate 'logHTTPRequests' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/Users/admin/builder/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: annotate 'logHTTPResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/Users/admin/builder/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: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[86/95] Compiling URLRequestOperation URLRequestOperationErrors.swift
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'latestURLOperationIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:47:32: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | #if canImport(os)
46 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
47 | @SafeGlobal public static var oslog: OSLog? = .default
| |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /* This retricts availability of Apple’s logging, so we keep the OSLog variant for now, even if it is less convenient. */
49 | // @available(macOS 11.0, tvOS 14.0, iOS 14.0, watchOS 7.0, *)
/Users/admin/builder/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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/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: annotate 'defaultAPIResponseDecoders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/Users/admin/builder/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: annotate 'defaultAPIRequestBodyEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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. */
/Users/admin/builder/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: annotate 'defaultAPIRequestParametersEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultAPIRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/Users/admin/builder/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: annotate 'defaultAPIRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDataRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/Users/admin/builder/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: annotate 'defaultDataRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultImageRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/Users/admin/builder/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: annotate 'defaultImageRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/Users/admin/builder/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: annotate 'defaultStringEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultStringRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/Users/admin/builder/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: annotate 'defaultStringRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDownloadRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/Users/admin/builder/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: annotate 'defaultDownloadRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/Users/admin/builder/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: annotate 'networkRetryProviderDefaultNumberOfRetries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/Users/admin/builder/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: annotate 'networkRetryProviderBackoffTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/Users/admin/builder/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: annotate 'logHTTPRequests' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/Users/admin/builder/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: annotate 'logHTTPResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/Users/admin/builder/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: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[87/95] Compiling URLRequestOperation URLRequestOperationResult.swift
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'latestURLOperationIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:47:32: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | #if canImport(os)
46 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
47 | @SafeGlobal public static var oslog: OSLog? = .default
| |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /* This retricts availability of Apple’s logging, so we keep the OSLog variant for now, even if it is less convenient. */
49 | // @available(macOS 11.0, tvOS 14.0, iOS 14.0, watchOS 7.0, *)
/Users/admin/builder/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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #if canImport(os)
54 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/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: annotate 'defaultAPIResponseDecoders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | @SafeGlobal public static var defaultAPIRequestBodyEncoder: HTTPContentEncoder = SendableJSONEncoderForHTTPContent()
63 | @SafeGlobal public static var defaultAPIRequestParametersEncoder: URLQueryEncoder = FormURLEncodedEncoder()
/Users/admin/builder/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: annotate 'defaultAPIRequestBodyEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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. */
/Users/admin/builder/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: annotate 'defaultAPIRequestParametersEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultAPIRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | @SafeGlobal public static var defaultAPIRetryableStatusCodes: Set<Int> = [503]
67 |
/Users/admin/builder/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: annotate 'defaultAPIRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /** Before these retry providers, there will always be retry providers to block unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDataRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | @SafeGlobal public static var defaultDataRetryableStatusCodes: Set<Int> = [503]
71 |
/Users/admin/builder/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: annotate 'defaultDataRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /** Before these retry providers, there will always be retry providers to block image conversion failure or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultImageRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | @SafeGlobal public static var defaultImageRetryableStatusCodes: Set<Int> = [503]
75 |
/Users/admin/builder/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: annotate 'defaultImageRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
/Users/admin/builder/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: annotate 'defaultStringEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()]
/Users/admin/builder/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: annotate 'defaultStringRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | @SafeGlobal public static var defaultStringRetryableStatusCodes: Set<Int> = [503]
80 |
/Users/admin/builder/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: annotate 'defaultStringRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /** Before these retry providers, there will always be retry providers to block download specific error or unexpected status code errors. */
/Users/admin/builder/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: annotate 'defaultDownloadRetryProviders' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | @SafeGlobal public static var defaultDownloadRetryableStatusCodes: Set<Int> = [503]
84 |
/Users/admin/builder/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: annotate 'defaultDownloadRetryableStatusCodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | @SafeGlobal public static var networkRetryProviderDefaultNumberOfRetries: Int? = 7
/Users/admin/builder/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: annotate 'networkRetryProviderDefaultNumberOfRetries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | @SafeGlobal public static var networkRetryProviderBackoffTable: [TimeInterval] = [1, 3, 15, 27, 42, 60, 60 * 60, 6 * 60 * 60] as [TimeInterval]
87 |
/Users/admin/builder/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: annotate 'networkRetryProviderBackoffTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /**
/Users/admin/builder/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: annotate 'logHTTPRequests' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /**
95 | When receiving data from a server, should we log it?
/Users/admin/builder/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: annotate 'logHTTPResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /** Log everything URL Session related in the file at the given URL. */
103 | @SafeGlobal public static var debugLogURL: URL?
/Users/admin/builder/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: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | }
[88/95] Compiling URLRequestOperation URLRequestDataOperation+APIs-UntypedError.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:39: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:56: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:114: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:57:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
55 | var request = URLRequest(url: url, cachePolicy: cachePolicy)
56 | for (key, val) in headers {request.setValue(val, forHTTPHeaderField: key)}
57 | return Self.forImage(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
58 | urlRequest: request, session: session,
59 | resultProcessingDispatcher: resultProcessingDispatcher,
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:244:10: warning: TODO
242 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
243 |
244 | #warning("TODO")
| `- warning: TODO
245 | // currentTask = streamTask
246 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
/Users/admin/builder/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 {
[89/95] Compiling URLRequestOperation URLRequestDataOperation+Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:39: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:56: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:114: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:57:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
55 | var request = URLRequest(url: url, cachePolicy: cachePolicy)
56 | for (key, val) in headers {request.setValue(val, forHTTPHeaderField: key)}
57 | return Self.forImage(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
58 | urlRequest: request, session: session,
59 | resultProcessingDispatcher: resultProcessingDispatcher,
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:244:10: warning: TODO
242 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
243 |
244 | #warning("TODO")
| `- warning: TODO
245 | // currentTask = streamTask
246 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
/Users/admin/builder/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 {
[90/95] Compiling URLRequestOperation URLRequestDataOperation+Images.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:39: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:56: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:114: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:57:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
55 | var request = URLRequest(url: url, cachePolicy: cachePolicy)
56 | for (key, val) in headers {request.setValue(val, forHTTPHeaderField: key)}
57 | return Self.forImage(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
58 | urlRequest: request, session: session,
59 | resultProcessingDispatcher: resultProcessingDispatcher,
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:244:10: warning: TODO
242 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
243 |
244 | #warning("TODO")
| `- warning: TODO
245 | // currentTask = streamTask
246 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
/Users/admin/builder/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 {
[91/95] Compiling URLRequestOperation URLRequestDataOperation+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:39: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:56: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:114: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:57:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
55 | var request = URLRequest(url: url, cachePolicy: cachePolicy)
56 | for (key, val) in headers {request.setValue(val, forHTTPHeaderField: key)}
57 | return Self.forImage(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
58 | urlRequest: request, session: session,
59 | resultProcessingDispatcher: resultProcessingDispatcher,
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:244:10: warning: TODO
242 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
243 |
244 | #warning("TODO")
| `- warning: TODO
245 | // currentTask = streamTask
246 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
/Users/admin/builder/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 {
[92/95] Compiling URLRequestOperation URLRequestDataOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:40:39: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 | retryProviders: [RetryProvider] = URLRequestOperationConfig.defaultImageRetryProviders
39 | ) -> URLRequestDataOperation<ResultType> where ResultType == Image {
40 | return URLRequestDataOperation<Image>(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:21: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:56: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:43:114: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 | request: urlRequest, session: session, requestProcessors: requestProcessors,
42 | urlResponseValidators: [HTTPStatusCodeURLResponseValidator()],
43 | resultProcessor: DecodeDataResultProcessor(decoder: dataToImage, processingQueue: resultProcessingDispatcher).erased,
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | retryProviders: [UnretriedErrorsRetryProvider.forWhitelistedStatusCodes(retryableStatusCodes), UnretriedErrorsRetryProvider.forDataConversion()] + retryProviders
45 | )
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+Images.swift:57:10: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
55 | var request = URLRequest(url: url, cachePolicy: cachePolicy)
56 | for (key, val) in headers {request.setValue(val, forHTTPHeaderField: key)}
57 | return Self.forImage(
| `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
58 | urlRequest: request, session: session,
59 | resultProcessingDispatcher: resultProcessingDispatcher,
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:244:10: warning: TODO
242 | assert(result.failure?.isCancelledOrNotFinishedError ?? false)
243 |
244 | #warning("TODO")
| `- warning: TODO
245 | // currentTask = streamTask
246 | // if let delegate = session.delegate as? URLRequestOperationSessionDelegate {
/Users/admin/builder/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/97] Compiling URLRequestOperationManualTest main.swift
/Users/admin/builder/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
[94/97] Emitting module URLRequestOperationManualTest
/Users/admin/builder/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
[94/97] Write Objects.LinkFileList
[95/97] Linking URLRequestOperationManualTest
[96/97] Applying URLRequestOperationManualTest
Build complete! (25.87s)
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" : "/Users/admin/builder/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"
}
Done.