The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AsyncNetworkService, reference main (12e225), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 18:01:14 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
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.4
Building package at path:  $PWD
https://github.com/XcodesOrg/AsyncHTTPNetworkService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning 1 / 66]
[Planning deferred tasks]
[19 / 28]
[20 / 29] AsyncNetworkService
[30 / 76]
[32 / 76]
[38 / 76]
[40 / 76]
[44 / 76]
[46 / 76]
[49 / 76]
[53 / 76]
[55 / 76]
[56 / 76]
[67 / 76] AsyncNetworkService
[68 / 76] AsyncNetworkService
Build complete! (9.60 sec)
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/7900] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs.git (2.06s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (2.75s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
/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 the 'Sendable' protocol; 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 the 'Sendable' protocol; 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 the 'Sendable' protocol; 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 the 'Sendable' protocol; 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 the 'Sendable' protocol; 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 the 'Sendable' protocol; 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:
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/HeaderRequestModifier.swift:3:14: warning: non-final class 'HeaderRequestModifier' cannot conform to the 'Sendable' protocol; 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 the 'Sendable' protocol; this is an error in the Swift 6 language mode
 4 |
 5 |     private let key: String
/Users/admin/builder/spi-builder-workspace/AsyncNetworkService/Common/RequestModifiers/BearerTokenRequestModifier.swift:11:14: warning: non-final class 'BearerTokenRequestModifier' cannot conform to the 'Sendable' protocol; 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 the 'Sendable' protocol; 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/APIKeyRequestModifier.swift:10:14: warning: non-final class 'APIKeyRequestModifier' cannot conform to the 'Sendable' protocol; 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 the 'Sendable' protocol; 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/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/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:
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.