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 AsyncChannelKit, reference v0.0.7 (9f13f1), with Swift 6.1 for Linux on 27 Apr 2025 06:21:17 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AsyncSwiftKits/AsyncChannelKit.git
Reference: v0.0.7
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/AsyncSwiftKits/AsyncChannelKit
 * tag               v0.0.7     -> FETCH_HEAD
HEAD is now at 9f13f1c updates to new release of AsyncTesting which no longer throws from waitForExpectations
Cloned https://github.com/AsyncSwiftKits/AsyncChannelKit.git
Revision (git rev-parse @):
9f13f1cf0be6b3f6ce5cc913944cdf4795eb8240
SUCCESS checkout https://github.com/AsyncSwiftKits/AsyncChannelKit.git at v0.0.7
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AsyncSwiftKits/AsyncChannelKit.git
https://github.com/AsyncSwiftKits/AsyncChannelKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "asynctesting",
      "requirement" : {
        "exact" : [
          "0.0.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/brennanMKE/AsyncTesting.git"
    }
  ],
  "manifest_display_name" : "AsyncChannelKit",
  "name" : "AsyncChannelKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncChannelKit",
      "targets" : [
        "AsyncChannelKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncChannelKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncChannelKitTests",
      "path" : "Tests/AsyncChannelKitTests",
      "product_dependencies" : [
        "AsyncTesting"
      ],
      "sources" : [
        "AsyncChannelKitTests.swift"
      ],
      "target_dependencies" : [
        "AsyncChannelKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncChannelKit",
      "module_type" : "SwiftTarget",
      "name" : "AsyncChannelKit",
      "path" : "Sources/AsyncChannelKit",
      "product_memberships" : [
        "AsyncChannelKit"
      ],
      "sources" : [
        "AsyncChannel.swift",
        "AsyncSequence+forEach.swift",
        "AsyncThrowingChannel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/brennanMKE/AsyncTesting.git
[1/362] Fetching asynctesting
Fetched https://github.com/brennanMKE/AsyncTesting.git from cache (0.27s)
Computing version for https://github.com/brennanMKE/AsyncTesting.git
Computed https://github.com/brennanMKE/AsyncTesting.git at 0.0.7 (0.95s)
Creating working copy for https://github.com/brennanMKE/AsyncTesting.git
Working copy of https://github.com/brennanMKE/AsyncTesting.git resolved at 0.0.7
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Emitting module AsyncChannelKit
[4/6] Compiling AsyncChannelKit AsyncChannel.swift
/host/spi-builder-workspace/Sources/AsyncChannelKit/AsyncChannel.swift:16:41: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 14 |                 return nil
 15 |             }
 16 |             let value: Element? = await withTaskCancellationHandler { [channel] in
    |                                         |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                                         `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 17 |                 Task {
 18 |                     await channel.cancel()
/host/spi-builder-workspace/Sources/AsyncChannelKit/AsyncChannel.swift:57:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 55 |     // send should not continue until there is a matched next or task is cancelled
 56 |     public func send(_ element: Element) async {
 57 |         await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 58 |             Task {
 59 |                 await terminateAll()
/host/spi-builder-workspace/Sources/AsyncChannelKit/AsyncChannel.swift:57:15: warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
 55 |     // send should not continue until there is a matched next or task is cancelled
 56 |     public func send(_ element: Element) async {
 57 |         await withTaskCancellationHandler {
    |               |- warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending 'self'-isolated value of non-Sendable type '() async -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 58 |             Task {
 59 |                 await terminateAll()
[5/6] Compiling AsyncChannelKit AsyncThrowingChannel.swift
/host/spi-builder-workspace/Sources/AsyncChannelKit/AsyncThrowingChannel.swift:17:49: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 15 |             }
 16 |             do {
 17 |                 let value: Element? = try await withTaskCancellationHandler { [channel] in
    |                                                 |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                                                 `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 18 |                     Task {
 19 |                         await channel.cancel()
/host/spi-builder-workspace/Sources/AsyncChannelKit/AsyncThrowingChannel.swift:61:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 59 |
 60 |     public func send(_ element: Element) async {
 61 |         await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 62 |             Task {
 63 |                 await terminateAll()
/host/spi-builder-workspace/Sources/AsyncChannelKit/AsyncThrowingChannel.swift:61:15: warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
 59 |
 60 |     public func send(_ element: Element) async {
 61 |         await withTaskCancellationHandler {
    |               |- warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending 'self'-isolated value of non-Sendable type '() async -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 62 |             Task {
 63 |                 await terminateAll()
[6/6] Compiling AsyncChannelKit AsyncSequence+forEach.swift
Build complete! (12.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "asynctesting",
      "requirement" : {
        "exact" : [
          "0.0.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/brennanMKE/AsyncTesting.git"
    }
  ],
  "manifest_display_name" : "AsyncChannelKit",
  "name" : "AsyncChannelKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncChannelKit",
      "targets" : [
        "AsyncChannelKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncChannelKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncChannelKitTests",
      "path" : "Tests/AsyncChannelKitTests",
      "product_dependencies" : [
        "AsyncTesting"
      ],
      "sources" : [
        "AsyncChannelKitTests.swift"
      ],
      "target_dependencies" : [
        "AsyncChannelKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncChannelKit",
      "module_type" : "SwiftTarget",
      "name" : "AsyncChannelKit",
      "path" : "Sources/AsyncChannelKit",
      "product_memberships" : [
        "AsyncChannelKit"
      ],
      "sources" : [
        "AsyncChannel.swift",
        "AsyncSequence+forEach.swift",
        "AsyncThrowingChannel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.