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 0.1.2 (cf9a23), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:53:30 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: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marcelvoss/RetryKit
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at cf9a236 Fix Retrier's begin completion call (#1)
Cloned https://github.com/marcelvoss/RetryKit.git
Revision (git rev-parse @):
cf9a236be7e0e6c7be228530dfd0557096bf4930
SUCCESS checkout https://github.com/marcelvoss/RetryKit.git at 0.1.2
========================================
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.68s)
Creating working copy for https://github.com/marcelvoss/RetryKit.git
Working copy of https://github.com/marcelvoss/RetryKit.git resolved at 0.1.2 (cf9a236)
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] Compiling RetryKit Task.swift
[4/5] Emitting module RetryKit
[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! (6.55s)
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.