The Swift Package Index logo.Swift Package Index

Build Information

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

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.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
========================================
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",
  "dependencies": [
    {
      "identity": "jpnetworking",
      "name": "JPNetworking",
      "url": "https://github.com/iamjpsharma/JPNetworking.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JPNetworking",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/iamjpsharma/JPNetworking.git
[1/59] Fetching jpnetworking
Fetched https://github.com/iamjpsharma/JPNetworking.git from cache (0.75s)
Creating working copy for https://github.com/iamjpsharma/JPNetworking.git
Working copy of https://github.com/iamjpsharma/JPNetworking.git resolved at main (5595d21)
warning: '.resolve-product-dependencies': dependency 'jpnetworking' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/iamjpsharma/JPNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/20] Compiling JPNetworking NetworkError.swift
[4/20] Compiling JPNetworking NetworkManager.swift
[5/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
[6/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
[7/20] Compiling JPNetworking CacheManager.swift
[8/20] Compiling JPNetworking CachePolicy.swift
[9/20] Compiling JPNetworking SwiftNetExtensions.swift
[10/20] Compiling JPNetworking Interceptor.swift
[11/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)
[12/20] Compiling JPNetworking Request.swift
[13/20] Compiling JPNetworking Response.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!)
[#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!)
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[18/21] Compiling JPNetworking Logger.swift
[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] 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)
Build complete! (9.33s)
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.