The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of URLRequestOperation, reference 1.1.10 (2b0895), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 21:34:27 UTC.

Swift 6 data race errors: 8

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/URLRequestOperation.git
Reference: 1.1.10
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/URLRequestOperation
 * tag               1.1.10     -> FETCH_HEAD
HEAD is now at 2b08958 Update dependencies paths
Cloned https://github.com/Frizlab/URLRequestOperation.git
Revision (git rev-parse @):
2b08958a51c64e3a10693cceeba0affadfbf8607
SUCCESS checkout https://github.com/Frizlab/URLRequestOperation.git at 1.1.10
Fetching https://github.com/happn-app/AsyncOperationResult.git
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/happn-app/SemiSingleton.git
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
Fetching https://github.com/apple/swift-log.git
[1/169] Fetching asyncoperationresult
[32/347] Fetching asyncoperationresult, recursivesyncdispatch
[348/768] Fetching asyncoperationresult, recursivesyncdispatch, semisingleton
[479/1163] Fetching asyncoperationresult, recursivesyncdispatch, semisingleton, retryingoperation
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.70s)
[384/4645] Fetching asyncoperationresult, semisingleton, retryingoperation, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.11s)
Fetched https://github.com/happn-app/RetryingOperation.git from cache (1.12s)
Fetched https://github.com/happn-app/AsyncOperationResult.git from cache (1.12s)
Fetched https://github.com/happn-app/SemiSingleton.git from cache (1.12s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.68s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.7 (0.68s)
Computing version for https://github.com/happn-app/AsyncOperationResult.git
Computed https://github.com/happn-app/AsyncOperationResult.git at 1.0.7 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.68s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.64s)
Creating working copy for https://github.com/happn-app/RecursiveSyncDispatch.git
Working copy of https://github.com/happn-app/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/happn-app/RetryingOperation.git
Working copy of https://github.com/happn-app/RetryingOperation.git resolved at 1.1.7
Creating working copy for https://github.com/happn-app/AsyncOperationResult.git
Working copy of https://github.com/happn-app/AsyncOperationResult.git resolved at 1.0.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.2
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.0.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "urlrequestoperation",
      "name": "URLRequestOperation",
      "url": "https://github.com/Frizlab/URLRequestOperation.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/URLRequestOperation",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "asyncoperationresult",
          "name": "AsyncOperationResult",
          "url": "https://github.com/happn-app/AsyncOperationResult.git",
          "version": "1.0.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncOperationResult",
          "dependencies": [
          ]
        },
        {
          "identity": "retryingoperation",
          "name": "RetryingOperation",
          "url": "https://github.com/happn-app/RetryingOperation.git",
          "version": "1.1.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RetryingOperation",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "semisingleton",
          "name": "SemiSingleton",
          "url": "https://github.com/happn-app/SemiSingleton.git",
          "version": "2.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SemiSingleton",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            },
            {
              "identity": "recursivesyncdispatch",
              "name": "RecursiveSyncDispatch",
              "url": "https://github.com/happn-app/RecursiveSyncDispatch.git",
              "version": "1.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RecursiveSyncDispatch",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Frizlab/URLRequestOperation.git
[1/2655] Fetching urlrequestoperation
Fetched https://github.com/Frizlab/URLRequestOperation.git from cache (0.97s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/happn-app/SemiSingleton.git from cache
Fetching https://github.com/happn-app/RetryingOperation.git from cache
Fetching https://github.com/happn-app/AsyncOperationResult.git from cache
Fetched https://github.com/happn-app/RetryingOperation.git from cache (0.59s)
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
Fetched https://github.com/happn-app/AsyncOperationResult.git from cache (0.59s)
Fetched https://github.com/happn-app/SemiSingleton.git from cache (0.59s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.02s)
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git from cache
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.46s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.02s)
Computing version for https://github.com/happn-app/AsyncOperationResult.git
Computed https://github.com/happn-app/AsyncOperationResult.git at 1.0.7 (0.02s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.46s)
Creating working copy for https://github.com/Frizlab/URLRequestOperation.git
Working copy of https://github.com/Frizlab/URLRequestOperation.git resolved at 1.1.10 (2b08958)
Creating working copy for https://github.com/happn-app/RecursiveSyncDispatch.git
Working copy of https://github.com/happn-app/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/happn-app/AsyncOperationResult.git
Working copy of https://github.com/happn-app/AsyncOperationResult.git resolved at 1.0.7
Creating working copy for https://github.com/happn-app/RetryingOperation.git
Working copy of https://github.com/happn-app/RetryingOperation.git resolved at 1.1.8
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.0.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
warning: '.resolve-product-dependencies': dependency 'urlrequestoperation' is not used by any target
Found 4 product dependencies
  - swift-log
  - AsyncOperationResult
  - RetryingOperation
  - SemiSingleton
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Frizlab/URLRequestOperation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/12] Write sources
[2/12] Write ManualTest-entitlement.plist
[2/12] Write sources
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/20] Compiling Logging LogHandler.swift
[11/20] Emitting module Logging
[12/20] Compiling Logging Locks.swift
[13/20] Compiling Logging Logging.swift
[14/25] Emitting module AsyncOperationResult
[15/25] Compiling AsyncOperationResult AsyncOperationResult.swift
[16/25] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[17/25] Emitting module RecursiveSyncDispatch
[18/29] Compiling RetryingOperation WrappedRetryingOperation.swift
[19/29] Compiling SemiSingleton SemiSingletonConfig.swift
[20/29] Compiling RetryingOperation RetryHelper.swift
[21/29] Compiling RetryingOperation RetryingOperationConfig.swift
[22/29] Emitting module RetryingOperation
[23/29] Compiling RetryingOperation RetryingOperation.swift
[24/29] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[25/29] Compiling SemiSingleton SemiSingletonStore.swift
[26/29] Emitting module SemiSingleton
[27/38] Compiling URLRequestOperation URLRequestOperationSessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : GenericURLSessionDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
   |            `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationSessionDelegate.swift:27:117: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
23 | open class URLRequestOperationSessionDelegate : GenericURLSessionDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
   |                                                                                                                `- note: parameter 'completionHandler' is implicitly non-sendable
