This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 NetworkLayer with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/network-layer.git
Reference: dev
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/network-layer
 * branch            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at 3d055b0 Update `IAuthenticator` (#2)
Cloned https://github.com/space-code/network-layer.git
Revision (git rev-parse @):
3d055b010d008d228c759df88a26106ddb64810b
SUCCESS checkout https://github.com/space-code/network-layer.git at dev
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/space-code/network-layer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/17] Emitting module Typhoon
[7/17] Compiling Typhoon RetryPolicyService.swift
[8/17] Compiling Typhoon RetryPolicyStrategy.swift
[9/17] Emitting module Atomic
[10/17] Compiling Atomic UnfairLock.swift
[11/17] Compiling Atomic Atomic.swift
[12/17] Compiling Atomic ILock.swift
[13/17] Compiling Typhoon RetrySequence.swift
[14/17] Compiling Typhoon RetryIterator.swift
[15/17] Compiling Typhoon IRetryPolicyService.swift
[16/17] Compiling Typhoon DispatchTimeInterval+Double.swift
[17/17] Compiling Typhoon RetryPolicyError.swift
[18/32] Compiling NetworkLayerInterfaces IRequestBuilder.swift
[19/32] Compiling NetworkLayerInterfaces IRequestProcessor.swift
[20/32] Compiling NetworkLayerInterfaces RequestProcessorDelegate.swift
[21/33] Compiling NetworkLayerInterfaces RequestBody.swift
[22/33] Compiling NetworkLayerInterfaces Response.swift
[23/33] Compiling NetworkLayerInterfaces IDataRequestHandler.swift
[24/33] Compiling NetworkLayerInterfaces IRequest.swift
[25/33] Compiling NetworkLayerInterfaces NetworkLayerError.swift
[26/33] Compiling NetworkLayerInterfaces Configuration.swift
[27/33] Compiling NetworkLayerInterfaces HTTPMethod.swift
[28/33] Compiling NetworkLayerInterfaces AuthenticatorInterceptorError.swift
[29/33] Compiling NetworkLayerInterfaces IAuthenticationCredential.swift
[30/33] Emitting module NetworkLayerInterfaces
[31/33] Compiling NetworkLayerInterfaces IAuthenticationInterceptor.swift
[32/33] Compiling NetworkLayerInterfaces IAuthenticator.swift
[33/33] Compiling NetworkLayerInterfaces INetworkLayerAssembly.swift
[34/44] Compiling NetworkLayer IRequest+.swift
[35/45] Compiling NetworkLayer NetworkLayerAssembly.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/DI/NetworkLayerAssembly.swift:48:9: warning: sending 'self.configure' risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func assemble() -> IRequestProcessor {
48 |         RequestProcessor(
   |         |- warning: sending 'self.configure' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.configure' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
49 |             configuration: configure,
50 |             requestBuilder: requestBuilder,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/DI/NetworkLayerAssembly.swift:48:9: warning: sending task-isolated value of type 'any IRequestBuilder' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func assemble() -> IRequestProcessor {
48 |         RequestProcessor(
   |         `- warning: sending task-isolated value of type 'any IRequestBuilder' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
49 |             configuration: configure,
50 |             requestBuilder: requestBuilder,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/DI/NetworkLayerAssembly.swift:48:9: warning: sending task-isolated value of type 'RetryPolicyService' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func assemble() -> IRequestProcessor {
48 |         RequestProcessor(
   |         `- warning: sending task-isolated value of type 'RetryPolicyService' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
49 |             configuration: configure,
50 |             requestBuilder: requestBuilder,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/DI/NetworkLayerAssembly.swift:48:9: warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func assemble() -> IRequestProcessor {
48 |         RequestProcessor(
   |         |- warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.delegate' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
49 |             configuration: configure,
50 |             requestBuilder: requestBuilder,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/DI/NetworkLayerAssembly.swift:48:9: warning: sending 'self.interceptor' risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func assemble() -> IRequestProcessor {
48 |         RequestProcessor(
   |         |- warning: sending 'self.interceptor' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.interceptor' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
49 |             configuration: configure,
50 |             requestBuilder: requestBuilder,
[36/45] Compiling NetworkLayer RequestProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type 'Response<M>' returned by actor-isolated instance method 'send(_:strategy:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type 'Response<M>' returned by actor-isolated instance method 'send(_:strategy:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayerInterfaces/Classes/Core/Models/Response.swift:9:15: note: generic struct 'Response' does not conform to the 'Sendable' protocol
 7 |
 8 | /// A generic struct representing an HTTP response.
 9 | public struct Response<T> {
   |               `- note: generic struct 'Response' does not conform to the 'Sendable' protocol
10 |     /// The data associated with the response.
11 |     public let data: T
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NetworkLayerInterfaces'
  5 |
  6 | import Foundation
  7 | import NetworkLayerInterfaces
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NetworkLayerInterfaces'
  8 | import Typhoon
  9 |
<unknown>:0: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type 'T' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type 'T' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type 'RetryPolicyStrategy?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type 'RetryPolicyStrategy?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:9:13: note: enum 'RetryPolicyStrategy' does not conform to the 'Sendable' protocol
 7 |
 8 | /// A strategy used to define different retry policies.
 9 | public enum RetryPolicyStrategy {
   |             `- note: enum 'RetryPolicyStrategy' does not conform to the 'Sendable' protocol
10 |     /// A retry strategy with a constant number of attempts and fixed duration between retries.
11 |     case constant(retry: Int, duration: DispatchTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayerInterfaces/Classes/Core/Services/IRequestProcessor.swift:21:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
19 |     ///                Pass `nil` if not
20 |     /// needed.
21 |     func send<T: IRequest, M: Decodable>(
   |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |         _ request: T,
23 |         strategy: RetryPolicyStrategy?,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:92:61: warning: non-sendable type 'Response<Data>' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 90 |
 91 |             do {
 92 |                 let response = try await dataRequestHandler.startDataTask(task, delegate: delegate)
    |                                                             `- warning: non-sendable type 'Response<Data>' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 93 |
 94 |                 if request.requiresAuthentication {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayerInterfaces/Classes/Core/Models/Response.swift:9:15: note: generic struct 'Response' does not conform to the 'Sendable' protocol
 7 |
 8 | /// A generic struct representing an HTTP response.
 9 | public struct Response<T> {
   |               `- note: generic struct 'Response' does not conform to the 'Sendable' protocol
10 |     /// The data associated with the response.
11 |     public let data: T
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:161:30: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
154 |     ///
155 |     /// - Returns: The response from the network request.
156 |     private func performRequest<T>(
    |                                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
157 |         strategy: RetryPolicyStrategy? = nil,
158 |         _ send: () async throws -> T
159 |     ) async throws -> T {
160 |         do {
161 |             return try await send()
    |                              `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
162 |         } catch {
163 |             return try await retryPolicyService.retry(strategy: strategy, send)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:163:49: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
154 |     ///
155 |     /// - Returns: The response from the network request.
156 |     private func performRequest<T>(
    |                                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
157 |         strategy: RetryPolicyStrategy? = nil,
158 |         _ send: () async throws -> T
    :
161 |             return try await send()
162 |         } catch {
163 |             return try await retryPolicyService.retry(strategy: strategy, send)
    |                                                 `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
164 |         }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:123:32: warning: sending 'self.interceptor.some' risks causing data races; this is an error in the Swift 6 language mode
121 |     private func adapt<T: IRequest>(_ request: T, urlRequest: inout URLRequest, session: URLSession) async throws {
122 |         guard request.requiresAuthentication else { return }
123 |         try await interceptor?.adapt(request: &urlRequest, for: session)
    |                                |- warning: sending 'self.interceptor.some' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: sending 'self'-isolated 'self.interceptor.some' to nonisolated instance method 'adapt(request:for:)' risks causing data races between nonisolated and 'self'-isolated uses
124 |     }
125 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:163:49: warning: sending 'strategy' risks causing data races; this is an error in the Swift 6 language mode
161 |             return try await send()
162 |         } catch {
163 |             return try await retryPolicyService.retry(strategy: strategy, send)
    |                                                 |- warning: sending 'strategy' risks causing data races; this is an error in the Swift 6 language mode
    |                                                 `- note: sending 'self'-isolated 'strategy' to nonisolated instance method 'retry(strategy:_:)' risks causing data races between nonisolated and 'self'-isolated uses
164 |         }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:163:49: warning: sending 'send' risks causing data races; this is an error in the Swift 6 language mode
161 |             return try await send()
162 |         } catch {
163 |             return try await retryPolicyService.retry(strategy: strategy, send)
    |                                                 |- warning: sending 'send' risks causing data races; this is an error in the Swift 6 language mode
    |                                                 `- note: sending 'self'-isolated 'send' to nonisolated instance method 'retry(strategy:_:)' risks causing data races between nonisolated and 'self'-isolated uses
164 |         }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:163:49: warning: sending 'self.retryPolicyService' risks causing data races; this is an error in the Swift 6 language mode
161 |             return try await send()
162 |         } catch {
163 |             return try await retryPolicyService.retry(strategy: strategy, send)
    |                                                 |- warning: sending 'self.retryPolicyService' risks causing data races; this is an error in the Swift 6 language mode
    |                                                 `- note: sending 'self'-isolated 'self.retryPolicyService' to nonisolated instance method 'retry(strategy:_:)' risks causing data races between nonisolated and 'self'-isolated uses
164 |         }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:94:20: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
 92 |                 let response = try await dataRequestHandler.startDataTask(task, delegate: delegate)
 93 |
 94 |                 if request.requiresAuthentication {
    |                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: 'self'-isolated 'request' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
 95 |                     let isRefreshedCredential = try await refresh(
 96 |                         urlRequest: urlRequest,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:142:35: warning: sending 'interceptor' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 |         if interceptor.isRequireRefresh(urlRequest, response: response) {
142 |             try await interceptor.refresh(urlRequest, with: response, for: session)
    |                                   |- warning: sending 'interceptor' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'interceptor' to nonisolated instance method 'refresh(_:with:for:)' risks causing data races between nonisolated and 'self'-isolated uses
143 |             return true
144 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:87:38: warning: sending 'self'-isolated value of type 'any RequestProcessorDelegate' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
 85 |
 86 |         return try await performRequest(strategy: strategy) {
 87 |             try await self.delegate?.requestProcessor(self, willSendRequest: urlRequest)
    |                                      `- warning: sending 'self'-isolated value of type 'any RequestProcessorDelegate' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
 88 |
 89 |             let task = session.dataTask(with: urlRequest)
[37/45] Compiling NetworkLayer Response+Map.swift
[38/45] Compiling NetworkLayer RequestBodyEncoder.swift
[39/45] Compiling NetworkLayer RequestParametersEncoder.swift
[40/45] Compiling NetworkLayer RequestBuilder.swift
[41/45] Emitting module NetworkLayer
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift:19:25: warning: stored property '_handlers' of 'Sendable'-conforming class 'DataRequestHandler' is mutable; this is an error in the Swift 6 language mode
 17 |
 18 |     /// The dictonary that stores handlers.
 19 |     @Atomic private var handlers: HandlerDictonary = [:]
    |                         `- warning: stored property '_handlers' of 'Sendable'-conforming class 'DataRequestHandler' is mutable; this is an error in the Swift 6 language mode
 20 |     /// A protocol that defines methods that URL session instances call on their
 21 |     /// delegates to handle task-level events specific to data and upload tasks.
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type 'Response<M>' returned by actor-isolated instance method 'send(_:strategy:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type 'Response<M>' returned by actor-isolated instance method 'send(_:strategy:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayerInterfaces/Classes/Core/Models/Response.swift:9:15: note: generic struct 'Response' does not conform to the 'Sendable' protocol
 7 |
 8 | /// A generic struct representing an HTTP response.
 9 | public struct Response<T> {
   |               `- note: generic struct 'Response' does not conform to the 'Sendable' protocol
10 |     /// The data associated with the response.
11 |     public let data: T
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NetworkLayerInterfaces'
  5 |
  6 | import Foundation
  7 | import NetworkLayerInterfaces
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NetworkLayerInterfaces'
  8 | import Typhoon
  9 |
<unknown>:0: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type 'T' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type 'T' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type 'RetryPolicyStrategy?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type 'RetryPolicyStrategy?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:9:13: note: enum 'RetryPolicyStrategy' does not conform to the 'Sendable' protocol
 7 |
 8 | /// A strategy used to define different retry policies.
 9 | public enum RetryPolicyStrategy {
   |             `- note: enum 'RetryPolicyStrategy' does not conform to the 'Sendable' protocol
10 |     /// A retry strategy with a constant number of attempts and fixed duration between retries.
11 |     case constant(retry: Int, duration: DispatchTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:176:10: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
174 |
175 | extension RequestProcessor: IRequestProcessor {
176 |     func send<T: IRequest, M: Decodable>(
    |          `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:strategy:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
177 |         _ request: T,
178 |         strategy: RetryPolicyStrategy? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayerInterfaces/Classes/Core/Services/IRequestProcessor.swift:21:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
19 |     ///                Pass `nil` if not
20 |     /// needed.
21 |     func send<T: IRequest, M: Decodable>(
   |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |         _ request: T,
23 |         strategy: RetryPolicyStrategy?,
[42/45] Compiling NetworkLayer AuthenticationInterceptor.swift
[43/45] Compiling NetworkLayer IRequestBodyEncoder.swift
[44/45] Compiling NetworkLayer IRequestParametersEncoder.swift
[45/45] Compiling NetworkLayer DataRequestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift:19:25: warning: stored property '_handlers' of 'Sendable'-conforming class 'DataRequestHandler' is mutable; this is an error in the Swift 6 language mode
 17 |
 18 |     /// The dictonary that stores handlers.
 19 |     @Atomic private var handlers: HandlerDictonary = [:]
    |                         `- warning: stored property '_handlers' of 'Sendable'-conforming class 'DataRequestHandler' is mutable; this is an error in the Swift 6 language mode
 20 |     /// A protocol that defines methods that URL session instances call on their
 21 |     /// delegates to handle task-level events specific to data and upload tasks.
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift:80:32: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
 72 |         dataTask: URLSessionDataTask,
 73 |         willCacheResponse proposedResponse: CachedURLResponse,
 74 |         completionHandler: @escaping (CachedURLResponse?) -> Void
    |         `- note: parameter 'completionHandler' is implicitly non-sendable
 75 |     ) {
 76 |         userDataDelegate?.urlSession?(
    :
 78 |             dataTask: dataTask,
 79 |             willCacheResponse: proposedResponse,
 80 |             completionHandler: completionHandler
    |                                `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
 81 |         )
 82 |         completionHandler(proposedResponse)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift:124:32: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
115 |         willPerformHTTPRedirection response: HTTPURLResponse,
116 |         newRequest request: URLRequest,
117 |         completionHandler: @escaping (URLRequest?) -> Void
    |         `- note: parameter 'completionHandler' is implicitly non-sendable
118 |     ) {
119 |         userDataDelegate?.urlSession?(
    :
122 |             willPerformHTTPRedirection: response,
123 |             newRequest: request,
124 |             completionHandler: completionHandler
    |                                `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
125 |         )
126 |         completionHandler(request)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift:138:90: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
134 |         _ session: URLSession,
135 |         didReceive challenge: URLAuthenticationChallenge,
136 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |         `- note: parameter 'completionHandler' is implicitly non-sendable
137 |     ) {
138 |         userDataDelegate?.urlSession?(session, didReceive: challenge, completionHandler: completionHandler)
    |                                                                                          `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
139 |         completionHandler(.performDefaultHandling, nil)
140 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift:148:113: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
144 |         task: URLSessionTask,
145 |         willBeginDelayedRequest request: URLRequest,
146 |         completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void
    |         `- note: parameter 'completionHandler' is implicitly non-sendable
147 |     ) {
148 |         userDataDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler)
    |                                                                                                                 `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
149 |         completionHandler(.continueLoading, nil)
150 |     }
Build complete! (34.26s)
Fetching https://github.com/space-code/typhoon
Fetching https://github.com/space-code/atomic
Fetching https://github.com/WeTransfer/Mocker
[1/212] Fetching typhoon
[112/406] Fetching typhoon, atomic
[144/2268] Fetching typhoon, atomic, mocker
Fetched https://github.com/space-code/typhoon from cache (1.18s)
Fetched https://github.com/WeTransfer/Mocker from cache (1.18s)
Fetched https://github.com/space-code/atomic from cache (1.18s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.1 (1.02s)
Computing version for https://github.com/space-code/typhoon
Computed https://github.com/space-code/typhoon at 1.0.0 (0.54s)
Computing version for https://github.com/space-code/atomic
Computed https://github.com/space-code/atomic at 1.0.0 (0.53s)
Creating working copy for https://github.com/space-code/typhoon
Working copy of https://github.com/space-code/typhoon resolved at 1.0.0
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.1
Creating working copy for https://github.com/space-code/atomic
Working copy of https://github.com/space-code/atomic resolved at 1.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "atomic",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/space-code/atomic"
    },
    {
      "identity" : "typhoon",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/space-code/typhoon"
    },
    {
      "identity" : "mocker",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/WeTransfer/Mocker"
    }
  ],
  "manifest_display_name" : "NetworkLayer",
  "name" : "NetworkLayer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkLayer",
      "targets" : [
        "NetworkLayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetworkLayerInterfaces",
      "targets" : [
        "NetworkLayerInterfaces"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkLayerTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLayerTests",
      "path" : "Tests/NetworkLayerTests",
      "product_dependencies" : [
        "Mocker",
        "Typhoon"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkLayerTests/Resources/JSONs/user.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Classes/Helpers/Fakes/HTTPURLResponse+Fake.swift",
        "Classes/Helpers/Fakes/URLRequest+Fake.swift",
        "Classes/Helpers/Fakes/URLSessionDataTask+Fake.swift",
        "Classes/Helpers/Fakes/URLSessionTask+Fake.swift",
        "Classes/Helpers/Helpers/DynamicStubs.swift",
        "Classes/Helpers/Helpers/RequestProcessor+Mock.swift",
        "Classes/Helpers/Mocks/AuthenticatorMock.swift",
        "Classes/Helpers/Mocks/AuthentificatorInterceptorMock.swift",
        "Classes/Helpers/Mocks/DataRequestHandlerMock.swift",
        "Classes/Helpers/Mocks/RequestBodyEncoderMock.swift",
        "Classes/Helpers/Mocks/RequestBuilderMock.swift",
        "Classes/Helpers/Mocks/RequestMock.swift",
        "Classes/Helpers/Mocks/RequestParametersEncoderMock.swift",
        "Classes/Helpers/Mocks/RequestProcessorDelegateMock.swift",
        "Classes/Helpers/Mocks/URLSessionDelegateMock.swift",
        "Classes/Helpers/Stubs/AuthenticationCredentialStub.swift",
        "Classes/Helpers/Stubs/RequestStub.swift",
        "Classes/Helpers/Stubs/StubResponse.swift",
        "Classes/Models/MockedData.swift",
        "Classes/Models/User.swift",
        "Classes/Tests/IntegrationTests/RequestProcessorAuthenticationTests.swift",
        "Classes/Tests/IntegrationTests/RequestProcessorRequestTests.swift",
        "Classes/Tests/UnitTests/AuthenticationInterceptorTests.swift",
        "Classes/Tests/UnitTests/DataRequestHanderTests.swift",
        "Classes/Tests/UnitTests/RequestBodyEncoderTests.swift",
        "Classes/Tests/UnitTests/RequestBuilderTests.swift",
        "Classes/Tests/UnitTests/RequestParametersEncoderTests.swift",
        "Classes/Tests/UnitTests/RequestProcessorTests.swift"
      ],
      "target_dependencies" : [
        "NetworkLayer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkLayerInterfaces",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLayerInterfaces",
      "path" : "Sources/NetworkLayerInterfaces",
      "product_dependencies" : [
        "Typhoon"
      ],
      "product_memberships" : [
        "NetworkLayer",
        "NetworkLayerInterfaces"
      ],
      "sources" : [
        "Classes/Core/Authenticator/AuthenticatorInterceptorError.swift",
        "Classes/Core/Authenticator/IAuthenticationCredential.swift",
        "Classes/Core/Authenticator/IAuthenticationInterceptor.swift",
        "Classes/Core/Authenticator/IAuthenticator.swift",
        "Classes/Core/Models/Configuration.swift",
        "Classes/Core/Models/HTTPMethod.swift",
        "Classes/Core/Models/IRequest.swift",
        "Classes/Core/Models/NetworkLayerError.swift",
        "Classes/Core/Models/RequestBody.swift",
        "Classes/Core/Models/Response.swift",
        "Classes/Core/Services/IDataRequestHandler.swift",
        "Classes/Core/Services/IRequestBuilder.swift",
        "Classes/Core/Services/IRequestProcessor.swift",
        "Classes/Core/Services/RequestProcessorDelegate.swift",
        "Classes/DI/INetworkLayerAssembly.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NetworkLayer",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLayer",
      "path" : "Sources/NetworkLayer",
      "product_dependencies" : [
        "Atomic",
        "Typhoon"
      ],
      "product_memberships" : [
        "NetworkLayer"
      ],
      "sources" : [
        "Classes/Core/Authentification/AuthenticationInterceptor.swift",
        "Classes/Core/Builders/RequestBuilder/RequestBodyEncoder/IRequestBodyEncoder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestBodyEncoder/RequestBodyEncoder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestBuilder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestParameterEncoder/IRequestParametersEncoder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestParameterEncoder/RequestParametersEncoder.swift",
        "Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift",
        "Classes/Core/Services/RequestProcessor/RequestProcessor.swift",
        "Classes/DI/NetworkLayerAssembly.swift",
        "Classes/Extensions/IRequest+.swift",
        "Classes/Extensions/Response+Map.swift"
      ],
      "target_dependencies" : [
        "NetworkLayerInterfaces"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.