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 WebRequest, reference master (4d8277), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 19:53:22 UTC.

Swift 6 data race errors: 7

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/quickthyme/webrequest.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/quickthyme/webrequest
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4d82778 Merge pull request #11 from matteozajac/feature/error-handler-for-data-task
Cloned https://github.com/quickthyme/webrequest.git
Revision (git rev-parse @):
4d82778042cfde758c371c7b4754fbaa1bf3e908
SUCCESS checkout https://github.com/quickthyme/webrequest.git at master
========================================
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": "webrequest",
      "name": "WebRequest",
      "url": "https://github.com/quickthyme/webrequest.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/webrequest",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/quickthyme/webrequest.git
[1/382] Fetching webrequest
Fetched https://github.com/quickthyme/webrequest.git from cache (0.77s)
Creating working copy for https://github.com/quickthyme/webrequest.git
Working copy of https://github.com/quickthyme/webrequest.git resolved at master (4d82778)
warning: '.resolve-product-dependencies': dependency 'webrequest' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/quickthyme/webrequest.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling WebRequest WebRequest+URLEncoder.swift
[4/17] Compiling WebRequest WebRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/WebRequest.swift:30:23: warning: static property 'isDisabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     public static var isDisabled: Bool = false
    |                       |- warning: static property 'isDisabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isDisabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'isDisabled' 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
 31 |
 32 |     public func execute() throws {
[5/18] Compiling WebRequest WebRequestSession.swift
[6/18] Compiling WebRequest WebRequestSessionProviding.swift
[7/18] Compiling WebRequest ProgressFileDownloadWebRequestDelivery.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:3:12: warning: non-final class 'ProgressFileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class ProgressFileDownloadWebRequestDelivery: FileDownloadWebRequestDelivery {
   |            `- warning: non-final class 'ProgressFileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     let divisor = pow(10.0, Double(2))
[8/18] Compiling WebRequest WebRequestManager+State.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:3:12: warning: non-final class 'ProgressFileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class ProgressFileDownloadWebRequestDelivery: FileDownloadWebRequestDelivery {
   |            `- warning: non-final class 'ProgressFileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     let divisor = pow(10.0, Double(2))
[9/18] Compiling WebRequest BasicHTTPResultValidator.swift
[10/18] Compiling WebRequest WebRequest+Result.swift
[11/18] Compiling WebRequest WebRequestManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:50:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebRequestManager' may have shared mutable state; this is an error in the Swift 6 language mode
  6 | extension NotificationCenter: WRNotificationCenterInterface {}
  7 |
  8 | public class WebRequestManager: WebRequestManaging {
    |              `- note: class 'WebRequestManager' does not conform to the 'Sendable' protocol
  9 |
 10 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
    :
 48 |     internal lazy var notificationCenter: WRNotificationCenterInterface = NotificationCenter.default
 49 |
 50 |     public static let shared = WebRequestManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebRequestManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 51 |
 52 |     private init() { /**/ }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:144:26: warning: capture of 'wrapper' with non-sendable type 'WebRequestManager.Wrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 |                 wrapper.modifiedRequest = applySession(wrapper.modifiedRequest, session)
143 |                 execQueue.async {
144 |                     try? wrapper.execute()
    |                          `- warning: capture of 'wrapper' with non-sendable type 'WebRequestManager.Wrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |                 }
146 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager+State.swift:13:11: note: class 'Wrapper' does not conform to the 'Sendable' protocol
11 |     }
12 |
13 |     class Wrapper: Hashable {
   |           `- note: class 'Wrapper' does not conform to the 'Sendable' protocol
14 |
15 |         public typealias OnStateChange = (Wrapper) -> ()
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:164:17: warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 | extension NotificationCenter: WRNotificationCenterInterface {}
  7 |
  8 | public class WebRequestManager: WebRequestManaging {
    |              `- note: class 'WebRequestManager' does not conform to the 'Sendable' protocol
  9 |
 10 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
    :
162 |         if wrapper.state == .unauthorized {
163 |             DispatchQueue.main.async {
164 |                 self.notificationCenter.post(self.UnauthorizedResponseNotification)
    |                 `- warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
165 |             }
166 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:178:13: warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 | extension NotificationCenter: WRNotificationCenterInterface {}
  7 |
  8 | public class WebRequestManager: WebRequestManaging {
    |              `- note: class 'WebRequestManager' does not conform to the 'Sendable' protocol
  9 |
 10 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
    :
176 |         isRefreshing = true
177 |         execQueue.async {
178 |             self.sessionProvider.refresh()
    |             `- warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 |         }
180 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:164:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
162 |         if wrapper.state == .unauthorized {
163 |             DispatchQueue.main.async {
164 |                 self.notificationCenter.post(self.UnauthorizedResponseNotification)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
165 |             }
166 |         }
[12/18] Compiling WebRequest WebRequestManaging.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:50:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebRequestManager' may have shared mutable state; this is an error in the Swift 6 language mode
  6 | extension NotificationCenter: WRNotificationCenterInterface {}
  7 |
  8 | public class WebRequestManager: WebRequestManaging {
    |              `- note: class 'WebRequestManager' does not conform to the 'Sendable' protocol
  9 |
 10 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
    :
 48 |     internal lazy var notificationCenter: WRNotificationCenterInterface = NotificationCenter.default
 49 |
 50 |     public static let shared = WebRequestManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebRequestManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 51 |
 52 |     private init() { /**/ }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:144:26: warning: capture of 'wrapper' with non-sendable type 'WebRequestManager.Wrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 |                 wrapper.modifiedRequest = applySession(wrapper.modifiedRequest, session)
143 |                 execQueue.async {
144 |                     try? wrapper.execute()
    |                          `- warning: capture of 'wrapper' with non-sendable type 'WebRequestManager.Wrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |                 }
146 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager+State.swift:13:11: note: class 'Wrapper' does not conform to the 'Sendable' protocol
11 |     }
12 |
13 |     class Wrapper: Hashable {
   |           `- note: class 'Wrapper' does not conform to the 'Sendable' protocol
14 |
15 |         public typealias OnStateChange = (Wrapper) -> ()
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:164:17: warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 | extension NotificationCenter: WRNotificationCenterInterface {}
  7 |
  8 | public class WebRequestManager: WebRequestManaging {
    |              `- note: class 'WebRequestManager' does not conform to the 'Sendable' protocol
  9 |
 10 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
    :
162 |         if wrapper.state == .unauthorized {
163 |             DispatchQueue.main.async {
164 |                 self.notificationCenter.post(self.UnauthorizedResponseNotification)
    |                 `- warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
165 |             }
166 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:178:13: warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 | extension NotificationCenter: WRNotificationCenterInterface {}
  7 |
  8 | public class WebRequestManager: WebRequestManaging {
    |              `- note: class 'WebRequestManager' does not conform to the 'Sendable' protocol
  9 |
 10 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
    :
176 |         isRefreshing = true
177 |         execQueue.async {
178 |             self.sessionProvider.refresh()
    |             `- warning: capture of 'self' with non-sendable type 'WebRequestManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 |         }
180 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:164:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
162 |         if wrapper.state == .unauthorized {
163 |             DispatchQueue.main.async {
164 |                 self.notificationCenter.post(self.UnauthorizedResponseNotification)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
165 |             }
166 |         }
[13/18] Compiling WebRequest FileDownloadWebRequestDelivery.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:12: warning: non-final class 'FileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
   |            `- warning: non-final class 'FileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     open var targetURL : URL
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:12: warning: 'Sendable' class 'FileDownloadWebRequestDelivery' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
   |            `- warning: 'Sendable' class 'FileDownloadWebRequestDelivery' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
 4 |
 5 |     open var targetURL : URL
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:5:14: warning: stored property 'targetURL' of 'Sendable'-conforming class 'FileDownloadWebRequestDelivery' is mutable; this is an error in the Swift 6 language mode
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
 4 |
 5 |     open var targetURL : URL
   |              `- warning: stored property 'targetURL' of 'Sendable'-conforming class 'FileDownloadWebRequestDelivery' is mutable; this is an error in the Swift 6 language mode
 6 |     open var webRequest : WebRequest?
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:6:23: warning: static property 'timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
  5 |
  6 |     public static var timeout: TimeInterval = 60.0
    |                       |- warning: static property 'timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'timeout' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'timeout' 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
  7 |
  8 |     public var timeoutInterval: TimeInterval {
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:21: warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                     `- warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/WebRequest+Result.swift:10:21: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 8 |         public var data   : Data?
 9 |
10 |         public enum ErrorCode : Int {
   |                     `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
11 |             case NullRequest   = -1
12 |             case MalformedURL  = -8
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:33: warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | open class HTTPWebRequestDelivery : NSObject, WebRequestDelivery {
    |            `- note: class 'HTTPWebRequestDelivery' does not conform to the 'Sendable' protocol
  4 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
  5 |
    :
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                                 `- warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:21: warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                     `- warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/WebRequest+Result.swift:10:21: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 8 |         public var data   : Data?
 9 |
10 |         public enum ErrorCode : Int {
   |                     `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
11 |             case NullRequest   = -1
12 |             case MalformedURL  = -8
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:33: warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | open class HTTPWebRequestDelivery : NSObject, WebRequestDelivery {
    |            `- note: class 'HTTPWebRequestDelivery' does not conform to the 'Sendable' protocol
  4 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
  5 |
    :
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                                 `- warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:21: warning: mutation of captured var 'taskData' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                 with: urlRequest,
112 |                 completionHandler: ({ (data, response, error) in
113 |                     taskData = data
    |                     `- warning: mutation of captured var 'taskData' in concurrently-executing code; this is an error in the Swift 6 language mode
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:114:21: warning: mutation of captured var 'taskResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
112 |                 completionHandler: ({ (data, response, error) in
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
    |                     `- warning: mutation of captured var 'taskResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
115 |                     errorCode = self.parseError(error)
116 |                     group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:21: warning: mutation of captured var 'errorCode' in concurrently-executing code; this is an error in the Swift 6 language mode
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                     `- warning: mutation of captured var 'errorCode' in concurrently-executing code; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
[14/18] Compiling WebRequest HTTPWebRequestDelivery.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:12: warning: non-final class 'FileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
   |            `- warning: non-final class 'FileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     open var targetURL : URL
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:12: warning: 'Sendable' class 'FileDownloadWebRequestDelivery' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
   |            `- warning: 'Sendable' class 'FileDownloadWebRequestDelivery' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
 4 |
 5 |     open var targetURL : URL
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:5:14: warning: stored property 'targetURL' of 'Sendable'-conforming class 'FileDownloadWebRequestDelivery' is mutable; this is an error in the Swift 6 language mode
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
 4 |
 5 |     open var targetURL : URL
   |              `- warning: stored property 'targetURL' of 'Sendable'-conforming class 'FileDownloadWebRequestDelivery' is mutable; this is an error in the Swift 6 language mode
 6 |     open var webRequest : WebRequest?
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:6:23: warning: static property 'timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
  5 |
  6 |     public static var timeout: TimeInterval = 60.0
    |                       |- warning: static property 'timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'timeout' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'timeout' 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
  7 |
  8 |     public var timeoutInterval: TimeInterval {
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:21: warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                     `- warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/WebRequest+Result.swift:10:21: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 8 |         public var data   : Data?
 9 |
10 |         public enum ErrorCode : Int {
   |                     `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
11 |             case NullRequest   = -1
12 |             case MalformedURL  = -8
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:33: warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | open class HTTPWebRequestDelivery : NSObject, WebRequestDelivery {
    |            `- note: class 'HTTPWebRequestDelivery' does not conform to the 'Sendable' protocol
  4 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
  5 |
    :
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                                 `- warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:21: warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                     `- warning: capture of 'errorCode' with non-sendable type 'HTTPWebRequestDelivery.ErrorCode?' (aka 'Optional<WebRequest.Result.ErrorCode>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/WebRequest+Result.swift:10:21: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 8 |         public var data   : Data?
 9 |
10 |         public enum ErrorCode : Int {
   |                     `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
11 |             case NullRequest   = -1
12 |             case MalformedURL  = -8
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:33: warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | open class HTTPWebRequestDelivery : NSObject, WebRequestDelivery {
    |            `- note: class 'HTTPWebRequestDelivery' does not conform to the 'Sendable' protocol
  4 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
  5 |
    :
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                                 `- warning: capture of 'self' with non-sendable type 'HTTPWebRequestDelivery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:21: warning: mutation of captured var 'taskData' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                 with: urlRequest,
112 |                 completionHandler: ({ (data, response, error) in
113 |                     taskData = data
    |                     `- warning: mutation of captured var 'taskData' in concurrently-executing code; this is an error in the Swift 6 language mode
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:114:21: warning: mutation of captured var 'taskResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
112 |                 completionHandler: ({ (data, response, error) in
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
    |                     `- warning: mutation of captured var 'taskResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
115 |                     errorCode = self.parseError(error)
116 |                     group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:115:21: warning: mutation of captured var 'errorCode' in concurrently-executing code; this is an error in the Swift 6 language mode
113 |                     taskData = data
114 |                     taskResponse = response as? HTTPURLResponse
115 |                     errorCode = self.parseError(error)
    |                     `- warning: mutation of captured var 'errorCode' in concurrently-executing code; this is an error in the Swift 6 language mode
116 |                     group.leave()
117 |                 }))
[15/18] Compiling WebRequest JSONWebRequestDelivery.swift
[16/18] Compiling WebRequest MultipartFormUploadWebRequestDelivery.swift
[17/18] Emitting module WebRequest
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:12: warning: non-final class 'FileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
   |            `- warning: non-final class 'FileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     open var targetURL : URL
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:12: warning: 'Sendable' class 'FileDownloadWebRequestDelivery' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
   |            `- warning: 'Sendable' class 'FileDownloadWebRequestDelivery' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
 4 |
 5 |     open var targetURL : URL
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:5:14: warning: stored property 'targetURL' of 'Sendable'-conforming class 'FileDownloadWebRequestDelivery' is mutable; this is an error in the Swift 6 language mode
 3 | open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
 4 |
 5 |     open var targetURL : URL
   |              `- warning: stored property 'targetURL' of 'Sendable'-conforming class 'FileDownloadWebRequestDelivery' is mutable; this is an error in the Swift 6 language mode
 6 |     open var webRequest : WebRequest?
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:6:23: warning: static property 'timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
  5 |
  6 |     public static var timeout: TimeInterval = 60.0
    |                       |- warning: static property 'timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'timeout' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'timeout' 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
  7 |
  8 |     public var timeoutInterval: TimeInterval {
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:3:12: warning: non-final class 'ProgressFileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class ProgressFileDownloadWebRequestDelivery: FileDownloadWebRequestDelivery {
   |            `- warning: non-final class 'ProgressFileDownloadWebRequestDelivery' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     let divisor = pow(10.0, Double(2))
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/Manager/WebRequestManager.swift:50:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebRequestManager' may have shared mutable state; this is an error in the Swift 6 language mode
  6 | extension NotificationCenter: WRNotificationCenterInterface {}
  7 |
  8 | public class WebRequestManager: WebRequestManaging {
    |              `- note: class 'WebRequestManager' does not conform to the 'Sendable' protocol
  9 |
 10 |     public typealias ErrorCode = WebRequest.Result.ErrorCode
    :
 48 |     internal lazy var notificationCenter: WRNotificationCenterInterface = NotificationCenter.default
 49 |
 50 |     public static let shared = WebRequestManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebRequestManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 51 |
 52 |     private init() { /**/ }
/Users/admin/builder/spi-builder-workspace/Sources/WebRequest/WebRequest.swift:30:23: warning: static property 'isDisabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     public static var isDisabled: Bool = false
    |                       |- warning: static property 'isDisabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isDisabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'isDisabled' 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
 31 |
 32 |     public func execute() throws {
[18/18] Compiling WebRequest WebRequestEndpoint.swift
Build complete! (16.32s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WebRequest",
  "name" : "WebRequest",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WebRequest",
      "targets" : [
        "WebRequest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebRequestTests",
      "module_type" : "SwiftTarget",
      "name" : "WebRequestTests",
      "path" : "Tests/WebRequestTests",
      "sources" : [
        "Delivery/JSONWebRequestDeliveryTests.swift",
        "Delivery/ProgressFileDownloadWebRequestDeliveryTests.swift",
        "Doubles/MockEndpoint.swift",
        "Doubles/MockNotificationCenter.swift",
        "Doubles/MockURLSession.swift",
        "Doubles/MockWebRequestDelivery.swift",
        "Doubles/MockWebRequestSession.swift",
        "Doubles/MockWebRequestSessionProvider.swift",
        "Helpers/TestHTTPServer.swift",
        "Manager/WebRequestManagerTests.swift",
        "Validating/BasicHTTPResultValidatorTests.swift",
        "WebRequestTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WebRequest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebRequest",
      "module_type" : "SwiftTarget",
      "name" : "WebRequest",
      "path" : "Sources/WebRequest",
      "product_memberships" : [
        "WebRequest"
      ],
      "sources" : [
        "Delivery/FileDownloadWebRequestDelivery.swift",
        "Delivery/HTTPWebRequestDelivery.swift",
        "Delivery/JSONWebRequestDelivery.swift",
        "Delivery/MultipartFormUploadWebRequestDelivery.swift",
        "Delivery/ProgressFileDownloadWebRequestDelivery.swift",
        "Manager/WebRequestManager+State.swift",
        "Manager/WebRequestManager.swift",
        "Manager/WebRequestManaging.swift",
        "Session/WebRequestSession.swift",
        "Session/WebRequestSessionProviding.swift",
        "Validating/BasicHTTPResultValidator.swift",
        "WebRequest+Result.swift",
        "WebRequest+URLEncoder.swift",
        "WebRequest.swift",
        "WebRequestEndpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.