The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNet, reference v1.0.0 (738e8f), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 01:34:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iamjpsharma/JPNetworking.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iamjpsharma/JPNetworking
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 738e8f7 Initial release: JPNetworking v1.0.0 - Production-ready Swift networking framework
Cloned https://github.com/iamjpsharma/JPNetworking.git
Revision (git rev-parse @):
738e8f7a7c3f6a1d37bb7e5f2375c8471adaad63
SUCCESS checkout https://github.com/iamjpsharma/JPNetworking.git at v1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "jpnetworking",
      "name": "SwiftNet",
      "url": "https://github.com/iamjpsharma/JPNetworking.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JPNetworking",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/iamjpsharma/JPNetworking.git
[1/59] Fetching jpnetworking
Fetched https://github.com/iamjpsharma/JPNetworking.git from cache (0.71s)
Creating working copy for https://github.com/iamjpsharma/JPNetworking.git
Working copy of https://github.com/iamjpsharma/JPNetworking.git resolved at v1.0.0 (738e8f7)
warning: '.resolve-product-dependencies': dependency 'jpnetworking' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/iamjpsharma/JPNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/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
[4/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
[5/20] Compiling JPNetworking ResponseSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Serialization/ResponseSerializer.swift:239:15: warning: conformance of 'NSImage' to 'Sendable' is only available in macOS 14.0 or newer
237 |
238 | /// Image response serializer for UI/AppKit images
239 | public struct ImageResponseSerializer: ResponseSerializer {
    |               |- warning: conformance of 'NSImage' to 'Sendable' is only available in macOS 14.0 or newer
    |               |- note: add '@available' attribute to enclosing struct
    |               `- note: in associated type 'Self.SerializedObject' (inferred as 'NSImage')
240 |
241 |     #if canImport(UIKit)
/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 only available in macOS 14.0 or newer
420 | // MARK: - Response Extensions
421 |
422 | extension JPNetworkingResponse {
    | `- note: add '@available' attribute to enclosing extension
423 |
424 |     /// Serialize response using a custom serializer
    :
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 only available in macOS 14.0 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
488 |         let serializer = ImageResponseSerializer(scale: scale)
489 |         return serialized(using: serializer)
[6/20] Compiling JPNetworking Request.swift
[7/20] Compiling JPNetworking Response.swift
[8/20] Compiling JPNetworking CacheManager.swift
[9/20] Compiling JPNetworking CachePolicy.swift
[10/20] Compiling JPNetworking NetworkError.swift
[11/20] Compiling JPNetworking NetworkManager.swift
[12/20] Compiling JPNetworking SwiftNetExtensions.swift
[13/20] Compiling JPNetworking Interceptor.swift
[14/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()
[15/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()
[16/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
 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
 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 [#ActorIsolatedCall]
 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 [#ActorIsolatedCall]
 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
 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
 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
 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
 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:451:44: error: closure captures 'handlerID' before it is declared
449 |
450 |             // Listen for reachability
451 |             let handlerID = startListening { status in
    |                 |                          `- error: closure captures 'handlerID' before it is declared
    |                 `- note: captured value declared here
452 |                 if status.isReachable && !hasReturned {
453 |                     hasReturned = true
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
    |                                                   `- note: captured here
456 |                     }
457 |                     continuation.resume(returning: true)
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[17/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
 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
 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 [#ActorIsolatedCall]
 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 [#ActorIsolatedCall]
 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
 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
 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
 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
 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
/Users/admin/builder/spi-builder-workspace/Sources/JPNetworking/Reachability/NetworkReachabilityManager.swift:451:44: error: closure captures 'handlerID' before it is declared
449 |
450 |             // Listen for reachability
451 |             let handlerID = startListening { status in
    |                 |                          `- error: closure captures 'handlerID' before it is declared
    |                 `- note: captured value declared here
452 |                 if status.isReachable && !hasReturned {
453 |                     hasReturned = true
454 |                     Task {
455 |                         await self.removeListener(handlerID!)
    |                                                   `- note: captured here
456 |                     }
457 |                     continuation.resume(returning: true)
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[18/21] 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 only available in macOS 14.0 or newer
237 |
238 | /// Image response serializer for UI/AppKit images
239 | public struct ImageResponseSerializer: ResponseSerializer {
    |               |- warning: conformance of 'NSImage' to 'Sendable' is only available in macOS 14.0 or newer
    |               |- note: add '@available' attribute to enclosing struct
    |               `- note: in associated type 'Self.SerializedObject' (inferred as 'NSImage')
240 |
241 |     #if canImport(UIKit)
/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 only available in macOS 14.0 or newer
420 | // MARK: - Response Extensions
421 |
422 | extension JPNetworkingResponse {
    | `- note: add '@available' attribute to enclosing extension
423 |
424 |     /// Serialize response using a custom serializer
    :
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 only available in macOS 14.0 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
488 |         let serializer = ImageResponseSerializer(scale: scale)
489 |         return serialized(using: serializer)
[19/21] 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?
[20/21] 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?
[21/21] Compiling JPNetworking Logger.swift
BUILD FAILURE 6.3 macosSpm