Build Information
Successful build of AsyncNetworkService, reference main (12e225), with Swift 6.2 for macOS (SPM) on 30 Jun 2026 17:31:43 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XcodesOrg/AsyncHTTPNetworkService.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/XcodesOrg/AsyncHTTPNetworkService
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 12e225a try preconcurrency macro
Cloned https://github.com/XcodesOrg/AsyncHTTPNetworkService.git
Revision (git rev-parse @):
12e225af8b5dc25afcfabfcf582a165b0581ab19
SUCCESS checkout https://github.com/XcodesOrg/AsyncHTTPNetworkService.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/XcodesOrg/AsyncHTTPNetworkService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/21] Compiling AsyncNetworkService URL+.swift
[4/21] Compiling AsyncNetworkService URLRequest+.swift
[5/21] Compiling AsyncNetworkService DateFormatter+.swift
[6/21] Compiling AsyncNetworkService JSONDecoder+.swift
[7/21] Compiling AsyncNetworkService HeaderRequestModifier.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/HeaderRequestModifier.swift:3:14: warning: non-final class 'HeaderRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public class HeaderRequestModifier: NetworkRequestModifier {
| `- warning: non-final class 'HeaderRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 |
5 | private let key: String
[8/21] Compiling AsyncNetworkService URLRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/HeaderRequestModifier.swift:3:14: warning: non-final class 'HeaderRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public class HeaderRequestModifier: NetworkRequestModifier {
| `- warning: non-final class 'HeaderRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 |
5 | private let key: String
[9/21] Compiling AsyncNetworkService BearerTokenRequestModifier.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/BearerTokenRequestModifier.swift:11:14: warning: non-final class 'BearerTokenRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
10 | /// A class to modify a `URLRequest` and insert a header with `Bearer xxx` with a `Authorization` key
11 | public class BearerTokenRequestModifier: HeaderRequestModifier {
| `- warning: non-final class 'BearerTokenRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 | public init(authenticationToken: String) {
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/FileUploadRequestModifier.swift:11:9: warning: stored property 'files' of 'Sendable'-conforming struct 'FileUploadRequestModifier' contains non-Sendable type 'UploadableFile'; this is an error in the Swift 6 language mode
9 |
10 | struct FileUploadRequestModifier: NetworkRequestModifier {
11 | let files: [UploadableFile]
| `- warning: stored property 'files' of 'Sendable'-conforming struct 'FileUploadRequestModifier' contains non-Sendable type 'UploadableFile'; this is an error in the Swift 6 language mode
12 | let boundary: String
13 |
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/Models/UploadableFile.swift:13:15: note: consider making struct 'UploadableFile' conform to the 'Sendable' protocol
11 | public typealias ContentValue = String
12 |
13 | public struct UploadableFile {
| `- note: consider making struct 'UploadableFile' conform to the 'Sendable' protocol
14 | public let data: Data
15 | public let fieldName: String
[10/21] Compiling AsyncNetworkService FileUploadRequestModifier.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/BearerTokenRequestModifier.swift:11:14: warning: non-final class 'BearerTokenRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
10 | /// A class to modify a `URLRequest` and insert a header with `Bearer xxx` with a `Authorization` key
11 | public class BearerTokenRequestModifier: HeaderRequestModifier {
| `- warning: non-final class 'BearerTokenRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 | public init(authenticationToken: String) {
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/FileUploadRequestModifier.swift:11:9: warning: stored property 'files' of 'Sendable'-conforming struct 'FileUploadRequestModifier' contains non-Sendable type 'UploadableFile'; this is an error in the Swift 6 language mode
9 |
10 | struct FileUploadRequestModifier: NetworkRequestModifier {
11 | let files: [UploadableFile]
| `- warning: stored property 'files' of 'Sendable'-conforming struct 'FileUploadRequestModifier' contains non-Sendable type 'UploadableFile'; this is an error in the Swift 6 language mode
12 | let boundary: String
13 |
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/Models/UploadableFile.swift:13:15: note: consider making struct 'UploadableFile' conform to the 'Sendable' protocol
11 | public typealias ContentValue = String
12 |
13 | public struct UploadableFile {
| `- note: consider making struct 'UploadableFile' conform to the 'Sendable' protocol
14 | public let data: Data
15 | public let fieldName: String
[11/21] Compiling AsyncNetworkService NotificationObserver.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/APIKeyRequestModifier.swift:10:14: warning: non-final class 'APIKeyRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class APIKeyRequestModifier: NetworkRequestModifier {
| `- warning: non-final class 'APIKeyRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | private var apiKey: String
12 | public init(apiKey: String) {
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/APIKeyRequestModifier.swift:11:17: warning: stored property 'apiKey' of 'Sendable'-conforming class 'APIKeyRequestModifier' is mutable; this is an error in the Swift 6 language mode
9 |
10 | public class APIKeyRequestModifier: NetworkRequestModifier {
11 | private var apiKey: String
| `- warning: stored property 'apiKey' of 'Sendable'-conforming class 'APIKeyRequestModifier' is mutable; this is an error in the Swift 6 language mode
12 | public init(apiKey: String) {
13 | self.apiKey = apiKey
[12/21] Compiling AsyncNetworkService APIKeyRequestModifier.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/APIKeyRequestModifier.swift:10:14: warning: non-final class 'APIKeyRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class APIKeyRequestModifier: NetworkRequestModifier {
| `- warning: non-final class 'APIKeyRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | private var apiKey: String
12 | public init(apiKey: String) {
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/APIKeyRequestModifier.swift:11:17: warning: stored property 'apiKey' of 'Sendable'-conforming class 'APIKeyRequestModifier' is mutable; this is an error in the Swift 6 language mode
9 |
10 | public class APIKeyRequestModifier: NetworkRequestModifier {
11 | private var apiKey: String
| `- warning: stored property 'apiKey' of 'Sendable'-conforming class 'APIKeyRequestModifier' is mutable; this is an error in the Swift 6 language mode
12 | public init(apiKey: String) {
13 | self.apiKey = apiKey
[13/21] Compiling AsyncNetworkService Codable+.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Extensions/Codable+.swift:195:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
167 | }
168 |
169 | enum InvalidElementStrategy<T>: CustomStringConvertible {
| `- note: 'T' previously declared here
170 | case remove
171 | case fail
:
193 | }
194 |
195 | func toType<T>() -> InvalidElementStrategy<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
196 | switch self {
197 | case .remove:
[14/21] Compiling AsyncNetworkService Data+.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Extensions/Codable+.swift:195:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
167 | }
168 |
169 | enum InvalidElementStrategy<T>: CustomStringConvertible {
| `- note: 'T' previously declared here
170 | case remove
171 | case fail
:
193 | }
194 |
195 | func toType<T>() -> InvalidElementStrategy<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
196 | switch self {
197 | case .remove:
[15/23] Compiling AsyncNetworkService NetworkRequestModifier.swift
[16/23] Compiling AsyncNetworkService NetworkResponseInterceptor.swift
[17/23] Compiling AsyncNetworkService AsyncHTTPNetworkService.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/AsyncHTTPNetworkService.swift:29:16: warning: stored property 'requestModifiers' of 'Sendable'-conforming class 'AsyncHTTPNetworkService' is mutable; this is an error in the Swift 6 language mode
27 | @preconcurrency
28 | public final class AsyncHTTPNetworkService: AsyncNetworkService, Sendable {
29 | public var requestModifiers: [NetworkRequestModifier]
| `- warning: stored property 'requestModifiers' of 'Sendable'-conforming class 'AsyncHTTPNetworkService' is mutable; this is an error in the Swift 6 language mode
30 | public var responseInterceptors: [NetworkResponseInterceptor]
31 |
[18/23] Compiling AsyncNetworkService AsyncNetworkHandler.swift
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/AsyncHTTPNetworkService.swift:29:16: warning: stored property 'requestModifiers' of 'Sendable'-conforming class 'AsyncHTTPNetworkService' is mutable; this is an error in the Swift 6 language mode
27 | @preconcurrency
28 | public final class AsyncHTTPNetworkService: AsyncNetworkService, Sendable {
29 | public var requestModifiers: [NetworkRequestModifier]
| `- warning: stored property 'requestModifiers' of 'Sendable'-conforming class 'AsyncHTTPNetworkService' is mutable; this is an error in the Swift 6 language mode
30 | public var responseInterceptors: [NetworkResponseInterceptor]
31 |
[19/23] Emitting module AsyncNetworkService
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/AsyncHTTPNetworkService.swift:29:16: warning: stored property 'requestModifiers' of 'Sendable'-conforming class 'AsyncHTTPNetworkService' is mutable; this is an error in the Swift 6 language mode
27 | @preconcurrency
28 | public final class AsyncHTTPNetworkService: AsyncNetworkService, Sendable {
29 | public var requestModifiers: [NetworkRequestModifier]
| `- warning: stored property 'requestModifiers' of 'Sendable'-conforming class 'AsyncHTTPNetworkService' is mutable; this is an error in the Swift 6 language mode
30 | public var responseInterceptors: [NetworkResponseInterceptor]
31 |
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/APIKeyRequestModifier.swift:10:14: warning: non-final class 'APIKeyRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class APIKeyRequestModifier: NetworkRequestModifier {
| `- warning: non-final class 'APIKeyRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | private var apiKey: String
12 | public init(apiKey: String) {
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/APIKeyRequestModifier.swift:11:17: warning: stored property 'apiKey' of 'Sendable'-conforming class 'APIKeyRequestModifier' is mutable; this is an error in the Swift 6 language mode
9 |
10 | public class APIKeyRequestModifier: NetworkRequestModifier {
11 | private var apiKey: String
| `- warning: stored property 'apiKey' of 'Sendable'-conforming class 'APIKeyRequestModifier' is mutable; this is an error in the Swift 6 language mode
12 | public init(apiKey: String) {
13 | self.apiKey = apiKey
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/BearerTokenRequestModifier.swift:11:14: warning: non-final class 'BearerTokenRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
10 | /// A class to modify a `URLRequest` and insert a header with `Bearer xxx` with a `Authorization` key
11 | public class BearerTokenRequestModifier: HeaderRequestModifier {
| `- warning: non-final class 'BearerTokenRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 | public init(authenticationToken: String) {
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/FileUploadRequestModifier.swift:11:9: warning: stored property 'files' of 'Sendable'-conforming struct 'FileUploadRequestModifier' contains non-Sendable type 'UploadableFile'; this is an error in the Swift 6 language mode
9 |
10 | struct FileUploadRequestModifier: NetworkRequestModifier {
11 | let files: [UploadableFile]
| `- warning: stored property 'files' of 'Sendable'-conforming struct 'FileUploadRequestModifier' contains non-Sendable type 'UploadableFile'; this is an error in the Swift 6 language mode
12 | let boundary: String
13 |
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/Models/UploadableFile.swift:13:15: note: consider making struct 'UploadableFile' conform to the 'Sendable' protocol
11 | public typealias ContentValue = String
12 |
13 | public struct UploadableFile {
| `- note: consider making struct 'UploadableFile' conform to the 'Sendable' protocol
14 | public let data: Data
15 | public let fieldName: String
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/HeaderRequestModifier.swift:3:14: warning: non-final class 'HeaderRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public class HeaderRequestModifier: NetworkRequestModifier {
| `- warning: non-final class 'HeaderRequestModifier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 |
5 | private let key: String
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Extensions/Codable+.swift:195:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
167 | }
168 |
169 | enum InvalidElementStrategy<T>: CustomStringConvertible {
| `- note: 'T' previously declared here
170 | case remove
171 | case fail
:
193 | }
194 |
195 | func toType<T>() -> InvalidElementStrategy<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
196 | switch self {
197 | case .remove:
[20/23] Compiling AsyncNetworkService UploadableFile.swift
[21/23] Compiling AsyncNetworkService NetworkLogger.swift
[22/23] Compiling AsyncNetworkService NetworkError.swift
[23/23] Compiling AsyncNetworkService ResponseValidator.swift
Build complete! (8.00s)
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/7902] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.30s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (1.98s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Build complete.
{
"dependencies" : [
{
"identity" : "ohhttpstubs",
"requirement" : {
"range" : [
{
"lower_bound" : "9.0.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
}
],
"manifest_display_name" : "AsyncNetworkService",
"name" : "AsyncNetworkService",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "AsyncNetworkService",
"targets" : [
"AsyncNetworkService"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncNetworkServiceTests",
"module_type" : "SwiftTarget",
"name" : "AsyncNetworkServiceTests",
"path" : "AsyncNetworkServiceTests",
"product_dependencies" : [
"OHHTTPStubs"
],
"sources" : [
"AsyncNetworkServiceTests.swift",
"TestHelpers/Mocks.swift",
"TestHelpers/OHHTTPHelper.swift",
"TestHelpers/Stubs.swift"
],
"type" : "test"
},
{
"c99name" : "AsyncNetworkService",
"module_type" : "SwiftTarget",
"name" : "AsyncNetworkService",
"path" : "AsyncNetworkService",
"product_memberships" : [
"AsyncNetworkService"
],
"sources" : [
"AsyncHTTPNetworkService.swift",
"AsyncNetworkHandler.swift",
"Common/Models/UploadableFile.swift",
"Common/NetworkLogger.swift",
"Common/NetworkRequestModifier.swift",
"Common/NetworkResponseInterceptor.swift",
"Common/NotificationObserver.swift",
"Common/RequestModifiers/APIKeyRequestModifier.swift",
"Common/RequestModifiers/BearerTokenRequestModifier.swift",
"Common/RequestModifiers/FileUploadRequestModifier.swift",
"Common/RequestModifiers/HeaderRequestModifier.swift",
"Common/URLRequestBuilder.swift",
"Extensions/Codable+.swift",
"Extensions/Data+.swift",
"Extensions/DateFormatter+.swift",
"Extensions/JSONDecoder+.swift",
"Extensions/URL+.swift",
"Extensions/URLRequest+.swift",
"NetworkError.swift",
"ResponseValidator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.