The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MakNetworkManager, reference v1.0.1 (86e2c1), with Swift 6.1 for macOS (SPM) on 10 Nov 2025 07:46:38 UTC.

Swift 6 data race errors: 0

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

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZaighamFarid/MakNetworkManager.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZaighamFarid/MakNetworkManager
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 86e2c15 Merge pull request #1 from ZaighamFarid/feature/swift-package-fix
Cloned https://github.com/ZaighamFarid/MakNetworkManager.git
Revision (git rev-parse @):
86e2c15049b2c3384257411f0c77689cf6691317
SUCCESS checkout https://github.com/ZaighamFarid/MakNetworkManager.git at v1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ZaighamFarid/MakNetworkManager.git
https://github.com/ZaighamFarid/MakNetworkManager.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MakNetworkManager",
  "name" : "MakNetworkManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "MakNetworkManager",
      "targets" : [
        "MakNetworkManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MakNetworkManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "MakNetworkManagerTests",
      "path" : "Tests/MakNetworkManagerTests",
      "sources" : [
        "APIServiceTests.swift",
        "Mocks/URLProtocolMock.swift",
        "RequestBuilderTests.swift"
      ],
      "target_dependencies" : [
        "MakNetworkManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MakNetworkManager",
      "module_type" : "SwiftTarget",
      "name" : "MakNetworkManager",
      "path" : "Sources/MakNetworkManager",
      "product_memberships" : [
        "MakNetworkManager"
      ],
      "sources" : [
        "Configuration/NetworkConfiguration.swift",
        "Endpoints/ConferenceAPI.swift",
        "Endpoints/TokenAPI.swift",
        "Implementation/APIService.swift",
        "Implementation/Reachability.swift",
        "Implementation/RequestBuilder.swift",
        "Implementation/RequestExecutor.swift",
        "Implementation/ResponseHandler.swift",
        "Models/APIResponse.swift",
        "Models/HTTPMethod.swift",
        "Models/NetworkError.swift",
        "Protocols/APIRequest.swift",
        "Protocols/AuthProviderProtocol.swift",
        "Protocols/LoggerProtocol.swift",
        "Protocols/NetworkProtocols.swift",
        "Protocols/ReachabilityProtocol.swift",
        "Services/ConferenceService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/19] Compiling MakNetworkManager ReachabilityProtocol.swift
[4/20] Compiling MakNetworkManager NetworkProtocols.swift
[5/20] Compiling MakNetworkManager APIResponse.swift
[6/20] Compiling MakNetworkManager HTTPMethod.swift
[7/20] Compiling MakNetworkManager AuthProviderProtocol.swift
[8/20] Compiling MakNetworkManager LoggerProtocol.swift
[9/20] Compiling MakNetworkManager NetworkError.swift
[10/20] Compiling MakNetworkManager APIRequest.swift
[11/20] Compiling MakNetworkManager RequestExecutor.swift
[12/20] Compiling MakNetworkManager ResponseHandler.swift
[13/20] Compiling MakNetworkManager NetworkConfiguration.swift
[14/20] Compiling MakNetworkManager ConferenceAPI.swift
[15/20] Emitting module MakNetworkManager
[16/20] Compiling MakNetworkManager TokenAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:135:34: warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
133 |         return try await withCheckedThrowingContinuation { continuation in
134 |             refreshQueue.async(flags: .barrier) { [weak self] in
135 |                 guard let self = self else {
    |                                  `- warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
136 |                     continuation.resume(throwing: NetworkError.unknown("Service deallocated"))
137 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:141:46: warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
130 |     // MARK: - Token Refresh Logic
131 |
132 |     private func handleTokenRefresh<T: APIRequest>(for request: T) async throws -> APIResponse {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
133 |         return try await withCheckedThrowingContinuation { continuation in
134 |             refreshQueue.async(flags: .barrier) { [weak self] in
    :
139 |
140 |                 // Queue the current request
141 |                 self.pendingRequests.append((request, continuation))
    |                                              `- warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
142 |
143 |                 // Only start refresh if not already in progress
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:172:25: warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
170 |
171 |                     self.refreshQueue.async(flags: .barrier) {
172 |                         self.isRefreshingToken = false
    |                         `- warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
173 |                     }
174 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:182:17: warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
180 |         return try await withCheckedThrowingContinuation { continuation in
181 |             refreshQueue.async(flags: .barrier) { [weak self] in
182 |                 self?.pendingRequests.append((request, continuation))
    |                 `- warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
183 |                 self?.logger.debug("Request queued while token refresh in progress", file: #file, function: #function, line: #line)
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:182:47: warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
177 |     }
178 |
179 |     private func queueRequest<T: APIRequest>(_ request: T) async throws -> APIResponse {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
180 |         return try await withCheckedThrowingContinuation { continuation in
181 |             refreshQueue.async(flags: .barrier) { [weak self] in
182 |                 self?.pendingRequests.append((request, continuation))
    |                                               `- warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
183 |                 self?.logger.debug("Request queued while token refresh in progress", file: #file, function: #function, line: #line)
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:190:47: warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
188 |     private func retryPendingRequests() async {
189 |         let requests = refreshQueue.sync { self.pendingRequests }
190 |         refreshQueue.async(flags: .barrier) { self.pendingRequests.removeAll() }
    |                                               `- warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
191 |
192 |         for (request, continuation) in requests {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:206:47: warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
204 |     private func failPendingRequests(with error: NetworkError) async {
205 |         let requests = refreshQueue.sync { self.pendingRequests }
206 |         refreshQueue.async(flags: .barrier) { self.pendingRequests.removeAll() }
    |                                               `- warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
207 |
208 |         for (_, continuation) in requests {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:193: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
191 |
192 |         for (request, continuation) in requests {
193 |             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
194 |                 do {
195 |                     let response = try await self.perform(request)
    |                                              `- note: closure captures 'self' which is accessible to code in the current task
196 |                     continuation.resume(returning: response)
197 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:196:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
194 |                 do {
195 |                     let response = try await self.perform(request)
196 |                     continuation.resume(returning: response)
    |                                  |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
197 |                 } catch {
198 |                     continuation.resume(throwing: error)
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:227: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
225 |         failure: @escaping (NetworkError) -> Void
226 |     ) {
227 |         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
228 |             do {
229 |                 let response = try await perform(request)
    |                                          `- note: closure captures 'self' which is accessible to code in the current task
230 |                 await MainActor.run {
231 |                     success(response)
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:231:21: warning: sending 'success' risks causing data races; this is an error in the Swift 6 language mode
229 |                 let response = try await perform(request)
230 |                 await MainActor.run {
231 |                     success(response)
    |                     |- warning: sending 'success' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'success' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
232 |                 }
233 |             } catch let error as NetworkError {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:231:29: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
229 |                 let response = try await perform(request)
230 |                 await MainActor.run {
231 |                     success(response)
    |                             |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
232 |                 }
233 |             } catch let error as NetworkError {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:235:21: warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
233 |             } catch let error as NetworkError {
234 |                 await MainActor.run {
235 |                     failure(error)
    |                     |- warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'failure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 |                 }
237 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:239:21: warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
237 |             } catch {
238 |                 await MainActor.run {
239 |                     failure(.unknown(error.localizedDescription))
    |                     |- warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'failure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 |                 }
241 |             }
[17/20] Compiling MakNetworkManager APIService.swift
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:135:34: warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
133 |         return try await withCheckedThrowingContinuation { continuation in
134 |             refreshQueue.async(flags: .barrier) { [weak self] in
135 |                 guard let self = self else {
    |                                  `- warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
136 |                     continuation.resume(throwing: NetworkError.unknown("Service deallocated"))
137 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:141:46: warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
130 |     // MARK: - Token Refresh Logic
131 |
132 |     private func handleTokenRefresh<T: APIRequest>(for request: T) async throws -> APIResponse {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
133 |         return try await withCheckedThrowingContinuation { continuation in
134 |             refreshQueue.async(flags: .barrier) { [weak self] in
    :
139 |
140 |                 // Queue the current request
141 |                 self.pendingRequests.append((request, continuation))
    |                                              `- warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
142 |
143 |                 // Only start refresh if not already in progress
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:172:25: warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
170 |
171 |                     self.refreshQueue.async(flags: .barrier) {
172 |                         self.isRefreshingToken = false
    |                         `- warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
173 |                     }
174 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:182:17: warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
180 |         return try await withCheckedThrowingContinuation { continuation in
181 |             refreshQueue.async(flags: .barrier) { [weak self] in
182 |                 self?.pendingRequests.append((request, continuation))
    |                 `- warning: capture of 'self' with non-sendable type 'APIService?' in a '@Sendable' closure
183 |                 self?.logger.debug("Request queued while token refresh in progress", file: #file, function: #function, line: #line)
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:182:47: warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
177 |     }
178 |
179 |     private func queueRequest<T: APIRequest>(_ request: T) async throws -> APIResponse {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
180 |         return try await withCheckedThrowingContinuation { continuation in
181 |             refreshQueue.async(flags: .barrier) { [weak self] in
182 |                 self?.pendingRequests.append((request, continuation))
    |                                               `- warning: capture of 'request' with non-sendable type 'T' in a '@Sendable' closure
183 |                 self?.logger.debug("Request queued while token refresh in progress", file: #file, function: #function, line: #line)
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:190:47: warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
188 |     private func retryPendingRequests() async {
189 |         let requests = refreshQueue.sync { self.pendingRequests }
190 |         refreshQueue.async(flags: .barrier) { self.pendingRequests.removeAll() }
    |                                               `- warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
191 |
192 |         for (request, continuation) in requests {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:206:47: warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
  9 |
 10 | /// Main network service that coordinates all API requests
 11 | public class APIService {
    |              `- note: class 'APIService' does not conform to the 'Sendable' protocol
 12 |     private let configuration: NetworkConfiguration
 13 |     private let requestBuilder: RequestBuilding
    :
204 |     private func failPendingRequests(with error: NetworkError) async {
205 |         let requests = refreshQueue.sync { self.pendingRequests }
206 |         refreshQueue.async(flags: .barrier) { self.pendingRequests.removeAll() }
    |                                               `- warning: capture of 'self' with non-sendable type 'APIService' in a '@Sendable' closure
207 |
208 |         for (_, continuation) in requests {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:193: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
191 |
192 |         for (request, continuation) in requests {
193 |             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
194 |                 do {
195 |                     let response = try await self.perform(request)
    |                                              `- note: closure captures 'self' which is accessible to code in the current task
196 |                     continuation.resume(returning: response)
197 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:196:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
194 |                 do {
195 |                     let response = try await self.perform(request)
196 |                     continuation.resume(returning: response)
    |                                  |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
197 |                 } catch {
198 |                     continuation.resume(throwing: error)
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:227: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
225 |         failure: @escaping (NetworkError) -> Void
226 |     ) {
227 |         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
228 |             do {
229 |                 let response = try await perform(request)
    |                                          `- note: closure captures 'self' which is accessible to code in the current task
230 |                 await MainActor.run {
231 |                     success(response)
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:231:21: warning: sending 'success' risks causing data races; this is an error in the Swift 6 language mode
229 |                 let response = try await perform(request)
230 |                 await MainActor.run {
231 |                     success(response)
    |                     |- warning: sending 'success' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'success' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
232 |                 }
233 |             } catch let error as NetworkError {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:231:29: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
229 |                 let response = try await perform(request)
230 |                 await MainActor.run {
231 |                     success(response)
    |                             |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
232 |                 }
233 |             } catch let error as NetworkError {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:235:21: warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
233 |             } catch let error as NetworkError {
234 |                 await MainActor.run {
235 |                     failure(error)
    |                     |- warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'failure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 |                 }
237 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/APIService.swift:239:21: warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
237 |             } catch {
238 |                 await MainActor.run {
239 |                     failure(.unknown(error.localizedDescription))
    |                     |- warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'failure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 |                 }
241 |             }
[18/20] Compiling MakNetworkManager Reachability.swift
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/Reachability.swift:32:30: warning: capture of 'self' with non-sendable type 'Reachability?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Default implementation of ReachabilityProtocol using NWPathMonitor
12 | public class Reachability: ReachabilityProtocol {
   |              `- note: class 'Reachability' does not conform to the 'Sendable' protocol
13 |     private let monitor: NWPathMonitor
14 |     private let queue: DispatchQueue
   :
30 |     public func startMonitoring() {
31 |         monitor.pathUpdateHandler = { [weak self] path in
32 |             guard let self = self else { return }
   |                              `- warning: capture of 'self' with non-sendable type 'Reachability?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |
34 |             if path.status == .satisfied {
[19/20] Compiling MakNetworkManager RequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Implementation/Reachability.swift:32:30: warning: capture of 'self' with non-sendable type 'Reachability?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Default implementation of ReachabilityProtocol using NWPathMonitor
12 | public class Reachability: ReachabilityProtocol {
   |              `- note: class 'Reachability' does not conform to the 'Sendable' protocol
13 |     private let monitor: NWPathMonitor
14 |     private let queue: DispatchQueue
   :
30 |     public func startMonitoring() {
31 |         monitor.pathUpdateHandler = { [weak self] path in
32 |             guard let self = self else { return }
   |                              `- warning: capture of 'self' with non-sendable type 'Reachability?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |
34 |             if path.status == .satisfied {
[20/20] Compiling MakNetworkManager ConferenceService.swift
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Services/ConferenceService.swift:86: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
 84 |         failure: @escaping (NetworkError) -> Void
 85 |     ) {
 86 |         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
 87 |             do {
 88 |                 let conferences = try await getConferences()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
 89 |                 await MainActor.run {
 90 |                     success(conferences)
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Services/ConferenceService.swift:90:21: warning: sending 'success' risks causing data races; this is an error in the Swift 6 language mode
 88 |                 let conferences = try await getConferences()
 89 |                 await MainActor.run {
 90 |                     success(conferences)
    |                     |- warning: sending 'success' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'success' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 91 |                 }
 92 |             } catch let error as NetworkError {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Services/ConferenceService.swift:90:29: warning: sending 'conferences' risks causing data races; this is an error in the Swift 6 language mode
 88 |                 let conferences = try await getConferences()
 89 |                 await MainActor.run {
 90 |                     success(conferences)
    |                             |- warning: sending 'conferences' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: task-isolated 'conferences' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 91 |                 }
 92 |             } catch let error as NetworkError {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Services/ConferenceService.swift:94:21: warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
 92 |             } catch let error as NetworkError {
 93 |                 await MainActor.run {
 94 |                     failure(error)
    |                     |- warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'failure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 95 |                 }
 96 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/MakNetworkManager/Services/ConferenceService.swift:98:21: warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
 96 |             } catch {
 97 |                 await MainActor.run {
 98 |                     failure(.unknown(error.localizedDescription))
    |                     |- warning: sending 'failure' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'failure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 |                 }
100 |             }
Build complete! (6.42s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MakNetworkManager",
  "name" : "MakNetworkManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "MakNetworkManager",
      "targets" : [
        "MakNetworkManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MakNetworkManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "MakNetworkManagerTests",
      "path" : "Tests/MakNetworkManagerTests",
      "sources" : [
        "APIServiceTests.swift",
        "Mocks/URLProtocolMock.swift",
        "RequestBuilderTests.swift"
      ],
      "target_dependencies" : [
        "MakNetworkManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MakNetworkManager",
      "module_type" : "SwiftTarget",
      "name" : "MakNetworkManager",
      "path" : "Sources/MakNetworkManager",
      "product_memberships" : [
        "MakNetworkManager"
      ],
      "sources" : [
        "Configuration/NetworkConfiguration.swift",
        "Endpoints/ConferenceAPI.swift",
        "Endpoints/TokenAPI.swift",
        "Implementation/APIService.swift",
        "Implementation/Reachability.swift",
        "Implementation/RequestBuilder.swift",
        "Implementation/RequestExecutor.swift",
        "Implementation/ResponseHandler.swift",
        "Models/APIResponse.swift",
        "Models/HTTPMethod.swift",
        "Models/NetworkError.swift",
        "Protocols/APIRequest.swift",
        "Protocols/AuthProviderProtocol.swift",
        "Protocols/LoggerProtocol.swift",
        "Protocols/NetworkProtocols.swift",
        "Protocols/ReachabilityProtocol.swift",
        "Services/ConferenceService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.