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 RequestKit 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/nerdishbynature/RequestKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdishbynature/RequestKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e4d905f Merge pull request #97 from 417-72KI/only-decodable
Cloned https://github.com/nerdishbynature/RequestKit.git
Revision (git rev-parse @):
e4d905fed938807e36d87f28375f88b7c1c26840
SUCCESS checkout https://github.com/nerdishbynature/RequestKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/nerdishbynature/RequestKit.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/6] Compiling RequestKit RequestKitSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/RequestKit/RequestKitSession.swift:27:59: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
24 |
25 | extension URLSession: RequestKitURLSession {
26 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
   |                                                    `- note: parameter 'completionHandler' is implicitly non-sendable
27 |         return dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask
   |                                                           `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/RequestKit/RequestKitSession.swift:31:77: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
28 |     }
29 |
30 |     public func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                                `- note: parameter 'completionHandler' is implicitly non-sendable
31 |         return uploadTask(with: request, from: bodyData, completionHandler: completionHandler)
   |                                                                             `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
32 |     }
33 |
[4/6] Compiling RequestKit JSONPostRouter.swift
[5/6] Compiling RequestKit Router.swift
[6/6] Emitting module RequestKit
Build complete! (17.74s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RequestKit",
  "name" : "RequestKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RequestKit",
      "targets" : [
        "RequestKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "3.0",
    "4.0",
    "4.1",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "RequestKitTests",
      "module_type" : "SwiftTarget",
      "name" : "RequestKitTests",
      "path" : "Tests/RequestKitTests",
      "sources" : [
        "ConfigurationTests.swift",
        "JSONPostRouterTests.swift",
        "RequestKitURLTestSession.swift",
        "RouterTests.swift",
        "TestHelper.swift",
        "TestInterface.swift"
      ],
      "target_dependencies" : [
        "RequestKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RequestKit",
      "module_type" : "SwiftTarget",
      "name" : "RequestKit",
      "path" : "Sources/RequestKit",
      "product_memberships" : [
        "RequestKit"
      ],
      "sources" : [
        "JSONPostRouter.swift",
        "RequestKitSession.swift",
        "Router.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.