Build Information
Successful build of JPNetworking, reference main (5595d2), with Swift 6.0 for macOS (SPM) on 30 Sep 2025 13:21:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build 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.0
Building package at path: $PWD
https://github.com/iamjpsharma/JPNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[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 NetworkError.swift
[6/20] Compiling JPNetworking NetworkManager.swift
[7/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
[8/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
[9/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 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)
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/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)
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
[10/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()
[11/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()
[12/20] Compiling JPNetworking SwiftNetExtensions.swift
[13/20] Compiling JPNetworking Interceptor.swift
[14/20] Compiling JPNetworking Request.swift
[15/20] Compiling JPNetworking Response.swift
[16/21] Compiling JPNetworking Logger.swift
[17/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 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)
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
/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)
AppKit.NSImage:2:11: note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSImage : @unchecked Sendable {
| `- note: conformance of 'NSImage' to 'Sendable' has been explicitly marked unavailable here
3 | }
[18/21] Compiling JPNetworking CacheManager.swift
[19/21] Compiling JPNetworking CachePolicy.swift
[20/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?
[21/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?
Build complete! (9.40s)
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.