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 AsyncTesting, reference v0.0.7 (4eaaf3), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:40:28 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AsyncSwiftKits/AsyncTesting.git
Reference: v0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AsyncSwiftKits/AsyncTesting
 * tag               v0.0.7     -> FETCH_HEAD
HEAD is now at 4eaaf32 removes throws from waitForExpectations
Cloned https://github.com/AsyncSwiftKits/AsyncTesting.git
Revision (git rev-parse @):
4eaaf322742c4bebabe030767c97417cf05672c6
SUCCESS checkout https://github.com/AsyncSwiftKits/AsyncTesting.git at v0.0.7
========================================
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": "asynctesting",
      "name": "AsyncTesting",
      "url": "https://github.com/AsyncSwiftKits/AsyncTesting.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncTesting",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AsyncSwiftKits/AsyncTesting.git
[1/362] Fetching asynctesting
Fetched https://github.com/AsyncSwiftKits/AsyncTesting.git from cache (0.69s)
Creating working copy for https://github.com/AsyncSwiftKits/AsyncTesting.git
Working copy of https://github.com/AsyncSwiftKits/AsyncTesting.git resolved at v0.0.7 (4eaaf32)
warning: '.resolve-product-dependencies': dependency 'asynctesting' 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/AsyncSwiftKits/AsyncTesting.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling AsyncTesting XCTestCase+AsyncTesting.swift
[4/6] Emitting module AsyncTesting
[5/6] Compiling AsyncTesting AsyncTesting.swift
[6/6] Compiling AsyncTesting AsyncExpectation.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncTesting/AsyncExpectation.swift:62:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 60 |
 61 |     internal nonisolated func wait() async throws {
 62 |         try await withTaskCancellationHandler(handler: {
    |                   |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                   `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 63 |             Task {
 64 |                 await cancel()
Build complete! (11.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncTesting",
  "name" : "AsyncTesting",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncTesting",
      "targets" : [
        "AsyncTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncTestingTests",
      "path" : "Tests/AsyncTestingTests",
      "sources" : [
        "AsyncTestingTests.swift"
      ],
      "target_dependencies" : [
        "AsyncTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncTesting",
      "module_type" : "SwiftTarget",
      "name" : "AsyncTesting",
      "path" : "Sources/AsyncTesting",
      "product_memberships" : [
        "AsyncTesting"
      ],
      "sources" : [
        "AsyncExpectation.swift",
        "AsyncTesting.swift",
        "XCTestCase+AsyncTesting.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.