The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AsyncChannelKit, reference main (9d4811), with Swift 6.2 (beta) for Linux on 19 Jun 2025 20:09:26 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AsyncSwiftKits/AsyncChannelKit.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9d48113 Update README.md
Cloned https://github.com/AsyncSwiftKits/AsyncChannelKit.git
Revision (git rev-parse @):
9d48113fd79ca8c59b069ef67f8e5f3564c3e144
SUCCESS checkout https://github.com/AsyncSwiftKits/AsyncChannelKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AsyncSwiftKits/AsyncChannelKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/brennanMKE/AsyncTesting.git
[1/362] Fetching asynctesting
Fetched https://github.com/brennanMKE/AsyncTesting.git from cache (0.29s)
Computing version for https://github.com/brennanMKE/AsyncTesting.git
Computed https://github.com/brennanMKE/AsyncTesting.git at 0.0.7 (1.24s)
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] 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:)' [#DeprecatedDeclaration]
 15 |             }
 16 |             do {
 17 |                 let value: Element? = try await withTaskCancellationHandler { [channel] in
    |                                                 |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                                                 `- 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:)' [#DeprecatedDeclaration]
 59 |
 60 |     public func send(_ element: Element) async {
 61 |         await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 62 |             Task {
 63 |                 await terminateAll()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/6] Compiling AsyncChannelKit AsyncSequence+forEach.swift
[5/6] Emitting module AsyncChannelKit
[6/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:)' [#DeprecatedDeclaration]
 14 |                 return nil
 15 |             }
 16 |             let value: Element? = await withTaskCancellationHandler { [channel] in
    |                                         |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                                         `- 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:)' [#DeprecatedDeclaration]
 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:)' [#DeprecatedDeclaration]
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 58 |             Task {
 59 |                 await terminateAll()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (10.87s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.