The Swift Package Index logo.Swift Package Index

Build Information

Successful build of JPNetworking, reference main (5595d2), with Swift 6.1 for macOS (SPM) on 30 Sep 2025 13:20:30 UTC.

Swift 6 data race errors: 19

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iamjpsharma/JPNetworking.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iamjpsharma/JPNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5595d21 Update README.md
Cloned https://github.com/iamjpsharma/JPNetworking.git
Revision (git rev-parse @):
5595d2153a63ea027bd3fc5da18b11e475411597
SUCCESS checkout https://github.com/iamjpsharma/JPNetworking.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/iamjpsharma/JPNetworking.git
https://github.com/iamjpsharma/JPNetworking.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JPNetworking",
  "name" : "JPNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "JPNetworking",
      "targets" : [
        "JPNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JPNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "JPNetworkingTests",
      "path" : "Tests/JPNetworkingTests",
      "sources" : [
        "AdvancedFeaturesTests.swift",
        "AuthenticationInterceptorTests.swift",
        "CachingRetryTests.swift",
        "SwiftNetFrameworkTests.swift",
        "SwiftNetTests.swift",
        "TokenRefreshTests.swift"
      ],
      "target_dependencies" : [
        "JPNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JPNetworking",
      "module_type" : "SwiftTarget",
      "name" : "JPNetworking",
      "path" : "Sources/JPNetworking",
      "product_memberships" : [
        "JPNetworking"
      ],
      "sources" : [
        "ActivityIndicator/NetworkActivityIndicatorManager.swift",
        "Authentication/AuthenticationProvider.swift",
        "Caching/CacheManager.swift",
        "Caching/CachePolicy.swift",
        "Core/NetworkError.swift",
        "Core/NetworkManager.swift",
        "Core/Request.swift",
        "Core/Response.swift",
        "Downloads/BackgroundTaskManager.swift",
        "Downloads/ProgressTracker.swift",
        "Extensions/SwiftNetExtensions.swift",
        "Interceptors/Interceptor.swift",
        "JPNetworking.swift",
        "Reachability/NetworkReachabilityManager.swift",
        "Retry/RetryManager.swift",
        "Security/SSLPinningManager.swift",
        "Serialization/ResponseSerializer.swift",
        "Utilities/Logger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/20] Compiling JPNetworking Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/Response.swift:532:18: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
530 |
531 | /// Type alias for JSON dictionary responses
532 | public typealias JSONResponse = JPNetworkingResponse<[String: Any]>
    |                  `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
533 |
534 | // MARK: - Response Builder
[4/20] Compiling JPNetworking Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/Response.swift:532:18: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
530 |
531 | /// Type alias for JSON dictionary responses
532 | public typealias JSONResponse = JPNetworkingResponse<[String: Any]>
    |                  `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
533 |
534 | // MARK: - Response Builder
[5/21] Compiling JPNetworking SwiftNetExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:321:24: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
319 |     /// - Returns: JSON dictionary response
320 |     @MainActor
321 |     public static func getJSON(
    |                        `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 |         _ url: String,
323 |         headers: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:336:20: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 |         if let data = dataResponse.data,
335 |            let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any] {
336 |             return JPNetworkingResponse<[String: Any]>(
    |                    `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 |                 data: dataResponse.data,
338 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:336:54: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 |         if let data = dataResponse.data,
335 |            let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any] {
336 |             return JPNetworkingResponse<[String: Any]>(
    |                                                      `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 |                 data: dataResponse.data,
338 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:344:20: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 |             )
343 |         } else {
344 |             return JPNetworkingResponse<[String: Any]>(
    |                    `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
345 |                 data: dataResponse.data,
346 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:344:54: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 |             )
343 |         } else {
344 |             return JPNetworkingResponse<[String: Any]>(
    |                                                      `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
345 |                 data: dataResponse.data,
346 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:499:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |     /// - Returns: JSON request body
498 |     public func asJSONBody() -> RequestBody {
499 |         return .json(self)
    |                      `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
500 |     }
501 |
[6/21] Compiling JPNetworking Interceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:321:24: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
319 |     /// - Returns: JSON dictionary response
320 |     @MainActor
321 |     public static func getJSON(
    |                        `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 |         _ url: String,
323 |         headers: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:336:20: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 |         if let data = dataResponse.data,
335 |            let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any] {
336 |             return JPNetworkingResponse<[String: Any]>(
    |                    `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 |                 data: dataResponse.data,
338 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:336:54: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 |         if let data = dataResponse.data,
335 |            let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any] {
336 |             return JPNetworkingResponse<[String: Any]>(
    |                                                      `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 |                 data: dataResponse.data,
338 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:344:20: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 |             )
343 |         } else {
344 |             return JPNetworkingResponse<[String: Any]>(
    |                    `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
345 |                 data: dataResponse.data,
346 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:344:54: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 |             )
343 |         } else {
344 |             return JPNetworkingResponse<[String: Any]>(
    |                                                      `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
345 |                 data: dataResponse.data,
346 |                 response: dataResponse.response,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:499:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |     /// - Returns: JSON request body
498 |     public func asJSONBody() -> RequestBody {
499 |         return .json(self)
    |                      `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
500 |     }
501 |
[7/21] Compiling JPNetworking RetryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:428:15: warning: non-final class 'SSLPinningURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
426 | // MARK: - SSL Pinning URLSession Delegate
427 |
428 | private class SSLPinningURLSessionDelegate: NSObject, URLSessionDelegate {
    |               `- warning: non-final class 'SSLPinningURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
429 |     private let sslManager: SSLPinningManager
430 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:127:48: warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
110 |     private let securityPolicy: SSLSecurityPolicy
111 |     private var pinnedCertificateData: Set<Data> = []
112 |     private var pinnedPublicKeyData: Set<Data> = []
    |                 `- note: property declared here
113 |
114 |     // Security metrics
    :
125 |
126 |         // Extract public keys from certificates if needed
127 |         if policy.pinningMode == .publicKey && pinnedPublicKeyData.isEmpty {
    |                                                `- warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
128 |             Task {
129 |                 await extractPublicKeysFromCertificates()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:450: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
448 |         let host = challenge.protectionSpace.host
449 |
450 |         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
451 |             let isValid = await sslManager.evaluateServerTrust(serverTrust, forHost: host)
452 |
453 |             if isValid {
454 |                 let credential = URLCredential(trust: serverTrust)
455 |                 completionHandler(.useCredential, credential)
    |                 `- note: closure captures 'completionHandler' which is accessible to code in the current task
456 |             } else {
457 |                 completionHandler(.cancelAuthenticationChallenge, nil)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:451:44: warning: sending 'serverTrust' risks causing data races; this is an error in the Swift 6 language mode
449 |
450 |         Task {
451 |             let isValid = await sslManager.evaluateServerTrust(serverTrust, forHost: host)
    |                                            |- warning: sending 'serverTrust' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'serverTrust' to actor-isolated instance method 'evaluateServerTrust(_:forHost:)' risks causing data races between actor-isolated and task-isolated uses
452 |
453 |             if isValid {
[8/21] Compiling JPNetworking SSLPinningManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:428:15: warning: non-final class 'SSLPinningURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
426 | // MARK: - SSL Pinning URLSession Delegate
427 |
428 | private class SSLPinningURLSessionDelegate: NSObject, URLSessionDelegate {
    |               `- warning: non-final class 'SSLPinningURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
429 |     private let sslManager: SSLPinningManager
430 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:127:48: warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
110 |     private let securityPolicy: SSLSecurityPolicy
111 |     private var pinnedCertificateData: Set<Data> = []
112 |     private var pinnedPublicKeyData: Set<Data> = []
    |                 `- note: property declared here
113 |
114 |     // Security metrics
    :
125 |
126 |         // Extract public keys from certificates if needed
127 |         if policy.pinningMode == .publicKey && pinnedPublicKeyData.isEmpty {
    |                                                `- warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
128 |             Task {
129 |                 await extractPublicKeysFromCertificates()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:450: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
448 |         let host = challenge.protectionSpace.host
449 |
450 |         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
451 |             let isValid = await sslManager.evaluateServerTrust(serverTrust, forHost: host)
452 |
453 |             if isValid {
454 |                 let credential = URLCredential(trust: serverTrust)
455 |                 completionHandler(.useCredential, credential)
    |                 `- note: closure captures 'completionHandler' which is accessible to code in the current task
456 |             } else {
457 |                 completionHandler(.cancelAuthenticationChallenge, nil)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:451:44: warning: sending 'serverTrust' risks causing data races; this is an error in the Swift 6 language mode
449 |
450 |         Task {
451 |             let isValid = await sslManager.evaluateServerTrust(serverTrust, forHost: host)
    |                                            |- warning: sending 'serverTrust' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'serverTrust' to actor-isolated instance method 'evaluateServerTrust(_:forHost:)' risks causing data races between actor-isolated and task-isolated uses
452 |
453 |             if isValid {
[9/21] Compiling JPNetworking NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:519:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |     /// - Parameter operations: Array of async operations
517 |     /// - Returns: Array of results
518 |     public func executeAll<T>(_ operations: [() async -> T]) async -> [T] {
    |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
519 |         await withTaskGroup(of: (Int, T).self) { group in
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
520 |             for (index, operation) in operations.enumerated() {
521 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:521:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |     /// - Parameter operations: Array of async operations
517 |     /// - Returns: Array of results
518 |     public func executeAll<T>(_ operations: [() async -> T]) async -> [T] {
    |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
519 |         await withTaskGroup(of: (Int, T).self) { group in
520 |             for (index, operation) in operations.enumerated() {
521 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 |                     let result = await operation()
523 |                     return (index, result)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:528:13: warning: non-sendable result type '(Int, T)?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
516 |     /// - Parameter operations: Array of async operations
517 |     /// - Returns: Array of results
518 |     public func executeAll<T>(_ operations: [() async -> T]) async -> [T] {
    |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
519 |         await withTaskGroup(of: (Int, T).self) { group in
520 |             for (index, operation) in operations.enumerated() {
    :
526 |
527 |             var results: [(Int, T)] = []
528 |             for await result in group {
    |             `- warning: non-sendable result type '(Int, T)?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
529 |                 results.append(result)
530 |             }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:521:31: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
519 |         await withTaskGroup(of: (Int, T).self) { group in
520 |             for (index, operation) in operations.enumerated() {
521 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
522 |                     let result = await operation()
    |                                        `- note: closure captures 'operation' which is accessible to main actor-isolated code
523 |                     return (index, result)
524 |                 }
[10/21] Compiling JPNetworking NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:519:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |     /// - Parameter operations: Array of async operations
517 |     /// - Returns: Array of results
518 |     public func executeAll<T>(_ operations: [() async -> T]) async -> [T] {
    |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
519 |         await withTaskGroup(of: (Int, T).self) { group in
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
520 |             for (index, operation) in operations.enumerated() {
521 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:521:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |     /// - Parameter operations: Array of async operations
517 |     /// - Returns: Array of results
518 |     public func executeAll<T>(_ operations: [() async -> T]) async -> [T] {
    |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
519 |         await withTaskGroup(of: (Int, T).self) { group in
520 |             for (index, operation) in operations.enumerated() {
521 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 |                     let result = await operation()
523 |                     return (index, result)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:528:13: warning: non-sendable result type '(Int, T)?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
516 |     /// - Parameter operations: Array of async operations
517 |     /// - Returns: Array of results
518 |     public func executeAll<T>(_ operations: [() async -> T]) async -> [T] {
    |                            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
519 |         await withTaskGroup(of: (Int, T).self) { group in
520 |             for (index, operation) in operations.enumerated() {
    :
526 |
527 |             var results: [(Int, T)] = []
528 |             for await result in group {
    |             `- warning: non-sendable result type '(Int, T)?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
529 |                 results.append(result)
530 |             }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:521:31: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
519 |         await withTaskGroup(of: (Int, T).self) { group in
520 |             for (index, operation) in operations.enumerated() {
521 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
522 |                     let result = await operation()
    |                                        `- note: closure captures 'operation' which is accessible to main actor-isolated code
523 |                     return (index, result)
524 |                 }
[11/21] Compiling JPNetworking BackgroundTaskManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:83:29: warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Current status
 83 |     public private(set) var status: BackgroundTaskStatus = .waiting
    |                             `- warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 84 |
 85 |     /// Progress callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:211:9: warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 |     override init() {
210 |         super.init()
211 |         setupBackgroundSessionSync()
    |         `- warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 |     }
213 |
    :
333 |     // MARK: - Private Methods
334 |
335 |     private func setupBackgroundSessionSync() {
    |                  `- note: calls to instance method 'setupBackgroundSessionSync()' from outside of its actor context are implicitly asynchronous
336 |         let config = URLSessionConfiguration.background(withIdentifier: sessionIdentifier)
337 |         config.isDiscretionary = false
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:112:16: warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
110 |
111 |     /// Progress update callback
112 |     public var progressHandler: (@Sendable (TransferProgress) -> Void)?
    |                `- warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
113 |
114 |     /// Completion callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:492:15: warning: non-final class 'ProgressURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
490 | // MARK: - Progress URLSession Delegate
491 |
492 | private class ProgressURLSessionDelegate: NSObject, URLSessionDownloadDelegate, URLSessionTaskDelegate {
    |               `- warning: non-final class 'ProgressURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
493 |     private let progressTracker: ProgressTracker
494 |
[12/21] Compiling JPNetworking ProgressTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:83:29: warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Current status
 83 |     public private(set) var status: BackgroundTaskStatus = .waiting
    |                             `- warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 84 |
 85 |     /// Progress callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:211:9: warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 |     override init() {
210 |         super.init()
211 |         setupBackgroundSessionSync()
    |         `- warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 |     }
213 |
    :
333 |     // MARK: - Private Methods
334 |
335 |     private func setupBackgroundSessionSync() {
    |                  `- note: calls to instance method 'setupBackgroundSessionSync()' from outside of its actor context are implicitly asynchronous
336 |         let config = URLSessionConfiguration.background(withIdentifier: sessionIdentifier)
337 |         config.isDiscretionary = false
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:112:16: warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
110 |
111 |     /// Progress update callback
112 |     public var progressHandler: (@Sendable (TransferProgress) -> Void)?
    |                `- warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
113 |
114 |     /// Completion callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:492:15: warning: non-final class 'ProgressURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
490 | // MARK: - Progress URLSession Delegate
491 |
492 | private class ProgressURLSessionDelegate: NSObject, URLSessionDownloadDelegate, URLSessionTaskDelegate {
    |               `- warning: non-final class 'ProgressURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
493 |     private let progressTracker: ProgressTracker
494 |
[13/21] Compiling JPNetworking Logger.swift
[14/21] Compiling JPNetworking ResponseSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:170:15: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
168 |
169 | /// XML response serializer using XMLParser
170 | public struct XMLResponseSerializer: ResponseSerializer {
    |               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
171 |     public typealias SerializedObject = [String: Any]
172 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:200:15: warning: type 'PropertyListResponseSerializer.SerializedObject' (aka 'Any') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
198 |
199 | /// Property List response serializer
200 | public struct PropertyListResponseSerializer: ResponseSerializer {
    |               `- warning: type 'PropertyListResponseSerializer.SerializedObject' (aka 'Any') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
201 |     public typealias SerializedObject = Any
202 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:239:15: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
237 |
238 | /// Image response serializer for UI/AppKit images
239 | public struct ImageResponseSerializer: ResponseSerializer {
    |               |- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
    |               `- note: in associated type 'Self.SerializedObject' (inferred as 'NSImage')
240 |
241 |     #if canImport(UIKit)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:461:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
459 |     ///   - decoder: JSON decoder to use
460 |     /// - Returns: JSON response
461 |     public func asJSON<T: Decodable & Sendable>(
    |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
462 |         _ type: T.Type,
463 |         decoder: JSONDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/Response.swift:42:36: note: 'T' previously declared here
 40 | /// }
 41 | /// ```
 42 | public struct JPNetworkingResponse<T>: Sendable where T: Sendable {
    |                                    `- note: 'T' previously declared here
 43 |
 44 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:471:17: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
469 |     /// Serialize response as XML dictionary
470 |     /// - Returns: XML dictionary response
471 |     public func asXML() -> JPNetworkingResponse<[String: Any]> {
    |                 `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
472 |         let serializer = XMLResponseSerializer()
473 |         return serialized(using: serializer)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:478:17: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |     /// Serialize response as Property List
477 |     /// - Returns: Property List response
478 |     public func asPropertyList() -> JPNetworkingResponse<Any> {
    |                 `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |         let serializer = PropertyListResponseSerializer()
480 |         return serialized(using: serializer)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:487:17: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
485 |     /// - Parameter scale: Image scale factor
486 |     /// - Returns: Image response
487 |     public func asImage(scale: CGFloat = 1.0) -> JPNetworkingResponse<ImageResponseSerializer.SerializedObject> {
    |                 `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
488 |         let serializer = ImageResponseSerializer(scale: scale)
489 |         return serialized(using: serializer)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
[15/21] Compiling JPNetworking JPNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:29: warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |                             `- warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:134:12: note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
132 |     ///   - cacheManager: Cache manager instance
133 |     ///   - retryManager: Retry manager instance
134 |     public init(
    |            `- note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
135 |         configuration: NetworkConfiguration = NetworkConfiguration(),
136 |         session: URLSession = .shared,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:44: warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |                                            `- warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:124:23: note: static property declared here
122 |
123 |     /// Shared NetworkManager instance for convenience
124 |     public static let shared = NetworkManager()
    |                       `- note: static property declared here
125 |
126 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:133:14: warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
131 |
132 |     deinit {
133 |         Task {
    |              `- warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
134 |             await stopListening()
135 |         }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:452:43: warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
450 |             // Listen for reachability
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
    |                                           `- warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
453 |                     hasReturned = true
454 |                     Task {
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:453:21: warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
453 |                     hasReturned = true
    |                     `- warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
[16/21] Compiling JPNetworking NetworkReachabilityManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:29: warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |                             `- warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:134:12: note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
132 |     ///   - cacheManager: Cache manager instance
133 |     ///   - retryManager: Retry manager instance
134 |     public init(
    |            `- note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
135 |         configuration: NetworkConfiguration = NetworkConfiguration(),
136 |         session: URLSession = .shared,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:44: warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |                                            `- warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:124:23: note: static property declared here
122 |
123 |     /// Shared NetworkManager instance for convenience
124 |     public static let shared = NetworkManager()
    |                       `- note: static property declared here
125 |
126 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:133:14: warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
131 |
132 |     deinit {
133 |         Task {
    |              `- warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
134 |             await stopListening()
135 |         }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:452:43: warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
450 |             // Listen for reachability
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
    |                                           `- warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
453 |                     hasReturned = true
454 |                     Task {
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:453:21: warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
453 |                     hasReturned = true
    |                     `- warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/21] Compiling JPNetworking CacheManager.swift
[18/21] Compiling JPNetworking CachePolicy.swift
[19/21] Emitting module JPNetworking
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/ActivityIndicator/NetworkActivityIndicatorManager.swift:241:17: error: main actor-isolated default value in a nonisolated context
239 |     private let identifier: UUID
240 |
241 |     public init(manager: NetworkActivityIndicatorManager = .shared) {
    |                 `- error: main actor-isolated default value in a nonisolated context
242 |         self.manager = manager
243 |         self.identifier = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:61:17: warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 59 |     private let refreshURL: String?
 60 |     private let tokenType: String
 61 |     private var expirationDate: Date?
    |                 `- warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 62 |
 63 |     private var currentToken: String
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:379:17: warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
377 |     private let grantType: GrantType
378 |
379 |     private var accessToken: String?
    |                 `- warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
380 |     private var refreshToken: String?
381 |     private var tokenExpiration: Date?
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/Response.swift:532:18: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
530 |
531 | /// Type alias for JSON dictionary responses
532 | public typealias JSONResponse = JPNetworkingResponse<[String: Any]>
    |                  `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
533 |
534 | // MARK: - Response Builder
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:83:29: warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Current status
 83 |     public private(set) var status: BackgroundTaskStatus = .waiting
    |                             `- warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 84 |
 85 |     /// Progress callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:211:9: warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 |     override init() {
210 |         super.init()
211 |         setupBackgroundSessionSync()
    |         `- warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 |     }
213 |
    :
333 |     // MARK: - Private Methods
334 |
335 |     private func setupBackgroundSessionSync() {
    |                  `- note: calls to instance method 'setupBackgroundSessionSync()' from outside of its actor context are implicitly asynchronous
336 |         let config = URLSessionConfiguration.background(withIdentifier: sessionIdentifier)
337 |         config.isDiscretionary = false
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:112:16: warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
110 |
111 |     /// Progress update callback
112 |     public var progressHandler: (@Sendable (TransferProgress) -> Void)?
    |                `- warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
113 |
114 |     /// Completion callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:492:15: warning: non-final class 'ProgressURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
490 | // MARK: - Progress URLSession Delegate
491 |
492 | private class ProgressURLSessionDelegate: NSObject, URLSessionDownloadDelegate, URLSessionTaskDelegate {
    |               `- warning: non-final class 'ProgressURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
493 |     private let progressTracker: ProgressTracker
494 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Extensions/SwiftNetExtensions.swift:321:24: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
319 |     /// - Returns: JSON dictionary response
320 |     @MainActor
321 |     public static func getJSON(
    |                        `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 |         _ url: String,
323 |         headers: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:428:15: warning: non-final class 'SSLPinningURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
426 | // MARK: - SSL Pinning URLSession Delegate
427 |
428 | private class SSLPinningURLSessionDelegate: NSObject, URLSessionDelegate {
    |               `- warning: non-final class 'SSLPinningURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
429 |     private let sslManager: SSLPinningManager
430 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:127:48: warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
110 |     private let securityPolicy: SSLSecurityPolicy
111 |     private var pinnedCertificateData: Set<Data> = []
112 |     private var pinnedPublicKeyData: Set<Data> = []
    |                 `- note: property declared here
113 |
114 |     // Security metrics
    :
125 |
126 |         // Extract public keys from certificates if needed
127 |         if policy.pinningMode == .publicKey && pinnedPublicKeyData.isEmpty {
    |                                                `- warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
128 |             Task {
129 |                 await extractPublicKeysFromCertificates()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:170:15: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
168 |
169 | /// XML response serializer using XMLParser
170 | public struct XMLResponseSerializer: ResponseSerializer {
    |               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
171 |     public typealias SerializedObject = [String: Any]
172 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:200:15: warning: type 'PropertyListResponseSerializer.SerializedObject' (aka 'Any') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
198 |
199 | /// Property List response serializer
200 | public struct PropertyListResponseSerializer: ResponseSerializer {
    |               `- warning: type 'PropertyListResponseSerializer.SerializedObject' (aka 'Any') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
201 |     public typealias SerializedObject = Any
202 |
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:239:15: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
237 |
238 | /// Image response serializer for UI/AppKit images
239 | public struct ImageResponseSerializer: ResponseSerializer {
    |               |- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
    |               `- note: in associated type 'Self.SerializedObject' (inferred as 'NSImage')
240 |
241 |     #if canImport(UIKit)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:461:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
459 |     ///   - decoder: JSON decoder to use
460 |     /// - Returns: JSON response
461 |     public func asJSON<T: Decodable & Sendable>(
    |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
462 |         _ type: T.Type,
463 |         decoder: JSONDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/Response.swift:42:36: note: 'T' previously declared here
 40 | /// }
 41 | /// ```
 42 | public struct JPNetworkingResponse<T>: Sendable where T: Sendable {
    |                                    `- note: 'T' previously declared here
 43 |
 44 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:471:17: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
469 |     /// Serialize response as XML dictionary
470 |     /// - Returns: XML dictionary response
471 |     public func asXML() -> JPNetworkingResponse<[String: Any]> {
    |                 `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
472 |         let serializer = XMLResponseSerializer()
473 |         return serialized(using: serializer)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:478:17: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |     /// Serialize response as Property List
477 |     /// - Returns: Property List response
478 |     public func asPropertyList() -> JPNetworkingResponse<Any> {
    |                 `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |         let serializer = PropertyListResponseSerializer()
480 |         return serialized(using: serializer)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:487:17: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
485 |     /// - Parameter scale: Image scale factor
486 |     /// - Returns: Image response
487 |     public func asImage(scale: CGFloat = 1.0) -> JPNetworkingResponse<ImageResponseSerializer.SerializedObject> {
    |                 `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
488 |         let serializer = ImageResponseSerializer(scale: scale)
489 |         return serialized(using: serializer)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
[20/21] Compiling JPNetworking NetworkActivityIndicatorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/ActivityIndicator/NetworkActivityIndicatorManager.swift:241:17: error: main actor-isolated default value in a nonisolated context
239 |     private let identifier: UUID
240 |
241 |     public init(manager: NetworkActivityIndicatorManager = .shared) {
    |                 `- error: main actor-isolated default value in a nonisolated context
242 |         self.manager = manager
243 |         self.identifier = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:61:17: warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 59 |     private let refreshURL: String?
 60 |     private let tokenType: String
 61 |     private var expirationDate: Date?
    |                 `- warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 62 |
 63 |     private var currentToken: String
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:379:17: warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
377 |     private let grantType: GrantType
378 |
379 |     private var accessToken: String?
    |                 `- warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
380 |     private var refreshToken: String?
381 |     private var tokenExpiration: Date?
[21/21] Compiling JPNetworking AuthenticationProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/ActivityIndicator/NetworkActivityIndicatorManager.swift:241:17: error: main actor-isolated default value in a nonisolated context
239 |     private let identifier: UUID
240 |
241 |     public init(manager: NetworkActivityIndicatorManager = .shared) {
    |                 `- error: main actor-isolated default value in a nonisolated context
242 |         self.manager = manager
243 |         self.identifier = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:61:17: warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 59 |     private let refreshURL: String?
 60 |     private let tokenType: String
 61 |     private var expirationDate: Date?
    |                 `- warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 62 |
 63 |     private var currentToken: String
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:379:17: warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
377 |     private let grantType: GrantType
378 |
379 |     private var accessToken: String?
    |                 `- warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
380 |     private var refreshToken: String?
381 |     private var tokenExpiration: Date?
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/19] Compiling JPNetworking ResponseSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:239:15: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
237 |
238 | /// Image response serializer for UI/AppKit images
239 | public struct ImageResponseSerializer: ResponseSerializer {
    |               |- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
    |               `- note: in associated type 'Self.SerializedObject' (inferred as 'NSImage')
240 |
241 |     #if canImport(UIKit)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:461:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
459 |     ///   - decoder: JSON decoder to use
460 |     /// - Returns: JSON response
461 |     public func asJSON<T: Decodable & Sendable>(
    |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
462 |         _ type: T.Type,
463 |         decoder: JSONDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/Response.swift:42:36: note: 'T' previously declared here
 40 | /// }
 41 | /// ```
 42 | public struct JPNetworkingResponse<T>: Sendable where T: Sendable {
    |                                    `- note: 'T' previously declared here
 43 |
 44 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:487:17: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
485 |     /// - Parameter scale: Image scale factor
486 |     /// - Returns: Image response
487 |     public func asImage(scale: CGFloat = 1.0) -> JPNetworkingResponse<ImageResponseSerializer.SerializedObject> {
    |                 `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
488 |         let serializer = ImageResponseSerializer(scale: scale)
489 |         return serialized(using: serializer)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
[3/20] Compiling JPNetworking JPNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:29: warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |                             `- warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:134:12: note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
132 |     ///   - cacheManager: Cache manager instance
133 |     ///   - retryManager: Retry manager instance
134 |     public init(
    |            `- note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
135 |         configuration: NetworkConfiguration = NetworkConfiguration(),
136 |         session: URLSession = .shared,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:44: warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |                                            `- warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:124:23: note: static property declared here
122 |
123 |     /// Shared NetworkManager instance for convenience
124 |     public static let shared = NetworkManager()
    |                       `- note: static property declared here
125 |
126 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:133:14: warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
131 |
132 |     deinit {
133 |         Task {
    |              `- warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
134 |             await stopListening()
135 |         }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:452:43: warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
450 |             // Listen for reachability
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
    |                                           `- warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
453 |                     hasReturned = true
454 |                     Task {
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:453:21: warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
453 |                     hasReturned = true
    |                     `- warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
[4/20] Compiling JPNetworking NetworkReachabilityManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:91:29: warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 89 |
 90 |         configurationQueue.async(flags: .barrier) {
 91 |             globalManager = NetworkManager(configuration: configuration, session: session)
    |                             `- warning: call to main actor-isolated initializer 'init(configuration:session:cacheManager:retryManager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:134:12: note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
132 |     ///   - cacheManager: Cache manager instance
133 |     ///   - retryManager: Retry manager instance
134 |     public init(
    |            `- note: calls to initializer 'init(configuration:session:cacheManager:retryManager:)' from outside of its actor context are implicitly asynchronous
135 |         configuration: NetworkConfiguration = NetworkConfiguration(),
136 |         session: URLSession = .shared,
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:13: warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Global NetworkManager instance
 59 |     private static var globalManager = NetworkManager.shared
    |                        `- note: mutation of this static property is only permitted within the actor
 60 |
 61 |     /// Thread-safe access queue for global manager
    :
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |             `- warning: main actor-isolated static property 'globalManager' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/JPNetworking.swift:98:44: warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 96 |     public static func resetConfiguration() {
 97 |         configurationQueue.async(flags: .barrier) {
 98 |             globalManager = NetworkManager.shared
    |                                            `- warning: main actor-isolated static property 'shared' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/NetworkManager.swift:124:23: note: static property declared here
122 |
123 |     /// Shared NetworkManager instance for convenience
124 |     public static let shared = NetworkManager()
    |                       `- note: static property declared here
125 |
126 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:133:14: warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
131 |
132 |     deinit {
133 |         Task {
    |              `- warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
134 |             await stopListening()
135 |         }
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:452:43: warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
450 |             // Listen for reachability
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
    |                                           `- warning: reference to captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
453 |                     hasReturned = true
454 |                     Task {
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:453:21: warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
451 |             let handlerID = startListening { status in
452 |                 if status.isReachable && !hasReturned {
453 |                     hasReturned = true
    |                     `- warning: mutation of captured var 'hasReturned' in concurrently-executing code; this is an error in the Swift 6 language mode
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
[5/20] Compiling JPNetworking Request.swift
[6/20] Compiling JPNetworking Response.swift
[7/20] Compiling JPNetworking RetryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:127:48: warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
110 |     private let securityPolicy: SSLSecurityPolicy
111 |     private var pinnedCertificateData: Set<Data> = []
112 |     private var pinnedPublicKeyData: Set<Data> = []
    |                 `- note: property declared here
113 |
114 |     // Security metrics
    :
125 |
126 |         // Extract public keys from certificates if needed
127 |         if policy.pinningMode == .publicKey && pinnedPublicKeyData.isEmpty {
    |                                                `- warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
128 |             Task {
129 |                 await extractPublicKeysFromCertificates()
[8/20] Compiling JPNetworking SSLPinningManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:127:48: warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
110 |     private let securityPolicy: SSLSecurityPolicy
111 |     private var pinnedCertificateData: Set<Data> = []
112 |     private var pinnedPublicKeyData: Set<Data> = []
    |                 `- note: property declared here
113 |
114 |     // Security metrics
    :
125 |
126 |         // Extract public keys from certificates if needed
127 |         if policy.pinningMode == .publicKey && pinnedPublicKeyData.isEmpty {
    |                                                `- warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
128 |             Task {
129 |                 await extractPublicKeysFromCertificates()
[9/20] Compiling JPNetworking NetworkError.swift
[10/20] Compiling JPNetworking NetworkManager.swift
[11/20] Compiling JPNetworking CacheManager.swift
[12/20] Compiling JPNetworking CachePolicy.swift
[13/20] Compiling JPNetworking BackgroundTaskManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:83:29: warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Current status
 83 |     public private(set) var status: BackgroundTaskStatus = .waiting
    |                             `- warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 84 |
 85 |     /// Progress callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:211:9: warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 |     override init() {
210 |         super.init()
211 |         setupBackgroundSessionSync()
    |         `- warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 |     }
213 |
    :
333 |     // MARK: - Private Methods
334 |
335 |     private func setupBackgroundSessionSync() {
    |                  `- note: calls to instance method 'setupBackgroundSessionSync()' from outside of its actor context are implicitly asynchronous
336 |         let config = URLSessionConfiguration.background(withIdentifier: sessionIdentifier)
337 |         config.isDiscretionary = false
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:112:16: warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
110 |
111 |     /// Progress update callback
112 |     public var progressHandler: (@Sendable (TransferProgress) -> Void)?
    |                `- warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
113 |
114 |     /// Completion callback
[14/20] Compiling JPNetworking ProgressTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:83:29: warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Current status
 83 |     public private(set) var status: BackgroundTaskStatus = .waiting
    |                             `- warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 84 |
 85 |     /// Progress callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:211:9: warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 |     override init() {
210 |         super.init()
211 |         setupBackgroundSessionSync()
    |         `- warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 |     }
213 |
    :
333 |     // MARK: - Private Methods
334 |
335 |     private func setupBackgroundSessionSync() {
    |                  `- note: calls to instance method 'setupBackgroundSessionSync()' from outside of its actor context are implicitly asynchronous
336 |         let config = URLSessionConfiguration.background(withIdentifier: sessionIdentifier)
337 |         config.isDiscretionary = false
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:112:16: warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
110 |
111 |     /// Progress update callback
112 |     public var progressHandler: (@Sendable (TransferProgress) -> Void)?
    |                `- warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
113 |
114 |     /// Completion callback
[15/20] Compiling JPNetworking SwiftNetExtensions.swift
[16/20] Compiling JPNetworking Interceptor.swift
[17/20] Compiling JPNetworking NetworkActivityIndicatorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/ActivityIndicator/NetworkActivityIndicatorManager.swift:241:61: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 47 | public final class NetworkActivityIndicatorManager: ObservableObject {
 48 |
 49 |     public static let shared = NetworkActivityIndicatorManager()
    |                       `- note: static property declared here
 50 |
 51 |     // MARK: - Properties
    :
239 |     private let identifier: UUID
240 |
241 |     public init(manager: NetworkActivityIndicatorManager = .shared) {
    |                                                             `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
242 |         self.manager = manager
243 |         self.identifier = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:61:17: warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 59 |     private let refreshURL: String?
 60 |     private let tokenType: String
 61 |     private var expirationDate: Date?
    |                 `- warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 62 |
 63 |     private var currentToken: String
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:379:17: warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
377 |     private let grantType: GrantType
378 |
379 |     private var accessToken: String?
    |                 `- warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
380 |     private var refreshToken: String?
381 |     private var tokenExpiration: Date?
[18/20] Compiling JPNetworking AuthenticationProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/ActivityIndicator/NetworkActivityIndicatorManager.swift:241:61: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 47 | public final class NetworkActivityIndicatorManager: ObservableObject {
 48 |
 49 |     public static let shared = NetworkActivityIndicatorManager()
    |                       `- note: static property declared here
 50 |
 51 |     // MARK: - Properties
    :
239 |     private let identifier: UUID
240 |
241 |     public init(manager: NetworkActivityIndicatorManager = .shared) {
    |                                                             `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
242 |         self.manager = manager
243 |         self.identifier = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:61:17: warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 59 |     private let refreshURL: String?
 60 |     private let tokenType: String
 61 |     private var expirationDate: Date?
    |                 `- warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 62 |
 63 |     private var currentToken: String
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:379:17: warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
377 |     private let grantType: GrantType
378 |
379 |     private var accessToken: String?
    |                 `- warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
380 |     private var refreshToken: String?
381 |     private var tokenExpiration: Date?
[19/20] Emitting module JPNetworking
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/ActivityIndicator/NetworkActivityIndicatorManager.swift:241:61: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 47 | public final class NetworkActivityIndicatorManager: ObservableObject {
 48 |
 49 |     public static let shared = NetworkActivityIndicatorManager()
    |                       `- note: static property declared here
 50 |
 51 |     // MARK: - Properties
    :
239 |     private let identifier: UUID
240 |
241 |     public init(manager: NetworkActivityIndicatorManager = .shared) {
    |                                                             `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
242 |         self.manager = manager
243 |         self.identifier = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:61:17: warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 59 |     private let refreshURL: String?
 60 |     private let tokenType: String
 61 |     private var expirationDate: Date?
    |                 `- warning: stored property 'expirationDate' of 'Sendable'-conforming class 'BearerTokenAuth' is mutable; this is an error in the Swift 6 language mode
 62 |
 63 |     private var currentToken: String
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Authentication/AuthenticationProvider.swift:379:17: warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
377 |     private let grantType: GrantType
378 |
379 |     private var accessToken: String?
    |                 `- warning: stored property 'accessToken' of 'Sendable'-conforming class 'OAuth2Auth' is mutable; this is an error in the Swift 6 language mode
380 |     private var refreshToken: String?
381 |     private var tokenExpiration: Date?
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:83:29: warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Current status
 83 |     public private(set) var status: BackgroundTaskStatus = .waiting
    |                             `- warning: stored property 'status' of 'Sendable'-conforming class 'BackgroundTask' is mutable; this is an error in the Swift 6 language mode
 84 |
 85 |     /// Progress callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/BackgroundTaskManager.swift:211:9: warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 |     override init() {
210 |         super.init()
211 |         setupBackgroundSessionSync()
    |         `- warning: actor-isolated instance method 'setupBackgroundSessionSync()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 |     }
213 |
    :
333 |     // MARK: - Private Methods
334 |
335 |     private func setupBackgroundSessionSync() {
    |                  `- note: calls to instance method 'setupBackgroundSessionSync()' from outside of its actor context are implicitly asynchronous
336 |         let config = URLSessionConfiguration.background(withIdentifier: sessionIdentifier)
337 |         config.isDiscretionary = false
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Downloads/ProgressTracker.swift:112:16: warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
110 |
111 |     /// Progress update callback
112 |     public var progressHandler: (@Sendable (TransferProgress) -> Void)?
    |                `- warning: stored property 'progressHandler' of 'Sendable'-conforming class 'ProgressTracker' is mutable; this is an error in the Swift 6 language mode
113 |
114 |     /// Completion callback
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Security/SSLPinningManager.swift:127:48: warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
110 |     private let securityPolicy: SSLSecurityPolicy
111 |     private var pinnedCertificateData: Set<Data> = []
112 |     private var pinnedPublicKeyData: Set<Data> = []
    |                 `- note: property declared here
113 |
114 |     // Security metrics
    :
125 |
126 |         // Extract public keys from certificates if needed
127 |         if policy.pinningMode == .publicKey && pinnedPublicKeyData.isEmpty {
    |                                                `- warning: actor-isolated property 'pinnedPublicKeyData' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
128 |             Task {
129 |                 await extractPublicKeysFromCertificates()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:239:15: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
237 |
238 | /// Image response serializer for UI/AppKit images
239 | public struct ImageResponseSerializer: ResponseSerializer {
    |               |- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
    |               `- note: in associated type 'Self.SerializedObject' (inferred as 'NSImage')
240 |
241 |     #if canImport(UIKit)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:461:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
459 |     ///   - decoder: JSON decoder to use
460 |     /// - Returns: JSON response
461 |     public func asJSON<T: Decodable & Sendable>(
    |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
462 |         _ type: T.Type,
463 |         decoder: JSONDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Core/Response.swift:42:36: note: 'T' previously declared here
 40 | /// }
 41 | /// ```
 42 | public struct JPNetworkingResponse<T>: Sendable where T: Sendable {
    |                                    `- note: 'T' previously declared here
 43 |
 44 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:487:17: warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
485 |     /// - Parameter scale: Image scale factor
486 |     /// - Returns: Image response
487 |     public func asImage(scale: CGFloat = 1.0) -> JPNetworkingResponse<ImageResponseSerializer.SerializedObject> {
    |                 `- warning: conformance of 'NSImage' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
488 |         let serializer = ImageResponseSerializer(scale: scale)
489 |         return serialized(using: serializer)
:1:1: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
  | `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
[20/20] Compiling JPNetworking Logger.swift
Build complete! (2.38s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JPNetworking",
  "name" : "JPNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "JPNetworking",
      "targets" : [
        "JPNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JPNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "JPNetworkingTests",
      "path" : "Tests/JPNetworkingTests",
      "sources" : [
        "AdvancedFeaturesTests.swift",
        "AuthenticationInterceptorTests.swift",
        "CachingRetryTests.swift",
        "SwiftNetFrameworkTests.swift",
        "SwiftNetTests.swift",
        "TokenRefreshTests.swift"
      ],
      "target_dependencies" : [
        "JPNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JPNetworking",
      "module_type" : "SwiftTarget",
      "name" : "JPNetworking",
      "path" : "Sources/JPNetworking",
      "product_memberships" : [
        "JPNetworking"
      ],
      "sources" : [
        "ActivityIndicator/NetworkActivityIndicatorManager.swift",
        "Authentication/AuthenticationProvider.swift",
        "Caching/CacheManager.swift",
        "Caching/CachePolicy.swift",
        "Core/NetworkError.swift",
        "Core/NetworkManager.swift",
        "Core/Request.swift",
        "Core/Response.swift",
        "Downloads/BackgroundTaskManager.swift",
        "Downloads/ProgressTracker.swift",
        "Extensions/SwiftNetExtensions.swift",
        "Interceptors/Interceptor.swift",
        "JPNetworking.swift",
        "Reachability/NetworkReachabilityManager.swift",
        "Retry/RetryManager.swift",
        "Security/SSLPinningManager.swift",
        "Serialization/ResponseSerializer.swift",
        "Utilities/Logger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.