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, reference 3.3.0 (e4d905), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:39:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdishbynature/RequestKit.git
Reference: 3.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdishbynature/RequestKit
 * tag               3.3.0      -> FETCH_HEAD
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 3.3.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "requestkit",
      "name": "RequestKit",
      "url": "https://github.com/nerdishbynature/RequestKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RequestKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.92s)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0 (e4d905f)
warning: '.resolve-product-dependencies': dependency 'requestkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nerdishbynature/RequestKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/6] Compiling RequestKit Router.swift
[4/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 |
[5/6] Compiling RequestKit JSONPostRouter.swift
[6/6] Emitting module RequestKit
Build complete! (7.50s)
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.