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 Linux on 29 Nov 2024 16:17:30 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdishbynature/RequestKit.git
Reference: 3.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nerdishbynature/RequestKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Emitting module RequestKit
[4/6] Compiling RequestKit RequestKitSession.swift
/host/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 |
/host/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] Compiling RequestKit Router.swift
Build complete! (8.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RequestKit",
  "name" : "RequestKit",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.