This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of HTTPClientModule with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftui-packages/http-client-module.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftui-packages/http-client-module
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cc69838 initial commit 🚀
Cloned https://github.com/swiftui-packages/http-client-module.git
Revision (git rev-parse @):
cc69838ebff5a1e7f6d6c0168592277091311395
SUCCESS checkout https://github.com/swiftui-packages/http-client-module.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/swiftui-packages/http-client-module.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/7] Compiling HTTPClientModule response-statuses.swift
[4/7] Compiling HTTPClientModule HTTPClientModule.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientModule/HTTPClientModule.swift:308:21: warning: capture of 'response' with non-sendable type '((status: HTTPClient.ResponseStatus, body: Data)) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
306 |
307 |                 if let error = error as? URLError, error.errorCode == -1009 {
308 |                     response((ResponseStatus.noInternetConnection, Data()))
    |                     |- warning: capture of 'response' with non-sendable type '((status: HTTPClient.ResponseStatus, body: Data)) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
309 |                 } else if let responseHeader = responseHeader as? HTTPURLResponse, let responseBody = responseBody {
310 |                     response((
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientModule/HTTPClientModule.swift:328:17: warning: capture of 'afterResponse' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
326 |                 }
327 |
328 |                 afterResponse()
    |                 |- warning: capture of 'afterResponse' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
329 |
330 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientModule/HTTPClientModule.swift:308:21: warning: capture of 'response' with non-sendable type '((status: HTTPClient.ResponseStatus, body: Data)) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
306 |
307 |                 if let error = error as? URLError, error.errorCode == -1009 {
308 |                     response((ResponseStatus.noInternetConnection, Data()))
    |                     |- warning: capture of 'response' with non-sendable type '((status: HTTPClient.ResponseStatus, body: Data)) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
309 |                 } else if let responseHeader = responseHeader as? HTTPURLResponse, let responseBody = responseBody {
310 |                     response((
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientModule/HTTPClientModule.swift:328:17: warning: capture of 'afterResponse' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
326 |                 }
327 |
328 |                 afterResponse()
    |                 |- warning: capture of 'afterResponse' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
329 |
330 |             }
[5/7] Compiling HTTPClientModule http-methods.swift
[6/7] Compiling HTTPClientModule form-data-extension.swift
[7/7] Emitting module HTTPClientModule
Build complete! (23.81s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HTTPClientModule",
  "name" : "HTTPClientModule",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HTTPClientModule",
      "targets" : [
        "HTTPClientModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPClientModuleTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientModuleTests",
      "path" : "Tests/HTTPClientModuleTests",
      "sources" : [
        "HTTPClientModuleTests.swift"
      ],
      "target_dependencies" : [
        "HTTPClientModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPClientModule",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientModule",
      "path" : "Sources/HTTPClientModule",
      "product_memberships" : [
        "HTTPClientModule"
      ],
      "sources" : [
        "HTTPClientModule.swift",
        "form-data-extension.swift",
        "http-methods.swift",
        "response-statuses.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.