The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Firework, reference main (a9fd1b), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 14:13:34 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrsaruo/Firework.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jrsaruo/Firework
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a9fd1b4 Merge pull request #42 from jrsaruo/release-3.0.2
Cloned https://github.com/jrsaruo/Firework.git
Revision (git rev-parse @):
a9fd1b49ebe41aa4a5dde44785796d8b258856ef
SUCCESS checkout https://github.com/jrsaruo/Firework.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jrsaruo/Firework.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[2/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/44] Emitting module Alamofire
[6/48] Compiling Alamofire SessionDelegate.swift
[7/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[8/48] Compiling Alamofire UploadRequest.swift
[9/48] Compiling Alamofire WebSocketRequest.swift
[10/48] Compiling Alamofire URLRequest+Alamofire.swift
[11/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[12/48] Compiling Alamofire AlamofireExtended.swift
[13/48] Compiling Alamofire AuthenticationInterceptor.swift
[14/48] Compiling Alamofire RequestCompression.swift
[15/48] Compiling Alamofire RequestInterceptor.swift
[16/48] Compiling Alamofire ResponseSerialization.swift
[17/48] Compiling Alamofire RetryPolicy.swift
[18/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[19/48] Compiling Alamofire OperationQueue+Alamofire.swift
[20/48] Compiling Alamofire Result+Alamofire.swift
[21/48] Compiling Alamofire StringEncoding+Alamofire.swift
[22/48] Compiling Alamofire HTTPHeaders.swift
[23/48] Compiling Alamofire HTTPMethod.swift
[24/48] Compiling Alamofire Notifications.swift
[25/48] Compiling Alamofire ParameterEncoder.swift
[26/48] Compiling Alamofire ParameterEncoding.swift
[27/48] Compiling Alamofire MultipartFormData.swift
[28/48] Compiling Alamofire MultipartUpload.swift
[29/48] Compiling Alamofire NetworkReachabilityManager.swift
[30/48] Compiling Alamofire RedirectHandler.swift
[31/48] Compiling Alamofire Alamofire.swift
[32/48] Compiling Alamofire AFError.swift
[33/48] Compiling Alamofire DataRequest.swift
[34/48] Compiling Alamofire DataStreamRequest.swift
[35/48] Compiling Alamofire DownloadRequest.swift
[36/48] Compiling Alamofire CachedResponseHandler.swift
[37/48] Compiling Alamofire Combine.swift
[38/48] Compiling Alamofire Concurrency.swift
[39/48] Compiling Alamofire EventMonitor.swift
[40/48] Compiling Alamofire Protected.swift
[41/48] Compiling Alamofire Request.swift
[42/48] Compiling Alamofire RequestTaskMap.swift
[43/48] Compiling Alamofire Response.swift
[44/48] Compiling Alamofire Session.swift
[45/48] Compiling Alamofire ServerTrustEvaluation.swift
[46/48] Compiling Alamofire URLEncodedFormEncoder.swift
[47/48] Compiling Alamofire Validation.swift
[48/48] Compiling Alamofire resource_bundle_accessor.swift
[49/52] Emitting module Firework
[50/52] Compiling Firework HTTPRequest.swift
[51/52] Compiling Firework Endpoint.swift
[52/52] Compiling Firework HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Firework/HTTPClient.swift:78:70: warning: converting a value of type '(sending AFDataResponse<Data?>) -> ()' (aka '(sending DataResponse<Optional<Data>, AFError>) -> ()') to type '(AFDataResponse<Data?>) -> Void' (aka '(DataResponse<Optional<Data>, AFError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
 76 |     public func send(_ request: some HTTPRequest) async -> AFDataResponse<Data?> {
 77 |         await withCheckedContinuation { continuation in
 78 |             send(request, receiveOn: .main, completion: continuation.resume(returning:))
    |                                                                      |- warning: converting a value of type '(sending AFDataResponse<Data?>) -> ()' (aka '(sending DataResponse<Optional<Data>, AFError>) -> ()') to type '(AFDataResponse<Data?>) -> Void' (aka '(DataResponse<Optional<Data>, AFError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                      `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
 79 |         }
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Firework/HTTPClient.swift:102:78: warning: converting a value of type '(sending AFDataResponse<Request.Response>) -> ()' (aka '(sending DataResponse<Request.Response, AFError>) -> ()') to type '(DataResponse<Request.Response, AFError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
100 |     public func send<Request: DecodingRequest>(_ request: Request) async -> AFDataResponse<Request.Response> {
101 |         await withCheckedContinuation { continuation in
102 |             send(request, receiveOn: .main, decodingCompletion: continuation.resume(returning:))
    |                                                                              |- warning: converting a value of type '(sending AFDataResponse<Request.Response>) -> ()' (aka '(sending DataResponse<Request.Response, AFError>) -> ()') to type '(DataResponse<Request.Response, AFError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                              `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
103 |         }
104 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Firework/HTTPClient.swift:114:36: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 |                      headers: request.headers)
113 |             .validate(statusCode: request.acceptableStatusCodes)
114 |             .validate(contentType: request.acceptableContentTypes)
    |                                    `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 |     }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Firework/HTTPClient.swift:106:61: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
104 |     }
105 |
106 |     private func makeDataRequest<Request: HTTPRequest>(from request: Request) -> DataRequest {
    |                                                             `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
107 |         session
108 |             .request(request.urlComponents,
Build complete! (8.17s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.70s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (3.17s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.6.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "Firework",
  "name" : "Firework",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "Firework",
      "targets" : [
        "Firework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FireworkTests",
      "module_type" : "SwiftTarget",
      "name" : "FireworkTests",
      "path" : "Tests/FireworkTests",
      "sources" : [
        "EndpointTests.swift",
        "HTTPClientTests.swift",
        "HTTPRequestTests.swift"
      ],
      "target_dependencies" : [
        "Firework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Firework",
      "module_type" : "SwiftTarget",
      "name" : "Firework",
      "path" : "Sources/Firework",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "Firework"
      ],
      "sources" : [
        "Endpoint.swift",
        "HTTPClient.swift",
        "HTTPRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.