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 HTTPKit, reference 1.4.2 (99a50c), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 11:27:13 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/Chandlerdea/HTTPKit.git
Reference: 1.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Chandlerdea/HTTPKit
 * tag               1.4.2      -> FETCH_HEAD
HEAD is now at 99a50c6 Adding convenince methods to URLRequest
Cloned https://github.com/Chandlerdea/HTTPKit.git
Revision (git rev-parse @):
99a50c6d6792b4cb1615e3d1a8658a1c88d257d6
SUCCESS checkout https://github.com/Chandlerdea/HTTPKit.git at 1.4.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Chandlerdea/HTTPKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/12] Compiling HTTPKit HTTPResponseStatus.swift
[4/13] Compiling HTTPKit HTTPModelController.swift
[5/13] Compiling HTTPKit HTTPNetworkController.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:93:47: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 91 |     ) {
 92 |         let task: URLSessionTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
 93 |             let result: Result<Data, Error> = self.handleCompletion(request, data, response, error)
    |                                               `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 94 |             switch result {
 95 |             case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:87:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 85 |     }
 86 |
 87 |     public func sendRequest<T: Decodable>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 88 |         _ request: URLRequest,
 89 |         in session: URLSession = URLSession.shared,
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:98:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
 96 |                 let decoder: JSONDecoder = JSONDecoder()
 97 |                 do {
 98 |                     let object: T = try decoder.decode(T.self, from: data)
    |                                                 `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 99 |                     completion(.success(object))
100 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:90:11: warning: capture of non-sendable type 'T.Type' in an isolated closure
 88 |         _ request: URLRequest,
 89 |         in session: URLSession = URLSession.shared,
 90 |         _ completion: @escaping (Result<T, Error>) -> Void
    |           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 91 |     ) {
 92 |         let task: URLSessionTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:116:47: warning: capture of non-sendable type 'Self.Type' in an isolated closure
114 |     ) {
115 |         let task: URLSessionTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
116 |             let result: Result<Data, Error> = self.handleCompletion(request, data, response, error)
    |                                               `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
117 |             switch result {
118 |             case .success:
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:110:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
108 |     }
109 |
110 |     public func sendRequestExpectingNoContent(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
111 |         _ request: URLRequest,
112 |         in session: URLSession = URLSession.shared,
[6/13] Compiling HTTPKit HTTPCacheControl.swift
[7/13] Compiling HTTPKit HTTPContentType.swift
[8/13] Compiling HTTPKit HTTPMethod.swift
[9/13] Compiling HTTPKit HTTP.swift
[10/13] Compiling HTTPKit HTTPHeader.swift
[11/13] Emitting module HTTPKit
[12/13] Compiling HTTPKit HTTPRequestBuilder.swift
[13/13] Compiling HTTPKit URLRequest+additions.swift
Build complete! (4.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HTTPKit",
  "name" : "HTTPKit",
  "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" : "HTTPKit",
      "targets" : [
        "HTTPKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPKitTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPKitTests",
      "path" : "Tests/HTTPKitTests",
      "sources" : [
        "HTTPHeaderTests.swift",
        "HTTPMethodTests.swift",
        "HTTPModelControllerTests.swift",
        "HTTPNetworkControllerTests.swift",
        "HTTPRequestBuilderTests.swift",
        "HTTPResponseStatusTests.swift",
        "MockNetworkTestable.swift",
        "MockURLProtocol.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "HTTPKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPKit",
      "module_type" : "SwiftTarget",
      "name" : "HTTPKit",
      "path" : "Sources/HTTPKit",
      "product_memberships" : [
        "HTTPKit"
      ],
      "sources" : [
        "HTTP.swift",
        "HTTPCacheControl.swift",
        "HTTPContentType.swift",
        "HTTPHeader.swift",
        "HTTPMethod.swift",
        "HTTPModelController.swift",
        "HTTPNetworkController.swift",
        "HTTPRequestBuilder.swift",
        "HTTPResponseStatus.swift",
        "URLRequest+additions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.