Build Information
Successful build of URLRequestOperation with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
public struct URL : ReferenceConvertible, Equatable {
^
[320/362] Compiling URLRequestOperation DecodeHTTPContentResultProcessor.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:72:42: warning: capture of 'u' with non-sendable type 'URLResponse' in a `@Sendable` closure
rp.transform(source: s, urlResponse: u, handler: h)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:102:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .success(let v): rp2.transform(source: v, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:118:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .failure(let e): rp2.transform(source: e, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:90:7: warning: associated value 'noOrInvalidContentType' of 'Sendable'-conforming enum 'DecodeHTTPContentResultProcessorError' has non-sendable type 'URLResponse'
case noOrInvalidContentType(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.ResultType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.SourceType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[321/362] Compiling URLRequestOperation HTTPStatusCodeCheckResultProcessor.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:72:42: warning: capture of 'u' with non-sendable type 'URLResponse' in a `@Sendable` closure
rp.transform(source: s, urlResponse: u, handler: h)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:102:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .success(let v): rp2.transform(source: v, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:118:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .failure(let e): rp2.transform(source: e, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:90:7: warning: associated value 'noOrInvalidContentType' of 'Sendable'-conforming enum 'DecodeHTTPContentResultProcessorError' has non-sendable type 'URLResponse'
case noOrInvalidContentType(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.ResultType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.SourceType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[322/362] Compiling URLRequestOperation RecoverHTTPStatusCodeCheckErrorResultProcessor.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:72:42: warning: capture of 'u' with non-sendable type 'URLResponse' in a `@Sendable` closure
rp.transform(source: s, urlResponse: u, handler: h)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:102:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .success(let v): rp2.transform(source: v, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:118:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .failure(let e): rp2.transform(source: e, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:90:7: warning: associated value 'noOrInvalidContentType' of 'Sendable'-conforming enum 'DecodeHTTPContentResultProcessorError' has non-sendable type 'URLResponse'
case noOrInvalidContentType(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.ResultType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.SourceType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[323/362] Compiling URLRequestOperation URLMoveResultProcessor.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:72:42: warning: capture of 'u' with non-sendable type 'URLResponse' in a `@Sendable` closure
rp.transform(source: s, urlResponse: u, handler: h)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:102:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .success(let v): rp2.transform(source: v, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/AnyResultProcessor.swift:118:66: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
case .failure(let e): rp2.transform(source: e, urlResponse: response, handler: handler)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:90:7: warning: associated value 'noOrInvalidContentType' of 'Sendable'-conforming enum 'DecodeHTTPContentResultProcessorError' has non-sendable type 'URLResponse'
case noOrInvalidContentType(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.ResultType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.SourceType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:87:67: warning: capture of 'source' with non-sendable type 'URL' in a `@Sendable` closure
try MyErr.wrapInFileManagerError{ try fileManager.moveItem(at: source, to: destinationURL) }
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[324/362] Compiling URLRequestOperation NSLock+Linux.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
#warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[325/362] Compiling URLRequestOperation Result+Utils.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
#warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[326/362] Compiling URLRequestOperation RetryCountsHolder.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
#warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[327/362] Compiling URLRequestOperation String+Utils.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
#warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[328/362] Compiling URLRequestOperation URL+Utils.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
#warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[329/362] Compiling URLRequestOperation URLQueryCoder+HTTPContentCoder+FormURLEncodedEncoding.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
#warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[330/362] Compiling URLRequestOperation URLQueryCoder.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/URL+Utils.swift:25:10: warning: TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.
#warning("TODO: Modify the URLQueryEncoder to encode to an array of URLQueryItem instead of a String and use this array to add the query parameters. This will allow using appending(queryItems:) for iOS 16+ and co, or URLComponents for iOS 15-.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[331/362] Compiling URLRequestOperation URLRequest+Utils.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:36:44: warning: capture of 'urlRequest' with non-sendable type 'URLRequest' in a `@Sendable` closure
do {try await handler(.success(block(urlRequest)))}
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:20:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[332/362] Compiling URLRequestOperation URLSession+Linux.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:36:44: warning: capture of 'urlRequest' with non-sendable type 'URLRequest' in a `@Sendable` closure
do {try await handler(.success(block(urlRequest)))}
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:20:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[333/362] Compiling URLRequestOperation RequestProcessor.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:36:44: warning: capture of 'urlRequest' with non-sendable type 'URLRequest' in a `@Sendable` closure
do {try await handler(.success(block(urlRequest)))}
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:20:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[334/362] Compiling URLRequestOperation ResultProcessor.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:36:44: warning: capture of 'urlRequest' with non-sendable type 'URLRequest' in a `@Sendable` closure
do {try await handler(.success(block(urlRequest)))}
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:20:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[335/362] Compiling URLRequestOperation RetryProvider.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:36:44: warning: capture of 'urlRequest' with non-sendable type 'URLRequest' in a `@Sendable` closure
do {try await handler(.success(block(urlRequest)))}
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:20:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[336/362] Compiling URLRequestOperation URLResponseValidator.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:36:44: warning: capture of 'urlRequest' with non-sendable type 'URLRequest' in a `@Sendable` closure
do {try await handler(.success(block(urlRequest)))}
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:20:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[337/362] Compiling URLRequestOperation AsyncBlockRequestProcessor.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:36:44: warning: capture of 'urlRequest' with non-sendable type 'URLRequest' in a `@Sendable` closure
do {try await handler(.success(block(urlRequest)))}
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift:20:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[338/362] Compiling URLRequestOperation URLRequestDownloadOperation.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:148:10: warning: TODO: Properly manage resume data
#warning("TODO: Properly manage resume data")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:215:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: location, urlResponse: response, handler: { res in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:216:4: warning: capture of 'session' with non-sendable type 'URLSession' in a `@Sendable` closure
session.delegateQueue.addOperation{
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:468:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: url, urlResponse: response, handler: { result in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[339/362] Compiling URLRequestOperation URLRequestStreamOperation.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:148:10: warning: TODO: Properly manage resume data
#warning("TODO: Properly manage resume data")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:215:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: location, urlResponse: response, handler: { res in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:216:4: warning: capture of 'session' with non-sendable type 'URLSession' in a `@Sendable` closure
session.delegateQueue.addOperation{
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:468:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: url, urlResponse: response, handler: { result in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[340/362] Compiling URLRequestOperation URLRequestOperationSessionDelegate.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:148:10: warning: TODO: Properly manage resume data
#warning("TODO: Properly manage resume data")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:215:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: location, urlResponse: response, handler: { res in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:216:4: warning: capture of 'session' with non-sendable type 'URLSession' in a `@Sendable` closure
session.delegateQueue.addOperation{
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:468:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: url, urlResponse: response, handler: { result in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[341/362] Compiling URLRequestOperation URLRequestOperationSessionDelegateProxy.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:148:10: warning: TODO: Properly manage resume data
#warning("TODO: Properly manage resume data")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:215:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: location, urlResponse: response, handler: { res in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:216:4: warning: capture of 'session' with non-sendable type 'URLSession' in a `@Sendable` closure
session.delegateQueue.addOperation{
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:468:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: url, urlResponse: response, handler: { result in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[342/362] Compiling URLRequestOperation URLSessionDelegates.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:148:10: warning: TODO: Properly manage resume data
#warning("TODO: Properly manage resume data")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:215:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: location, urlResponse: response, handler: { res in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:216:4: warning: capture of 'session' with non-sendable type 'URLSession' in a `@Sendable` closure
session.delegateQueue.addOperation{
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:468:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: url, urlResponse: response, handler: { result in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[343/362] Compiling URLRequestOperation NotifNameGetter.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:148:10: warning: TODO: Properly manage resume data
#warning("TODO: Properly manage resume data")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:215:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: location, urlResponse: response, handler: { res in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:216:4: warning: capture of 'session' with non-sendable type 'URLSession' in a `@Sendable` closure
session.delegateQueue.addOperation{
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:468:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: url, urlResponse: response, handler: { result in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[344/362] Compiling URLRequestOperation ReachabilityObserver.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:148:10: warning: TODO: Properly manage resume data
#warning("TODO: Properly manage resume data")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:215:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: location, urlResponse: response, handler: { res in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:216:4: warning: capture of 'session' with non-sendable type 'URLSession' in a `@Sendable` closure
session.delegateQueue.addOperation{
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:219:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:468:19: warning: type 'URL' does not conform to the 'Sendable' protocol
resultProcessor.transform(source: url, urlResponse: response, handler: { result in
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:471:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[345/362] Emitting module URLRequestOperation
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/HTTPContentCoder+JSON.swift:28:1: warning: conformance to 'Sendable' must occur in the same source file as class 'JSONEncoder'; use '@unchecked Sendable' for retroactive conformance
extension JSONEncoder : HTTPContentEncoder {
^
Foundation.JSONEncoder:36:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'JSONEncoder' is mutable
open var outputFormatting: JSONEncoder.OutputFormatting
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/HTTPContentCoder+JSON.swift:62:1: warning: conformance to 'Sendable' must occur in the same source file as class 'JSONDecoder'; use '@unchecked Sendable' for retroactive conformance
extension JSONDecoder : HTTPContentDecoder {
^
Foundation.JSONDecoder:25:14: warning: stored property 'dateDecodingStrategy' of 'Sendable'-conforming class 'JSONDecoder' is mutable
open var dateDecodingStrategy: JSONDecoder.DateDecodingStrategy
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Glue/RetryCountsHolder.swift:22:13: warning: let 'safeGlobalLock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private let safeGlobalLock = NSLock()
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:90:7: warning: associated value 'noOrInvalidContentType' of 'Sendable'-conforming enum 'DecodeHTTPContentResultProcessorError' has non-sendable type 'URLResponse'
case noOrInvalidContentType(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.ResultType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLMoveResultProcessor.swift:28:15: warning: type 'URLMoveResultProcessor.SourceType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLMoveResultProcessor : ResultProcessor, @unchecked Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLToFileHandleResultProcessor.swift:24:15: warning: type 'URLToFileHandleResultProcessor.ResultType' (aka 'FileHandle') does not conform to the 'Sendable' protocol
public struct URLToFileHandleResultProcessor : ResultProcessor, Sendable {
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLToFileHandleResultProcessor.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Result Processors/URLToFileHandleResultProcessor.swift:24:15: warning: type 'URLToFileHandleResultProcessor.SourceType' (aka 'URL') does not conform to the 'Sendable' protocol
public struct URLToFileHandleResultProcessor : ResultProcessor, Sendable {
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Providers/NetworkErrorRetryProvider.swift:12:20: warning: static property 'URLRequestOperationNetworkErrorRetryProviderShouldResetRetryCount' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationNetworkErrorRetryProviderShouldResetRetryCount = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.NetworkErrorRetryProviderShouldResetRetryCount")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:41:13: warning: type 'URL' does not conform to the 'Sendable' protocol
public let resultProcessor: AnyResultProcessor<URL, ResultType>
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:81:21: warning: type 'URL' does not conform to the 'Sendable' protocol
public convenience init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation.swift:98:11: warning: type 'URL' does not conform to the 'Sendable' protocol
internal init(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:28:12: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Public Session Delegate/URLRequestOperationSessionDelegate.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/tmp/swift-generated-sources/@__swiftmacro_19URLRequestOperation0aB6ConfigO21defaultStringEncoding10SafeGlobalfMp_.swift:1:20: warning: static property '_defaultStringEncoding' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _defaultStringEncoding: SafeGlobal<String.Encoding> = SafeGlobal(wrappedValue: .utf8)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:117:2: note: in expansion of macro 'SafeGlobal' on static property 'defaultStringEncoding' here
@SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:192:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'APIResultErrorWrapper' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:26:13: warning: stored property 'finalURLRequest' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLRequest'
public var finalURLRequest: URLRequest
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:28:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[346/362] Compiling URLRequestOperation URLRequestDataOperation+APIs-UntypedError.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:36:89: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
resultProcessor: DecodeDataResultProcessor(decoder: { try dataToString($0, encoding: encoding) }).erased,
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:281:10: warning: TODO
#warning("TODO")
^~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:52:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return Self.forReadingFile(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:54:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return Self.forSavingFile(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[347/362] Compiling URLRequestOperation URLRequestDataOperation+Data.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:36:89: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
resultProcessor: DecodeDataResultProcessor(decoder: { try dataToString($0, encoding: encoding) }).erased,
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:281:10: warning: TODO
#warning("TODO")
^~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:52:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return Self.forReadingFile(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:54:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return Self.forSavingFile(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[348/362] Compiling URLRequestOperation URLRequestDataOperation+Images.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:36:89: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
resultProcessor: DecodeDataResultProcessor(decoder: { try dataToString($0, encoding: encoding) }).erased,
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:281:10: warning: TODO
#warning("TODO")
^~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:52:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return Self.forReadingFile(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:54:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return Self.forSavingFile(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[349/362] Compiling URLRequestOperation URLRequestDataOperation+String.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:36:89: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
resultProcessor: DecodeDataResultProcessor(decoder: { try dataToString($0, encoding: encoding) }).erased,
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:281:10: warning: TODO
#warning("TODO")
^~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:52:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return Self.forReadingFile(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:54:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return Self.forSavingFile(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[350/362] Compiling URLRequestOperation URLRequestDataOperation.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:36:89: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
resultProcessor: DecodeDataResultProcessor(decoder: { try dataToString($0, encoding: encoding) }).erased,
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:281:10: warning: TODO
#warning("TODO")
^~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:52:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return Self.forReadingFile(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:54:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return Self.forSavingFile(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[351/362] Compiling URLRequestOperation URLRequestDownloadOperation+Open.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:36:89: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
resultProcessor: DecodeDataResultProcessor(decoder: { try dataToString($0, encoding: encoding) }).erased,
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:281:10: warning: TODO
#warning("TODO")
^~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:52:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return Self.forReadingFile(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:54:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return Self.forSavingFile(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[352/362] Compiling URLRequestOperation URLRequestDownloadOperation+Save.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:71:13: warning: stored property 'expectedEncoding' of 'Sendable'-conforming struct 'StringConversionError' has non-sendable type 'String.Encoding'
public let expectedEncoding: String.Encoding
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation+String.swift:36:89: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
resultProcessor: DecodeDataResultProcessor(decoder: { try dataToString($0, encoding: encoding) }).erased,
^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
public struct Encoding : RawRepresentable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:190:14: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:27:20: warning: static property 'URLRequestOperationDidSucceedURLSessionTask' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationDidSucceedURLSessionTask = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.DidSucceedURLSessionTask")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:281:10: warning: TODO
#warning("TODO")
^~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDataOperation.swift:535:89: warning: capture of 'response' with non-sendable type 'URLResponse' in a `@Sendable` closure
.map{ URLRequestOperationResult(finalURLRequest: self.currentRequest, urlResponse: response, result: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:29:20: warning: static property 'URLRequestOperationWillFinishOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillFinishOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillFinishOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift:28:20: warning: static property 'URLRequestOperationWillSucceedOperation' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let URLRequestOperationWillSucceedOperation = NSNotification.Name(rawValue: "com.happn.URLRequestOperation.WillSucceedOperation")
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:33:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Open.swift:52:10: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
return Self.forReadingFile(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:34:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return URLRequestDownloadOperation(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/Operations/URLRequestDownloadOperation+Save.swift:54:10: warning: type 'URL' does not conform to the 'Sendable' protocol
return Self.forSavingFile(
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[353/362] Compiling URLRequestOperation ReachabilitySubscriber.swift
/tmp/swift-generated-sources/@__swiftmacro_19URLRequestOperation0aB6ConfigO21defaultStringEncoding10SafeGlobalfMp_.swift:1:20: warning: static property '_defaultStringEncoding' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _defaultStringEncoding: SafeGlobal<String.Encoding> = SafeGlobal(wrappedValue: .utf8)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:117:2: note: in expansion of macro 'SafeGlobal' on static property 'defaultStringEncoding' here
@SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:192:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'APIResultErrorWrapper' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:26:13: warning: stored property 'finalURLRequest' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLRequest'
public var finalURLRequest: URLRequest
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:28:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[354/362] Compiling URLRequestOperation SockaddrWrapper.swift
/tmp/swift-generated-sources/@__swiftmacro_19URLRequestOperation0aB6ConfigO21defaultStringEncoding10SafeGlobalfMp_.swift:1:20: warning: static property '_defaultStringEncoding' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _defaultStringEncoding: SafeGlobal<String.Encoding> = SafeGlobal(wrappedValue: .utf8)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:117:2: note: in expansion of macro 'SafeGlobal' on static property 'defaultStringEncoding' here
@SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:192:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'APIResultErrorWrapper' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:26:13: warning: stored property 'finalURLRequest' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLRequest'
public var finalURLRequest: URLRequest
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:28:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[355/362] Compiling URLRequestOperation URLRequestOperation.swift
/tmp/swift-generated-sources/@__swiftmacro_19URLRequestOperation0aB6ConfigO21defaultStringEncoding10SafeGlobalfMp_.swift:1:20: warning: static property '_defaultStringEncoding' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _defaultStringEncoding: SafeGlobal<String.Encoding> = SafeGlobal(wrappedValue: .utf8)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:117:2: note: in expansion of macro 'SafeGlobal' on static property 'defaultStringEncoding' here
@SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:192:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'APIResultErrorWrapper' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:26:13: warning: stored property 'finalURLRequest' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLRequest'
public var finalURLRequest: URLRequest
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:28:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[356/362] Compiling URLRequestOperation URLRequestOperationConfig.swift
/tmp/swift-generated-sources/@__swiftmacro_19URLRequestOperation0aB6ConfigO21defaultStringEncoding10SafeGlobalfMp_.swift:1:20: warning: static property '_defaultStringEncoding' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _defaultStringEncoding: SafeGlobal<String.Encoding> = SafeGlobal(wrappedValue: .utf8)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:117:2: note: in expansion of macro 'SafeGlobal' on static property 'defaultStringEncoding' here
@SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:192:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'APIResultErrorWrapper' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:26:13: warning: stored property 'finalURLRequest' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLRequest'
public var finalURLRequest: URLRequest
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:28:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[357/362] Compiling URLRequestOperation URLRequestOperationErrors.swift
/tmp/swift-generated-sources/@__swiftmacro_19URLRequestOperation0aB6ConfigO21defaultStringEncoding10SafeGlobalfMp_.swift:1:20: warning: static property '_defaultStringEncoding' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _defaultStringEncoding: SafeGlobal<String.Encoding> = SafeGlobal(wrappedValue: .utf8)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:117:2: note: in expansion of macro 'SafeGlobal' on static property 'defaultStringEncoding' here
@SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:192:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'APIResultErrorWrapper' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:26:13: warning: stored property 'finalURLRequest' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLRequest'
public var finalURLRequest: URLRequest
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:28:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[358/362] Compiling URLRequestOperation URLRequestOperationResult.swift
/tmp/swift-generated-sources/@__swiftmacro_19URLRequestOperation0aB6ConfigO21defaultStringEncoding10SafeGlobalfMp_.swift:1:20: warning: static property '_defaultStringEncoding' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _defaultStringEncoding: SafeGlobal<String.Encoding> = SafeGlobal(wrappedValue: .utf8)
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:117:2: note: in expansion of macro 'SafeGlobal' on static property 'defaultStringEncoding' here
@SafeGlobal public static var defaultStringEncoding: String.Encoding = .utf8
^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:192:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'APIResultErrorWrapper' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationErrors.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:26:13: warning: stored property 'finalURLRequest' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLRequest'
public var finalURLRequest: URLRequest
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:18:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationResult.swift:28:13: warning: stored property 'urlResponse' of 'Sendable'-conforming generic struct 'URLRequestOperationResult' has non-sendable type 'URLResponse'
public var urlResponse: URLResponse
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[359/363] Wrapping AST for URLRequestOperation for debugging
[361/365] Emitting module URLRequestOperationManualTest
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:98:18: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
let operation2 = URLRequestDownloadOperation<FileHandle>(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:98:56: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
let operation2 = URLRequestDownloadOperation<FileHandle>(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:98:5: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
let operation2 = URLRequestDownloadOperation<FileHandle>(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:113:18: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
print(operation2.result)
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
[362/365] Compiling URLRequestOperationManualTest main.swift
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:98:18: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
let operation2 = URLRequestDownloadOperation<FileHandle>(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:16:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:98:56: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
let operation2 = URLRequestDownloadOperation<FileHandle>(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:98:5: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
let operation2 = URLRequestDownloadOperation<FileHandle>(
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
/host/spi-builder-workspace/Sources/URLRequestOperationManualTest/main.swift:113:18: warning: type 'FileHandle' does not conform to the 'Sendable' protocol
print(operation2.result)
^
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
open class FileHandle : NSObject {
^
[363/366] Wrapping AST for URLRequestOperationManualTest for debugging
[364/366] Write Objects.LinkFileList
[365/366] Linking URLRequestOperationManualTest
Build complete! (108.86s)
Build complete.
Done.