The Swift Package Index logo.Swift Package Index

Build Information

Successful build of EZNetworking, reference 5.5.2 (a4fb94), with Swift 6.1 for macOS (SPM) on 17 Apr 2026 08:14:34 UTC.

Swift 6 data race errors: 27

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:37:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |
36 |     public func connect(completion: @escaping (Result<Void, Error>) -> Void) {
37 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |             do {
39 |                 try await actor.connect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
40 |                 completion(.success(()))
41 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |
47 |     public func disconnect(completion: @escaping (Result<Void, Error>) -> Void) {
48 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
49 |             do {
50 |                 try await actor.disconnect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
51 |                 completion(.success(()))
52 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
57 |
58 |     public func terminate() {
59 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 |     }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:65:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 |         eventHandler = handler
64 |         eventTask?.cancel()
65 |         eventTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
66 |             for await event in await actor.events {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
67 |                 handler(event)
68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:75:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 |         stateHandler = handler
74 |         stateTask?.cancel()
75 |         stateTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 |             for await state in await actor.stateEvents {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
77 |                 handler(state)
78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:79:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 |     private func subscribeToEvents() {
78 |         eventTask?.cancel()
79 |         eventTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
81 |             for await event in await actor.events {
82 |                 eventSubject.send(event)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:89:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 |     private func subscribeToStateEvents() {
88 |         stateTask?.cancel()
89 |         stateTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
91 |             for await state in await actor.stateEvents {
92 |                 stateSubject.send(state)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:41:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 |     public func connect() -> AnyPublisher<Void, Error> {
40 |         Future { [actor] promise in
41 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 |                 do {
43 |                     try await actor.connect()
44 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
45 |                 } catch {
46 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 |     public func disconnect() -> AnyPublisher<Void, Error> {
53 |         Future { [actor] promise in
54 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 |                 do {
56 |                     try await actor.disconnect()
57 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
58 |                 } catch {
59 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:66:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |
65 |     public func terminate() {
66 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 |     }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Core/ServerSentEventManager.swift:133:72: warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
131 |             sseRequest.setLastEventId(lastEventId)
132 |             let request = try sseRequest.getURLRequest()
133 |             let (bytesStream, response) = try await session.urlSession.bytes(for: request)
    |                                                                        |- warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: sending 'self'-isolated value of non-Sendable type 'any URLSessionProtocol' to nonisolated instance method 'bytes(for:)' risks causing races in between 'self'-isolated and nonisolated uses
134 |
135 |             try responseValidator.validateStatus(from: response)
[73/97] Compiling EZNetworking ServerSentEventCallbackClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:28: warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  2 | import Foundation
  3 |
  4 | public struct RequestPerformer: RequestPerformable {
    |               `- note: consider making struct 'RequestPerformer' conform to the 'Sendable' protocol
  5 |     private let session: NetworkSession
  6 |     private let validator: ResponseValidator
    :
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                            `- warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:58: warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                          `- warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Request/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var httpMethod: HTTPMethod { get }
 5 |     var baseUrl: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:106: warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                                                                          |- warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:82:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |         completion: @escaping ((Result<T, NetworkingError>) -> Void)
 81 |     ) -> Task<Void, Never> {
 82 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |             do {
 84 |                 let result = try await perform(request: request, decodeTo: decodableObject)
    |                                        |                `- note: closure captures non-Sendable 'request'
    |                                        `- note: closure captures non-Sendable 'self'
 85 |                 guard !Task.isCancelled else { return }
 86 |                 completion(.success(result))
    |                 `- note: closure captures non-Sendable 'completion'
 87 |             } catch is CancellationError {
 88 |                 // Task has been cancelled, do not return
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:37:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |
36 |     public func connect(completion: @escaping (Result<Void, Error>) -> Void) {
37 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |             do {
39 |                 try await actor.connect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
40 |                 completion(.success(()))
41 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |
47 |     public func disconnect(completion: @escaping (Result<Void, Error>) -> Void) {
48 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
49 |             do {
50 |                 try await actor.disconnect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
51 |                 completion(.success(()))
52 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
57 |
58 |     public func terminate() {
59 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 |     }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:65:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 |         eventHandler = handler
64 |         eventTask?.cancel()
65 |         eventTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
66 |             for await event in await actor.events {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
67 |                 handler(event)
68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:75:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 |         stateHandler = handler
74 |         stateTask?.cancel()
75 |         stateTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 |             for await state in await actor.stateEvents {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
77 |                 handler(state)
78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:79:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 |     private func subscribeToEvents() {
78 |         eventTask?.cancel()
79 |         eventTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
81 |             for await event in await actor.events {
82 |                 eventSubject.send(event)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:89:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 |     private func subscribeToStateEvents() {
88 |         stateTask?.cancel()
89 |         stateTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
91 |             for await state in await actor.stateEvents {
92 |                 stateSubject.send(state)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:41:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 |     public func connect() -> AnyPublisher<Void, Error> {
40 |         Future { [actor] promise in
41 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 |                 do {
43 |                     try await actor.connect()
44 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
45 |                 } catch {
46 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 |     public func disconnect() -> AnyPublisher<Void, Error> {
53 |         Future { [actor] promise in
54 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 |                 do {
56 |                     try await actor.disconnect()
57 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
58 |                 } catch {
59 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:66:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |
65 |     public func terminate() {
66 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 |     }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Core/ServerSentEventManager.swift:133:72: warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
131 |             sseRequest.setLastEventId(lastEventId)
132 |             let request = try sseRequest.getURLRequest()
133 |             let (bytesStream, response) = try await session.urlSession.bytes(for: request)
    |                                                                        |- warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: sending 'self'-isolated value of non-Sendable type 'any URLSessionProtocol' to nonisolated instance method 'bytes(for:)' risks causing races in between 'self'-isolated and nonisolated uses
134 |
135 |             try responseValidator.validateStatus(from: response)
[74/97] Compiling EZNetworking ServerSentEventPublisherClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:28: warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  2 | import Foundation
  3 |
  4 | public struct RequestPerformer: RequestPerformable {
    |               `- note: consider making struct 'RequestPerformer' conform to the 'Sendable' protocol
  5 |     private let session: NetworkSession
  6 |     private let validator: ResponseValidator
    :
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                            `- warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:58: warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                          `- warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Request/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var httpMethod: HTTPMethod { get }
 5 |     var baseUrl: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:106: warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                                                                          |- warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:82:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |         completion: @escaping ((Result<T, NetworkingError>) -> Void)
 81 |     ) -> Task<Void, Never> {
 82 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |             do {
 84 |                 let result = try await perform(request: request, decodeTo: decodableObject)
    |                                        |                `- note: closure captures non-Sendable 'request'
    |                                        `- note: closure captures non-Sendable 'self'
 85 |                 guard !Task.isCancelled else { return }
 86 |                 completion(.success(result))
    |                 `- note: closure captures non-Sendable 'completion'
 87 |             } catch is CancellationError {
 88 |                 // Task has been cancelled, do not return
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:37:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |
36 |     public func connect(completion: @escaping (Result<Void, Error>) -> Void) {
37 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |             do {
39 |                 try await actor.connect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
40 |                 completion(.success(()))
41 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |
47 |     public func disconnect(completion: @escaping (Result<Void, Error>) -> Void) {
48 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
49 |             do {
50 |                 try await actor.disconnect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
51 |                 completion(.success(()))
52 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
57 |
58 |     public func terminate() {
59 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 |     }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:65:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 |         eventHandler = handler
64 |         eventTask?.cancel()
65 |         eventTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
66 |             for await event in await actor.events {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
67 |                 handler(event)
68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:75:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 |         stateHandler = handler
74 |         stateTask?.cancel()
75 |         stateTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 |             for await state in await actor.stateEvents {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
77 |                 handler(state)
78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:79:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 |     private func subscribeToEvents() {
78 |         eventTask?.cancel()
79 |         eventTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
81 |             for await event in await actor.events {
82 |                 eventSubject.send(event)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:89:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 |     private func subscribeToStateEvents() {
88 |         stateTask?.cancel()
89 |         stateTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
91 |             for await state in await actor.stateEvents {
92 |                 stateSubject.send(state)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:41:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 |     public func connect() -> AnyPublisher<Void, Error> {
40 |         Future { [actor] promise in
41 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 |                 do {
43 |                     try await actor.connect()
44 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
45 |                 } catch {
46 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 |     public func disconnect() -> AnyPublisher<Void, Error> {
53 |         Future { [actor] promise in
54 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 |                 do {
56 |                     try await actor.disconnect()
57 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
58 |                 } catch {
59 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:66:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |
65 |     public func terminate() {
66 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 |     }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Core/ServerSentEventManager.swift:133:72: warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
131 |             sseRequest.setLastEventId(lastEventId)
132 |             let request = try sseRequest.getURLRequest()
133 |             let (bytesStream, response) = try await session.urlSession.bytes(for: request)
    |                                                                        |- warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: sending 'self'-isolated value of non-Sendable type 'any URLSessionProtocol' to nonisolated instance method 'bytes(for:)' risks causing races in between 'self'-isolated and nonisolated uses
134 |
135 |             try responseValidator.validateStatus(from: response)
[75/97] Compiling EZNetworking ServerSentEventCallbackAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:28: warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  2 | import Foundation
  3 |
  4 | public struct RequestPerformer: RequestPerformable {
    |               `- note: consider making struct 'RequestPerformer' conform to the 'Sendable' protocol
  5 |     private let session: NetworkSession
  6 |     private let validator: ResponseValidator
    :
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                            `- warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:58: warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                          `- warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Request/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var httpMethod: HTTPMethod { get }
 5 |     var baseUrl: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:106: warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                                                                          |- warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:82:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |         completion: @escaping ((Result<T, NetworkingError>) -> Void)
 81 |     ) -> Task<Void, Never> {
 82 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |             do {
 84 |                 let result = try await perform(request: request, decodeTo: decodableObject)
    |                                        |                `- note: closure captures non-Sendable 'request'
    |                                        `- note: closure captures non-Sendable 'self'
 85 |                 guard !Task.isCancelled else { return }
 86 |                 completion(.success(result))
    |                 `- note: closure captures non-Sendable 'completion'
 87 |             } catch is CancellationError {
 88 |                 // Task has been cancelled, do not return
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:37:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |
36 |     public func connect(completion: @escaping (Result<Void, Error>) -> Void) {
37 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |             do {
39 |                 try await actor.connect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
40 |                 completion(.success(()))
41 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |
47 |     public func disconnect(completion: @escaping (Result<Void, Error>) -> Void) {
48 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
49 |             do {
50 |                 try await actor.disconnect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
51 |                 completion(.success(()))
52 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
57 |
58 |     public func terminate() {
59 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 |     }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:65:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 |         eventHandler = handler
64 |         eventTask?.cancel()
65 |         eventTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
66 |             for await event in await actor.events {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
67 |                 handler(event)
68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:75:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 |         stateHandler = handler
74 |         stateTask?.cancel()
75 |         stateTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 |             for await state in await actor.stateEvents {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
77 |                 handler(state)
78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:79:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 |     private func subscribeToEvents() {
78 |         eventTask?.cancel()
79 |         eventTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
81 |             for await event in await actor.events {
82 |                 eventSubject.send(event)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:89:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 |     private func subscribeToStateEvents() {
88 |         stateTask?.cancel()
89 |         stateTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
91 |             for await state in await actor.stateEvents {
92 |                 stateSubject.send(state)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:41:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 |     public func connect() -> AnyPublisher<Void, Error> {
40 |         Future { [actor] promise in
41 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 |                 do {
43 |                     try await actor.connect()
44 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
45 |                 } catch {
46 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 |     public func disconnect() -> AnyPublisher<Void, Error> {
53 |         Future { [actor] promise in
54 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 |                 do {
56 |                     try await actor.disconnect()
57 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
58 |                 } catch {
59 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:66:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |
65 |     public func terminate() {
66 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 |     }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Core/ServerSentEventManager.swift:133:72: warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
131 |             sseRequest.setLastEventId(lastEventId)
132 |             let request = try sseRequest.getURLRequest()
133 |             let (bytesStream, response) = try await session.urlSession.bytes(for: request)
    |                                                                        |- warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: sending 'self'-isolated value of non-Sendable type 'any URLSessionProtocol' to nonisolated instance method 'bytes(for:)' risks causing races in between 'self'-isolated and nonisolated uses
134 |
135 |             try responseValidator.validateStatus(from: response)
[76/97] Compiling EZNetworking ServerSentEventPublisherAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:28: warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  2 | import Foundation
  3 |
  4 | public struct RequestPerformer: RequestPerformable {
    |               `- note: consider making struct 'RequestPerformer' conform to the 'Sendable' protocol
  5 |     private let session: NetworkSession
  6 |     private let validator: ResponseValidator
    :
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                            `- warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:58: warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                          `- warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Request/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var httpMethod: HTTPMethod { get }
 5 |     var baseUrl: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:106: warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                                                                          |- warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:82:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |         completion: @escaping ((Result<T, NetworkingError>) -> Void)
 81 |     ) -> Task<Void, Never> {
 82 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |             do {
 84 |                 let result = try await perform(request: request, decodeTo: decodableObject)
    |                                        |                `- note: closure captures non-Sendable 'request'
    |                                        `- note: closure captures non-Sendable 'self'
 85 |                 guard !Task.isCancelled else { return }
 86 |                 completion(.success(result))
    |                 `- note: closure captures non-Sendable 'completion'
 87 |             } catch is CancellationError {
 88 |                 // Task has been cancelled, do not return
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:37:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |
36 |     public func connect(completion: @escaping (Result<Void, Error>) -> Void) {
37 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |             do {
39 |                 try await actor.connect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
40 |                 completion(.success(()))
41 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |
47 |     public func disconnect(completion: @escaping (Result<Void, Error>) -> Void) {
48 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
49 |             do {
50 |                 try await actor.disconnect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
51 |                 completion(.success(()))
52 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
57 |
58 |     public func terminate() {
59 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 |     }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:65:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 |         eventHandler = handler
64 |         eventTask?.cancel()
65 |         eventTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
66 |             for await event in await actor.events {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
67 |                 handler(event)
68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:75:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 |         stateHandler = handler
74 |         stateTask?.cancel()
75 |         stateTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 |             for await state in await actor.stateEvents {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
77 |                 handler(state)
78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:79:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 |     private func subscribeToEvents() {
78 |         eventTask?.cancel()
79 |         eventTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
81 |             for await event in await actor.events {
82 |                 eventSubject.send(event)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:89:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 |     private func subscribeToStateEvents() {
88 |         stateTask?.cancel()
89 |         stateTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
91 |             for await state in await actor.stateEvents {
92 |                 stateSubject.send(state)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:41:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 |     public func connect() -> AnyPublisher<Void, Error> {
40 |         Future { [actor] promise in
41 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 |                 do {
43 |                     try await actor.connect()
44 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
45 |                 } catch {
46 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 |     public func disconnect() -> AnyPublisher<Void, Error> {
53 |         Future { [actor] promise in
54 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 |                 do {
56 |                     try await actor.disconnect()
57 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
58 |                 } catch {
59 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:66:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |
65 |     public func terminate() {
66 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 |     }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Core/ServerSentEventManager.swift:133:72: warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
131 |             sseRequest.setLastEventId(lastEventId)
132 |             let request = try sseRequest.getURLRequest()
133 |             let (bytesStream, response) = try await session.urlSession.bytes(for: request)
    |                                                                        |- warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: sending 'self'-isolated value of non-Sendable type 'any URLSessionProtocol' to nonisolated instance method 'bytes(for:)' risks causing races in between 'self'-isolated and nonisolated uses
134 |
135 |             try responseValidator.validateStatus(from: response)
[77/97] Compiling EZNetworking ServerSentEventClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:28: warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  2 | import Foundation
  3 |
  4 | public struct RequestPerformer: RequestPerformable {
    |               `- note: consider making struct 'RequestPerformer' conform to the 'Sendable' protocol
  5 |     private let session: NetworkSession
  6 |     private let validator: ResponseValidator
    :
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                            `- warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:58: warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                          `- warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Request/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var httpMethod: HTTPMethod { get }
 5 |     var baseUrl: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:106: warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                                                                          |- warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:82:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |         completion: @escaping ((Result<T, NetworkingError>) -> Void)
 81 |     ) -> Task<Void, Never> {
 82 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |             do {
 84 |                 let result = try await perform(request: request, decodeTo: decodableObject)
    |                                        |                `- note: closure captures non-Sendable 'request'
    |                                        `- note: closure captures non-Sendable 'self'
 85 |                 guard !Task.isCancelled else { return }
 86 |                 completion(.success(result))
    |                 `- note: closure captures non-Sendable 'completion'
 87 |             } catch is CancellationError {
 88 |                 // Task has been cancelled, do not return
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:37:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |
36 |     public func connect(completion: @escaping (Result<Void, Error>) -> Void) {
37 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |             do {
39 |                 try await actor.connect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
40 |                 completion(.success(()))
41 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |
47 |     public func disconnect(completion: @escaping (Result<Void, Error>) -> Void) {
48 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
49 |             do {
50 |                 try await actor.disconnect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
51 |                 completion(.success(()))
52 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
57 |
58 |     public func terminate() {
59 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 |     }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:65:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 |         eventHandler = handler
64 |         eventTask?.cancel()
65 |         eventTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
66 |             for await event in await actor.events {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
67 |                 handler(event)
68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:75:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 |         stateHandler = handler
74 |         stateTask?.cancel()
75 |         stateTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 |             for await state in await actor.stateEvents {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
77 |                 handler(state)
78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:79:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 |     private func subscribeToEvents() {
78 |         eventTask?.cancel()
79 |         eventTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
81 |             for await event in await actor.events {
82 |                 eventSubject.send(event)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:89:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 |     private func subscribeToStateEvents() {
88 |         stateTask?.cancel()
89 |         stateTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
91 |             for await state in await actor.stateEvents {
92 |                 stateSubject.send(state)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:41:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 |     public func connect() -> AnyPublisher<Void, Error> {
40 |         Future { [actor] promise in
41 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 |                 do {
43 |                     try await actor.connect()
44 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
45 |                 } catch {
46 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 |     public func disconnect() -> AnyPublisher<Void, Error> {
53 |         Future { [actor] promise in
54 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 |                 do {
56 |                     try await actor.disconnect()
57 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
58 |                 } catch {
59 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:66:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |
65 |     public func terminate() {
66 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 |     }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Core/ServerSentEventManager.swift:133:72: warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
131 |             sseRequest.setLastEventId(lastEventId)
132 |             let request = try sseRequest.getURLRequest()
133 |             let (bytesStream, response) = try await session.urlSession.bytes(for: request)
    |                                                                        |- warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: sending 'self'-isolated value of non-Sendable type 'any URLSessionProtocol' to nonisolated instance method 'bytes(for:)' risks causing races in between 'self'-isolated and nonisolated uses
134 |
135 |             try responseValidator.validateStatus(from: response)
[78/97] Compiling EZNetworking ServerSentEventManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:28: warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  2 | import Foundation
  3 |
  4 | public struct RequestPerformer: RequestPerformable {
    |               `- note: consider making struct 'RequestPerformer' conform to the 'Sendable' protocol
  5 |     private let session: NetworkSession
  6 |     private let validator: ResponseValidator
    :
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                            `- warning: capture of 'self' with non-sendable type 'RequestPerformer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:58: warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                          `- warning: capture of 'request' with non-sendable type 'any Request' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Request/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var httpMethod: HTTPMethod { get }
 5 |     var baseUrl: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:49:106: warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |         let taskBox = TaskBox()
 48 |         let cancellableRequest = CancellableRequest {
 49 |             taskBox.task = createTaskAndPerform(request: request, decodeTo: decodableObject, completion: completion)
    |                                                                                                          |- warning: capture of 'completion' with non-sendable type '(Result<T, NetworkingError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         } onCancel: {
 51 |             taskBox.task?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:82:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |         completion: @escaping ((Result<T, NetworkingError>) -> Void)
 81 |     ) -> Task<Void, Never> {
 82 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |             do {
 84 |                 let result = try await perform(request: request, decodeTo: decodableObject)
    |                                        |                `- note: closure captures non-Sendable 'request'
    |                                        `- note: closure captures non-Sendable 'self'
 85 |                 guard !Task.isCancelled else { return }
 86 |                 completion(.success(result))
    |                 `- note: closure captures non-Sendable 'completion'
 87 |             } catch is CancellationError {
 88 |                 // Task has been cancelled, do not return
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:27:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
25 |     ) {
26 |         self.init(
27 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
28 |         )
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:37:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |
36 |     public func connect(completion: @escaping (Result<Void, Error>) -> Void) {
37 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |             do {
39 |                 try await actor.connect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
40 |                 completion(.success(()))
41 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |
47 |     public func disconnect(completion: @escaping (Result<Void, Error>) -> Void) {
48 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
49 |             do {
50 |                 try await actor.disconnect()
   |                           `- note: closure captures 'self' which is accessible to code in the current task
51 |                 completion(.success(()))
52 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
57 |
58 |     public func terminate() {
59 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 |     }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:65:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 |         eventHandler = handler
64 |         eventTask?.cancel()
65 |         eventTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
66 |             for await event in await actor.events {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
67 |                 handler(event)
68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift:75:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 |         stateHandler = handler
74 |         stateTask?.cancel()
75 |         stateTask = Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 |             for await state in await actor.stateEvents {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
77 |                 handler(state)
78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:79:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
77 |     private func subscribeToEvents() {
78 |         eventTask?.cancel()
79 |         eventTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
81 |             for await event in await actor.events {
82 |                 eventSubject.send(event)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:89:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 |     private func subscribeToStateEvents() {
88 |         stateTask?.cancel()
89 |         stateTask = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
91 |             for await state in await actor.stateEvents {
92 |                 stateSubject.send(state)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'request' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'session' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:28:36: warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
26 |     ) {
27 |         self.init(
28 |             serverSentEventClient: ServerSentEventManager(request: request, session: session, retryPolicy: retryPolicy, responseValidator: responseValidator)
   |                                    |- warning: sending 'responseValidator' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'responseValidator' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
29 |         )
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:41:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 |     public func connect() -> AnyPublisher<Void, Error> {
40 |         Future { [actor] promise in
41 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 |                 do {
43 |                     try await actor.connect()
44 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
45 |                 } catch {
46 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 |     public func disconnect() -> AnyPublisher<Void, Error> {
53 |         Future { [actor] promise in
54 |             Task {
   |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 |                 do {
56 |                     try await actor.disconnect()
57 |                     promise(.success(()))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
58 |                 } catch {
59 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift:66:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |
65 |     public func terminate() {
66 |         Task { await actor.terminate() }
   |              |       `- note: closure captures 'self' which is accessible to code in the current task
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 |     }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/ServerSentEvent/Core/ServerSentEventManager.swift:133:72: warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
131 |             sseRequest.setLastEventId(lastEventId)
132 |             let request = try sseRequest.getURLRequest()
133 |             let (bytesStream, response) = try await session.urlSession.bytes(for: request)
    |                                                                        |- warning: sending value of non-Sendable type 'any URLSessionProtocol' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: sending 'self'-isolated value of non-Sendable type 'any URLSessionProtocol' to nonisolated instance method 'bytes(for:)' risks causing races in between 'self'-isolated and nonisolated uses
134 |
135 |             try responseValidator.validateStatus(from: response)
[79/97] Compiling EZNetworking HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[80/97] Compiling EZNetworking HTTPHeaderApplier.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[81/97] Compiling EZNetworking MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[82/97] Compiling EZNetworking HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[83/97] Compiling EZNetworking HTTPParameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[84/97] Compiling EZNetworking HTTPParameterApplier.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[85/97] Compiling EZNetworking CancellableRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[86/97] Compiling EZNetworking EmptyResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[87/97] Compiling EZNetworking AsyncSequence-ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[88/97] Compiling EZNetworking Data-ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/Extensions/AsyncSequence-ext.swift:15:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |     public var sseLines: AsyncThrowingStream<String, Error> {
14 |         AsyncThrowingStream { continuation in
15 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 |                 var buffer = Data()
17 |                 do {
18 |                     for try await byte in self {
   |                                           `- note: closure captures 'self' which is accessible to code in the current task
19 |                         if byte == ASCII.lineFeed.rawValue {
20 |                             // swiftlint:disable:next optional_data_string_conversion
[89/97] Compiling EZNetworking SessionDelegate+URLSessionStreamDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[90/97] Compiling EZNetworking SessionDelegate+URLSessionTaskDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[91/97] Compiling EZNetworking SessionDelegate+URLSessionWebSocketDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[92/97] Compiling EZNetworking SessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[93/97] Compiling EZNetworking URLSessionDownloadTaskProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[94/97] Compiling EZNetworking URLSessionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[95/97] Compiling EZNetworking URLSessionWebSocketTaskProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[96/97] Compiling EZNetworking FileDownloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
[97/97] Compiling EZNetworking DownloadEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:24:13: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 22 |
 23 |     /// Strong reference since SessionDelegate.downloadTaskInterceptor is weak
 24 |     private nonisolated let fallbackDownloadTaskInterceptor: DefaultDownloadTaskInterceptor
    |             `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'DefaultDownloadTaskInterceptor'; this is an error in the Swift 6 language mode
 25 |
 26 |     // MARK: init
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:195:56: warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
193 |     private nonisolated func setupDownloadEventHandler(session: NetworkSession) {
194 |         if session.delegate.downloadTaskInterceptor == nil {
195 |             session.delegate.downloadTaskInterceptor = fallbackDownloadTaskInterceptor
    |                                                        `- warning: non-sendable type 'DefaultDownloadTaskInterceptor' of property 'fallbackDownloadTaskInterceptor' cannot exit nonisolated context; this is an error in the Swift 6 language mode
196 |         }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:4:7: note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 2 |
 3 | /// Default implementation of DownloadTaskInterceptor
 4 | class DefaultDownloadTaskInterceptor: DownloadTaskInterceptor {
   |       `- note: class 'DefaultDownloadTaskInterceptor' does not conform to the 'Sendable' protocol
 5 |     var onEvent: (DownloadTaskInterceptorEvent) -> Void
 6 |     private let validator: ResponseValidator
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:200:60: warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
198 |         session.delegate.downloadTaskInterceptor?.onEvent = { [weak self] event in
199 |             Task { @Sendable [weak self] in
200 |                 await self?.handleDownloadInterceptorEvent(event)
    |                                                            `- warning: capture of 'event' with non-sendable type 'DownloadTaskInterceptorEvent' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 |             }
202 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:3:13: note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public enum DownloadTaskInterceptorEvent {
   |             `- note: consider making enum 'DownloadTaskInterceptorEvent' conform to the 'Sendable' protocol
 4 |     case onProgress(Double)
 5 |     case onDownloadCompleted(URL)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:56:9: warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 54 |
 55 |     deinit {
 56 |         session.delegate.downloadTaskInterceptor?.onEvent = { _ in }
    |         `- warning: cannot access property 'session' with a non-sendable type 'any NetworkSession' from nonisolated deinit; this is an error in the Swift 6 language mode
 57 |         continuation?.finish()
 58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Session/Session.swift:3:17: note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol NetworkSession {
   |                 `- note: protocol 'NetworkSession' does not conform to the 'Sendable' protocol
 4 |     var configuration: URLSessionConfiguration { get }
 5 |     var delegate: SessionDelegate { get }
Build complete! (7.18s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EZNetworking",
  "name" : "EZNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "EZNetworking",
      "targets" : [
        "EZNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EZNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "EZNetworkingTests",
      "path" : "Tests/EZNetworkingTests",
      "sources" : [
        "Decoding/EZJSONDecoderTests.swift",
        "Error/HTTPResponse/HTTPResponseTests.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPClientErrorStatusTests.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPInformationalStatusTests.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPRedirectionStatusTests.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPServerErrorStatusTests.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPSuccessStatusTests.swift",
        "Error/NetworkFailureReason/DecodingFailureReasonTests.swift",
        "Error/NetworkFailureReason/DownloadFailureReasonTests.swift",
        "Error/NetworkFailureReason/RequestFailureReasonTests.swift",
        "Error/NetworkFailureReason/ResponseValidationFailureReasonTests.swift",
        "Error/NetworkFailureReason/SendableError/SendableErrorTests.swift",
        "Error/NetworkFailureReason/ServerSentEvenFailureReasonTests.swift",
        "Error/NetworkFailureReason/URLBuildFailureReasonTests.swift",
        "Error/NetworkFailureReason/WebSocketFailureReasonTests.swift",
        "Error/NetworkingErrorTests.swift",
        "HTTP/Body/HTTPBodyTests.swift",
        "HTTP/Body/MultipartFormData/MultipartFormDataTests.swift",
        "HTTP/Body/MultipartFormData/MultipartFormPartTests.swift",
        "HTTP/Headers/AuthorizationTypeTests.swift",
        "HTTP/Headers/HTTPHeaderApplierTests.swift",
        "HTTP/Headers/HTTPHeaderTests.swift",
        "HTTP/Headers/MimeTypeTests.swift",
        "HTTP/Methods/HTTPMethodTests.swift",
        "HTTP/Parameters/HTTPParameterApplierTests.swift",
        "HTTP/Parameters/HTTPParameterTests.swift",
        "Mocks/Mock-Codeable.swift",
        "Mocks/Mock-JSON.swift",
        "Mocks/MockSession.swift",
        "Mocks/MockURLResponseValidator.swift",
        "Other/CancellableRequestTests.swift",
        "Other/Extensions/AsyncSequence-extTests.swift",
        "Other/Extensions/Data-extTests.swift",
        "Other/Extensions/String-extTests.swift",
        "Other/RetryPolicyTests.swift",
        "Other/TaskBoxTests.swift",
        "Request/Creational/RequestBuilderTests.swift",
        "Request/Creational/RequestFactoryTests.swift",
        "Request/Creational/URLBuilderTests.swift",
        "Request/RequestTests.swift",
        "Request/SpecializedRequests/DownloadRequestTests.swift",
        "Request/SpecializedRequests/SSERequestTests.swift",
        "Request/SpecializedRequests/WebSocketRequestTests.swift",
        "Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptorTests.swift",
        "Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift",
        "Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptorTests.swift",
        "Session/SessionTests.swift",
        "Session/SessoionDelegate+Extensions+Tests/SessionDelegate+URLSessionDataDelegate+Tests.swift",
        "Session/SessoionDelegate+Extensions+Tests/SessionDelegate+URLSessionDelegate+Tests.swift",
        "Session/SessoionDelegate+Extensions+Tests/SessionDelegate+URLSessionDownloadDelegate+Tests.swift",
        "Session/SessoionDelegate+Extensions+Tests/SessionDelegate+URLSessionStreamDelegate+Tests.swift",
        "Session/SessoionDelegate+Extensions+Tests/SessionDelegate+URLSessionTaskDelegate+Tests.swift",
        "Session/SessoionDelegate+Extensions+Tests/SessionDelegate+URLSessionWebSocketDelegate+Tests.swift",
        "Session/URLSessionProtocols/URLSessionDownloadTaskProtocolTests.swift",
        "Session/URLSessionProtocols/URLSessionWebSocketTaskProtocolTest.swift",
        "SwiftTestingHelpers/Expectation.swift",
        "SwiftTestingHelpers/ExpectationTests.swift",
        "Util/Downloader/FileDownloaderCoreFunctionalityTests.swift",
        "Util/Downloader/FileDownloaderInvalidStateTests.swift",
        "Util/Downloader/FileDownloaderPauseResumeTests.swift",
        "Util/Downloader/FileDownloaderTaskCancellationTests.swift",
        "Util/Downloader/Helpers/DownloadEventTests.swift",
        "Util/Downloader/Mocks/MockDownloadTask.swift",
        "Util/Downloader/Mocks/MockDownloadTaskInterceptor.swift",
        "Util/Downloader/Mocks/MockFileDownloaderURLSession.swift",
        "Util/Performers/Mocks/MockRequestPerformerURLSession.swift",
        "Util/Performers/RequestPerformable_asyncAwait_Tests.swift",
        "Util/Performers/RequestPerformable_callbacks_Tests.swift",
        "Util/Performers/RequestPerformable_publisher_Tests.swift",
        "Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapterTests.swift",
        "Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapterTests.swift",
        "Util/ServerSentEvent/Core/ServerSentEventManagerTests.swift",
        "Util/ServerSentEvent/Core/ServerSentEventManagerWithRetryTests.swift",
        "Util/ServerSentEvent/Helpers/SSEConnectionStateTests.swift",
        "Util/ServerSentEvent/Helpers/SSEParserTests.swift",
        "Util/ServerSentEvent/Helpers/ServerSentEventTests.swift",
        "Util/ServerSentEvent/Mocks/MockSSEURLSession.swift",
        "Util/Uploader/DataUploader/DataUploader_asyncAwait_Tests.swift",
        "Util/Uploader/DataUploader/DataUploader_asyncStream_Tests.swift",
        "Util/Uploader/DataUploader/DataUploader_callbacks_Tests.swift",
        "Util/Uploader/DataUploader/DataUploader_publisher_Tests.swift",
        "Util/Uploader/DataUploader/Mocks/MockDataUploaderURLSession.swift",
        "Util/Uploader/FileUploader/FileUploader_asyncAwait_Tests.swift",
        "Util/Uploader/FileUploader/FileUploader_asyncStream_Tests.swift",
        "Util/Uploader/FileUploader/FileUploader_callbacks_Tests.swift",
        "Util/Uploader/FileUploader/FileUploader_publisher_Tests.swift",
        "Util/Uploader/FileUploader/Mocks/MockFileUploaderURLSession.swift",
        "Util/Uploader/Mocks/MockUploadTaskInterceptor.swift",
        "Util/WebSocket/Adaptors/WebSocketCallbackAdapterTests.swift",
        "Util/WebSocket/Adaptors/WebSocketPublisherAdapterTests.swift",
        "Util/WebSocket/Core/WebSocket_Connect_Tests.swift",
        "Util/WebSocket/Core/WebSocket_Disconnect_Tests.swift",
        "Util/WebSocket/Core/WebSocket_Messages_Tests.swift",
        "Util/WebSocket/Core/WebSocket_Send_Tests.swift",
        "Util/WebSocket/Core/WebSocket_StateEvents_Tests.swift",
        "Util/WebSocket/Helpers/PingConfigTests.swift",
        "Util/WebSocket/Helpers/WebSocketConnectionStateTests.swift",
        "Util/WebSocket/Mocks/MockURLSessionWebSocketTask.swift",
        "Util/WebSocket/Mocks/MockWebSockerURLSession.swift",
        "Util/WebSocket/Mocks/MockWebSocketTaskInterceptor.swift",
        "Validator/ResponseValidatorTests.swift"
      ],
      "target_dependencies" : [
        "EZNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EZNetworking",
      "module_type" : "SwiftTarget",
      "name" : "EZNetworking",
      "path" : "Sources/EZNetworking",
      "product_memberships" : [
        "EZNetworking"
      ],
      "sources" : [
        "Decoding/EZJSONDecoder.swift",
        "Error/HTTPResponse/HTTPResponse.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPClientErrorStatus.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPInformationalStatus.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPRedirectionStatus.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPServerErrorStatus.swift",
        "Error/HTTPResponse/StatusCodeTypes/HTTPSuccessStatus.swift",
        "Error/NetworkFailureReason/DecodingFailureReason.swift",
        "Error/NetworkFailureReason/DownloadFailureReason.swift",
        "Error/NetworkFailureReason/RequestFailureReason.swift",
        "Error/NetworkFailureReason/ResponseValidationFailureReason.swift",
        "Error/NetworkFailureReason/SendableError/SendableError.swift",
        "Error/NetworkFailureReason/ServerSentEvenFailureReason.swift",
        "Error/NetworkFailureReason/URLBuildFailureReason.swift",
        "Error/NetworkFailureReason/WebSocketFailureReason.swift",
        "Error/NetworkingError.swift",
        "HTTP/Body/HTTPBody.swift",
        "HTTP/Body/MultipartFormData/MultipartFormData.swift",
        "HTTP/Body/MultipartFormData/MultipartFormPart.swift",
        "HTTP/Headers/AuthorizationType.swift",
        "HTTP/Headers/HTTPHeader.swift",
        "HTTP/Headers/HTTPHeaderApplier.swift",
        "HTTP/Headers/MimeType.swift",
        "HTTP/Methods/HTTPMethod.swift",
        "HTTP/Parameters/HTTPParameter.swift",
        "HTTP/Parameters/HTTPParameterApplier.swift",
        "Other/CancellableRequest.swift",
        "Other/EmptyResponse.swift",
        "Other/Extensions/AsyncSequence-ext.swift",
        "Other/Extensions/Data-ext.swift",
        "Other/Extensions/String-ext.swift",
        "Other/RetryPolicy.swift",
        "Other/TaskBox.swift",
        "Request/Creational/RequestBuilder.swift",
        "Request/Creational/RequestFactory.swift",
        "Request/Creational/URLBuilder.swift",
        "Request/Request.swift",
        "Request/SpecializedRequests/DownloadRequest.swift",
        "Request/SpecializedRequests/EZRequest.swift",
        "Request/SpecializedRequests/SSERequest.swift",
        "Request/SpecializedRequests/WebSocketRequest.swift",
        "Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift",
        "Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift",
        "Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift",
        "Session/Interceptors/Protocols/AuthenticationInterceptor.swift",
        "Session/Interceptors/Protocols/CacheInterceptor.swift",
        "Session/Interceptors/Protocols/DataTaskInterceptor.swift",
        "Session/Interceptors/Protocols/DownloadTaskInterceptor.swift",
        "Session/Interceptors/Protocols/MetricsInterceptor.swift",
        "Session/Interceptors/Protocols/RedirectInterceptor.swift",
        "Session/Interceptors/Protocols/StreamTaskInterceptor.swift",
        "Session/Interceptors/Protocols/TaskLifecycleInterceptor.swift",
        "Session/Interceptors/Protocols/UploadTaskInterceptor.swift",
        "Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift",
        "Session/Session.swift",
        "Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift",
        "Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDelegate.swift",
        "Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDownloadDelegate.swift",
        "Session/SessionDelegate+Extensions/SessionDelegate+URLSessionStreamDelegate.swift",
        "Session/SessionDelegate+Extensions/SessionDelegate+URLSessionTaskDelegate.swift",
        "Session/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift",
        "Session/SessionDelegate.swift",
        "Session/URLSessionProtocols/URLSessionDownloadTaskProtocol.swift",
        "Session/URLSessionProtocols/URLSessionProtocol.swift",
        "Session/URLSessionProtocols/URLSessionWebSocketTaskProtocol.swift",
        "Util/Downloader/FileDownloader.swift",
        "Util/Downloader/Helpers/DownloadEvent.swift",
        "Util/Downloader/Protocols/FileDownloadable.swift",
        "Util/Performers/Protocols/RequestPerformable.swift",
        "Util/Performers/RequestPerformer.swift",
        "Util/ServerSentEvent/Adaptors/Protocols/ServerSentEventCallbackClient.swift",
        "Util/ServerSentEvent/Adaptors/Protocols/ServerSentEventPublisherClient.swift",
        "Util/ServerSentEvent/Adaptors/ServerSentEventCallbackAdapter.swift",
        "Util/ServerSentEvent/Adaptors/ServerSentEventPublisherAdapter.swift",
        "Util/ServerSentEvent/Core/Protocols/ServerSentEventClient.swift",
        "Util/ServerSentEvent/Core/ServerSentEventManager.swift",
        "Util/ServerSentEvent/Helpers/SSEConnectionState.swift",
        "Util/ServerSentEvent/Helpers/SSEParser.swift",
        "Util/ServerSentEvent/Helpers/ServerSentEvent.swift",
        "Util/Uploader/DataUploader/DataUploader.swift",
        "Util/Uploader/DataUploader/Protocols/DataUploadable.swift",
        "Util/Uploader/FileUploader/FileUploader.swift",
        "Util/Uploader/FileUploader/Protocols/FileUploadable.swift",
        "Util/Uploader/Shared/UploadStreamEvent.swift",
        "Util/Uploader/Shared/UploadTypealias.swift",
        "Util/WebSocket/Adaptors/Protocols/WebSocketCallbackClient.swift",
        "Util/WebSocket/Adaptors/Protocols/WebSocketPublisherClient.swift",
        "Util/WebSocket/Adaptors/WebSocketCallbackAdapter.swift",
        "Util/WebSocket/Adaptors/WebSocketPublisherAdapter.swift",
        "Util/WebSocket/Core/Protocols/WebSocketClient.swift",
        "Util/WebSocket/Core/WebSocket.swift",
        "Util/WebSocket/Helpers/PingConfig.swift",
        "Util/WebSocket/Helpers/WebSocketConnectionState.swift",
        "Validator/ResponseValidator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.