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 RetryKit, reference main (924810), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:53:21 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/marcelvoss/RetryKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marcelvoss/RetryKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 924810a Update README.md
Cloned https://github.com/marcelvoss/RetryKit.git
Revision (git rev-parse @):
924810a4f8caca497da1c60e7f00f8514a45e86e
SUCCESS checkout https://github.com/marcelvoss/RetryKit.git at main
========================================
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": "retrykit",
      "name": "RetryKit",
      "url": "https://github.com/marcelvoss/RetryKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RetryKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/marcelvoss/RetryKit.git
[1/73] Fetching retrykit
Fetched https://github.com/marcelvoss/RetryKit.git from cache (0.67s)
Creating working copy for https://github.com/marcelvoss/RetryKit.git
Working copy of https://github.com/marcelvoss/RetryKit.git resolved at main (924810a)
warning: '.resolve-product-dependencies': dependency 'retrykit' 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/marcelvoss/RetryKit.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/5] Emitting module RetryKit
[4/5] Compiling RetryKit Task.swift
[5/5] Compiling RetryKit Retrier.swift
/Users/admin/builder/spi-builder-workspace/Sources/RetryKit/Retrier.swift:55:17: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |         guard task.canRetry else {
54 |             dispatchQueue.async {
55 |                 completion?()
   |                 |- warning: capture of 'completion' 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'
56 |             }
57 |             return
Build complete! (5.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RetryKit",
  "name" : "RetryKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RetryKit",
      "targets" : [
        "RetryKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RetryKitTests",
      "module_type" : "SwiftTarget",
      "name" : "RetryKitTests",
      "path" : "Tests/RetryKitTests",
      "sources" : [
        "RetrierTests.swift"
      ],
      "target_dependencies" : [
        "RetryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RetryKit",
      "module_type" : "SwiftTarget",
      "name" : "RetryKit",
      "path" : "Sources/RetryKit",
      "product_memberships" : [
        "RetryKit"
      ],
      "sources" : [
        "Retrier.swift",
        "Task.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.