26 | 		#if !os(Linux)
27 | 			taskDelegateForTask(dataTask)?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler)
   |                                                                                                                     `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
28 | 		#else
29 | 			taskDelegateForTask(dataTask)?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler)
[28/38] Compiling URLRequestOperation ReachabilitySubscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/ReachabilitySubscriber.swift:24:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
22 |
23 | @objc
24 | public protocol ReachabilitySubscriber : class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
25 | 	/* We do not have optional methods in a protocol in (pure) Swift. So we cheat
26 | 	 * and use the ObjC feature.
[29/38] Compiling URLRequestOperation ReachabilityObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:21: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | 	#if canImport(os)
51 | 		@available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
52 | 		public static var oslog: OSLog? = .default
   |                     |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:54:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | 		public static var oslog: OSLog? = .default
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
   |                    |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | 		#if canImport(os)
56 | 		if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[30/38] Compiling URLRequestOperation SockaddrWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:21: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | 	#if canImport(os)
51 | 		@available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
52 | 		public static var oslog: OSLog? = .default
   |                     |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:54:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | 		public static var oslog: OSLog? = .default
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
   |                    |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | 		#if canImport(os)
56 | 		if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[31/38] Compiling URLRequestOperation URLRequestOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:299:21: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 297 | 	/** For debug purpose only: An arbitrary identifier for the operation. */
 298 | 	public let urlOperationIdentifier: Int
 299 | 	private static var latestURLOperationIdentifier = 0
     |                     |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: annotate 'latestURLOperationIdentifier' with '@MainActor' if property should only be accessed from the main actor
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 300 |
 301 | 	/* ************
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:109:12: warning: class 'URLRequestOperation' must restate inherited '@unchecked Sendable' conformance
 107 |      If the operation is told to be retried, when it is retried, we simply go
 108 |      back to step 2. (The URL is re-processed, etc.) */
 109 | open class URLRequestOperation : RetryingOperation, URLSessionDataDelegate, URLSessionDownloadDelegate {
     |            `- warning: class 'URLRequestOperation' must restate inherited '@unchecked Sendable' conformance
 110 |
 111 | 	public enum URLRequestOperationError : Int, Error {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:21: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | 	#if canImport(os)
51 | 		@available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
52 | 		public static var oslog: OSLog? = .default
   |                     |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:54:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | 		public static var oslog: OSLog? = .default
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
   |                    |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | 		#if canImport(os)
56 | 		if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:450:150: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 448 | 			}
 449 | 		}
 450 | 		if let queueForProcessingURLRequestForRunning = config.queueForProcessingURLRequestForRunning {queueForProcessingURLRequestForRunning.addOperation(processURLBlock)}
     |                                                                                                                                                      `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 451 | 		else                                                                                          {processURLBlock()}
 452 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:67:20: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | 	public static var logFetchedStrings = false
66 | 	/** Log everything URL Session related in the file at the given URL. */
67 | 	public static var debugLogURL: URL?
   |                    |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | 	/** This struct is simply a container for static configuration properties. */
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:531:62: warning: passing non-sendable parameter 'dataCompletionHandler' to function expecting a @Sendable closure
 525 | 	*/
 526 | 	open func urlSessionTaskForURLRequest(_ request: URLRequest,
 527 | 		withDataCompletionHandler dataCompletionHandler: @escaping (Data?, URLResponse?, Error?) -> Void,
     |                             `- note: parameter 'dataCompletionHandler' is implicitly non-sendable
 528 | 		downloadCompletionHandler: @escaping (URL?, URLResponse?, Error?) -> Void
 529 | 	) -> URLSessionTask {
 530 | 		return (config.destinationURL == nil ?
 531 | 			config.session.dataTask(with: request, completionHandler: dataCompletionHandler) :
     |                                                              `- warning: passing non-sendable parameter 'dataCompletionHandler' to function expecting a @Sendable closure
 532 | 			config.session.downloadTask(with: request, completionHandler: downloadCompletionHandler)
 533 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:532:66: warning: passing non-sendable parameter 'downloadCompletionHandler' to function expecting a @Sendable closure
 526 | 	open func urlSessionTaskForURLRequest(_ request: URLRequest,
 527 | 		withDataCompletionHandler dataCompletionHandler: @escaping (Data?, URLResponse?, Error?) -> Void,
 528 | 		downloadCompletionHandler: @escaping (URL?, URLResponse?, Error?) -> Void
     |   `- note: parameter 'downloadCompletionHandler' is implicitly non-sendable
 529 | 	) -> URLSessionTask {
 530 | 		return (config.destinationURL == nil ?
 531 | 			config.session.dataTask(with: request, completionHandler: dataCompletionHandler) :
 532 | 			config.session.downloadTask(with: request, completionHandler: downloadCompletionHandler)
     |                                                                  `- warning: passing non-sendable parameter 'downloadCompletionHandler' to function expecting a @Sendable closure
 533 | 		)
 534 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:20: warning: static property 'logFetchedStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | 	/** When data has been fetched from a server, if it is a valid UTF-8 string,
64 | 	should we log it? Set to true for debug purpose. */
65 | 	public static var logFetchedStrings = false
   |                    |- warning: static property 'logFetchedStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logFetchedStrings' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logFetchedStrings' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | 	/** Log everything URL Session related in the file at the given URL. */
67 | 	public static var debugLogURL: URL?
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:983:114: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 981 | 			}
 982 | 		}
 983 | 		if let queueForComputingRetryInfo = config.queueForComputingRetryInfo {queueForComputingRetryInfo.addOperation(computeRetryInfoBlock)}
     |                                                                                                                  `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 984 | 		else                                                                  {computeRetryInfoBlock()}
 985 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:1040:28: warning: capture of 'self' with non-sendable type 'URLRequestOperation.OtherSuccessRetryHelper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1026 | 	#endif
1027 |
1028 | 	private class OtherSuccessRetryHelper : RetryHelper {
     |                `- note: class 'OtherSuccessRetryHelper' does not conform to the 'Sendable' protocol
1029 |
1030 | 		init?(host h: String?, operation op: URLRequestOperation) {
     :
1038 | 			otherSuccessObserver = NotificationCenter.default.addObserver(forName: .URLRequestOperationDidSucceedOperation, object: nil, queue: nil) { notif in
1039 | 				let succeededHost = notif.userInfo?[URLRequestOperation.requestSucceededNotifUserInfoHostKey] as? String
1040 | 				guard succeededHost == self.host else {return}
     |                            `- warning: capture of 'self' with non-sendable type 'URLRequestOperation.OtherSuccessRetryHelper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1041 |
1042 | 				#if canImport(os)
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:1044:172: warning: capture of 'self' with non-sendable type 'URLRequestOperation.OtherSuccessRetryHelper' in an isolated closure; this is an error in the Swift 6 language mode
1026 | 	#endif
1027 |
1028 | 	private class OtherSuccessRetryHelper : RetryHelper {
     |                `- note: class 'OtherSuccessRetryHelper' does not conform to the 'Sendable' protocol
1029 |
1030 | 		init?(host h: String?, operation op: URLRequestOperation) {
     :
1042 | 				#if canImport(os)
1043 | 				if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
1044 | 					URLRequestOperationConfig.oslog.flatMap{ os_log("URL Op id %d: Got an URL operation succeeded with same host as me. Forcing retrying sooner.", log: $0, type: .debug, self.operation.urlOperationIdentifier) }}
     |                                                                                                                                                                            `- warning: capture of 'self' with non-sendable type 'URLRequestOperation.OtherSuccessRetryHelper' in an isolated closure; this is an error in the Swift 6 language mode
1045 | 				#endif
1046 | 				URLRequestOperationConfig.logger?.debug("URL Op id \(self.operation.urlOperationIdentifier): Got an URL operation succeeded with same host as me. Forcing retrying sooner.")
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:1046:58: warning: implicit capture of 'self' requires that 'URLRequestOperation.OtherSuccessRetryHelper' conforms to `Sendable`; this is an error in the Swift 6 language mode
1026 | 	#endif
1027 |
1028 | 	private class OtherSuccessRetryHelper : RetryHelper {
     |                `- note: class 'OtherSuccessRetryHelper' does not conform to the 'Sendable' protocol
1029 |
1030 | 		init?(host h: String?, operation op: URLRequestOperation) {
     :
1044 | 					URLRequestOperationConfig.oslog.flatMap{ os_log("URL Op id %d: Got an URL operation succeeded with same host as me. Forcing retrying sooner.", log: $0, type: .debug, self.operation.urlOperationIdentifier) }}
1045 | 				#endif
1046 | 				URLRequestOperationConfig.logger?.debug("URL Op id \(self.operation.urlOperationIdentifier): Got an URL operation succeeded with same host as me. Forcing retrying sooner.")
     |                                                          `- warning: implicit capture of 'self' requires that 'URLRequestOperation.OtherSuccessRetryHelper' conforms to `Sendable`; this is an error in the Swift 6 language mode
1047 | 				self.operation.retry(in: self.operation.exponentialBackoffTimeForIndex(1))
1048 | 			}
[32/38] Compiling URLRequestOperation LinuxWeakToWeakMapTable.swift
[33/38] Emitting module URLRequestOperation
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:37:12: warning: non-final class 'GenericURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
35 | The URLSessionDelegates and URLSessionTask are not retained by this class (weak
36 | references). */
37 | open class GenericURLSessionDelegate : NSObject, URLSessionDelegate {
   |            `- warning: non-final class 'GenericURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
38 |
39 | 	public func setTaskDelegate(_ delegate: AnyObject & URLSessionTaskDelegate, forTask task: URLSessionTask) {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:65:15: warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
63 | 	private let queueSyncForMapTable = DispatchQueue(label: "com.happn.URLRequestOperation.GenericURLSessionDelegate")
64 | 	#if !os(Linux)
65 | 		private var taskToDelegate = NSMapTable<URLSessionTask, URLSessionTaskDelegate>.weakToWeakObjects()
   |               `- warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
66 | 	#else
67 | 		private var taskToDelegate = LinuxWeakToWeakForGenericURLSessionDelegateMapTable()
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/ReachabilitySubscriber.swift:24:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
22 |
23 | @objc
24 | public protocol ReachabilitySubscriber : class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
25 | 	/* We do not have optional methods in a protocol in (pure) Swift. So we cheat
26 | 	 * and use the ObjC feature.
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:299:21: warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 297 | 	/** For debug purpose only: An arbitrary identifier for the operation. */
 298 | 	public let urlOperationIdentifier: Int
 299 | 	private static var latestURLOperationIdentifier = 0
     |                     |- warning: static property 'latestURLOperationIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'latestURLOperationIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: annotate 'latestURLOperationIdentifier' with '@MainActor' if property should only be accessed from the main actor
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 300 |
 301 | 	/* ************
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:109:12: warning: class 'URLRequestOperation' must restate inherited '@unchecked Sendable' conformance
 107 |      If the operation is told to be retried, when it is retried, we simply go
 108 |      back to step 2. (The URL is re-processed, etc.) */
 109 | open class URLRequestOperation : RetryingOperation, URLSessionDataDelegate, URLSessionDownloadDelegate {
     |            `- warning: class 'URLRequestOperation' must restate inherited '@unchecked Sendable' conformance
 110 |
 111 | 	public enum URLRequestOperationError : Int, Error {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:21: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | 	#if canImport(os)
51 | 		@available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
52 | 		public static var oslog: OSLog? = .default
   |                     |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:54:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | 		public static var oslog: OSLog? = .default
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
   |                    |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | 		#if canImport(os)
56 | 		if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:20: warning: static property 'logFetchedStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | 	/** When data has been fetched from a server, if it is a valid UTF-8 string,
64 | 	should we log it? Set to true for debug purpose. */
65 | 	public static var logFetchedStrings = false
   |                    |- warning: static property 'logFetchedStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logFetchedStrings' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logFetchedStrings' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | 	/** Log everything URL Session related in the file at the given URL. */
67 | 	public static var debugLogURL: URL?
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:67:20: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | 	public static var logFetchedStrings = false
66 | 	/** Log everything URL Session related in the file at the given URL. */
67 | 	public static var debugLogURL: URL?
   |                    |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | 	/** This struct is simply a container for static configuration properties. */
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : GenericURLSessionDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
   |            `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
24 |
25 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[34/38] Compiling URLRequestOperation URLRequestOperationConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:52:21: warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | 	#if canImport(os)
51 | 		@available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
52 | 		public static var oslog: OSLog? = .default
   |                     |- warning: static property 'oslog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'oslog' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'oslog' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:54:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | 		public static var oslog: OSLog? = .default
53 | 	#endif
54 | 	public static var logger: Logging.Logger? = {
   |                    |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | 		#if canImport(os)
56 | 		if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:65:20: warning: static property 'logFetchedStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | 	/** When data has been fetched from a server, if it is a valid UTF-8 string,
64 | 	should we log it? Set to true for debug purpose. */
65 | 	public static var logFetchedStrings = false
   |                    |- warning: static property 'logFetchedStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'logFetchedStrings' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logFetchedStrings' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | 	/** Log everything URL Session related in the file at the given URL. */
67 | 	public static var debugLogURL: URL?
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationConfig.swift:67:20: warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | 	public static var logFetchedStrings = false
66 | 	/** Log everything URL Session related in the file at the given URL. */
67 | 	public static var debugLogURL: URL?
   |                    |- warning: static property 'debugLogURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'debugLogURL' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'debugLogURL' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | 	/** This struct is simply a container for static configuration properties. */
[35/38] Compiling URLRequestOperation GenericURLSessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:37:12: warning: non-final class 'GenericURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
35 | The URLSessionDelegates and URLSessionTask are not retained by this class (weak
36 | references). */
37 | open class GenericURLSessionDelegate : NSObject, URLSessionDelegate {
   |            `- warning: non-final class 'GenericURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
38 |
39 | 	public func setTaskDelegate(_ delegate: AnyObject & URLSessionTaskDelegate, forTask task: URLSessionTask) {
/Users/admin/builder/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:65:15: warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
63 | 	private let queueSyncForMapTable = DispatchQueue(label: "com.happn.URLRequestOperation.GenericURLSessionDelegate")
64 | 	#if !os(Linux)
65 | 		private var taskToDelegate = NSMapTable<URLSessionTask, URLSessionTaskDelegate>.weakToWeakObjects()
   |               `- warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
66 | 	#else
67 | 		private var taskToDelegate = LinuxWeakToWeakForGenericURLSessionDelegateMapTable()
[36/40] Emitting module ManualTest
[37/40] Compiling ManualTest main.swift
[37/40] Write Objects.LinkFileList
[38/40] Linking ManualTest
[39/40] Applying ManualTest
Build complete! (13.11s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "asyncoperationresult",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-app/AsyncOperationResult.git"
    },
    {
      "identity" : "retryingoperation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-app/RetryingOperation.git"
    },
    {
      "identity" : "semisingleton",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-app/SemiSingleton.git"
    }
  ],
  "manifest_display_name" : "URLRequestOperation",
  "name" : "URLRequestOperation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "URLRequestOperation",
      "targets" : [
        "URLRequestOperation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ManualTest",
      "targets" : [
        "ManualTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLRequestOperationTests",
      "module_type" : "SwiftTarget",
      "name" : "URLRequestOperationTests",
      "path" : "Tests/URLRequestOperationTests",
      "sources" : [
        "IPUtilsTests.swift",
        "ReachabilityTests.swift",
        "URLRequestOperationTests.swift"
      ],
      "target_dependencies" : [
        "URLRequestOperation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLRequestOperation",
      "module_type" : "SwiftTarget",
      "name" : "URLRequestOperation",
      "path" : "Sources/URLRequestOperation",
      "product_dependencies" : [
        "AsyncOperationResult",
        "Logging",
        "RetryingOperation",
        "SemiSingleton"
      ],
      "product_memberships" : [
        "URLRequestOperation",
        "ManualTest"
      ],
      "sources" : [
        "GenericURLSessionDelegate.swift",
        "LinuxWeakToWeakMapTable.swift",
        "ReachabilityObserver.swift",
        "ReachabilitySubscriber.swift",
        "SockaddrWrapper.swift",
        "URLRequestOperation.swift",
        "URLRequestOperationConfig.swift",
        "URLRequestOperationSessionDelegate.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ManualTest",
      "module_type" : "SwiftTarget",
      "name" : "ManualTest",
      "path" : "Sources/ManualTest",
      "product_memberships" : [
        "ManualTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "URLRequestOperation"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Done.