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 AsyncPlus, reference 0.3.2 (ab486f), with Swift 6.1 for Linux on 29 Apr 2025 07:31:53 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/richardpiazza/AsyncPlus.git
Reference: 0.3.2
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/richardpiazza/AsyncPlus
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at ab486f6 Single no-subscription callback (#6)
Cloned https://github.com/richardpiazza/AsyncPlus.git
Revision (git rev-parse @):
ab486f6744539f8814296cc85a7cc317f165dfc0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/AsyncPlus.git at 0.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/richardpiazza/AsyncPlus.git
https://github.com/richardpiazza/AsyncPlus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncPlus",
  "name" : "AsyncPlus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncPlus",
      "targets" : [
        "AsyncPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncPlusTests",
      "path" : "Tests/AsyncPlusTests",
      "sources" : [
        "CurrentValueSubjectTests.swift",
        "PassthroughSequenceTests.swift",
        "PassthroughSubjectTests.swift"
      ],
      "target_dependencies" : [
        "AsyncPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncPlus",
      "module_type" : "SwiftTarget",
      "name" : "AsyncPlus",
      "path" : "Sources/AsyncPlus",
      "product_memberships" : [
        "AsyncPlus"
      ],
      "sources" : [
        "CurrentValueAsyncSubject.swift",
        "CurrentValueAsyncThrowingSubject.swift",
        "PassthroughAsyncSequence.swift",
        "PassthroughAsyncSubject.swift",
        "PassthroughAsyncThrowingSequence.swift",
        "PassthroughAsyncThrowingSubject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Emitting module AsyncPlus
[4/9] Compiling AsyncPlus PassthroughAsyncThrowingSequence.swift
/host/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncThrowingSequence.swift:22:22: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 |     public func yield(_ element: Element) {
22 |         continuation.yield(element)
   |                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 |     }
24 |
[5/9] Compiling AsyncPlus PassthroughAsyncSequence.swift
/host/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncSequence.swift:22:22: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 |     public func yield(_ element: Element) {
22 |         continuation.yield(element)
   |                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 |     }
24 |
[6/9] Compiling AsyncPlus PassthroughAsyncSubject.swift
/host/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncSubject.swift:68:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
66 |
67 |         for (_, continuation) in subscriptions {
68 |             continuation.yield(value)
   |                          |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                          `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
69 |         }
70 |     }
[7/9] Compiling AsyncPlus CurrentValueAsyncThrowingSubject.swift
/host/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:49:35: warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
 47 |
 48 |         defer {
 49 |             sequence.continuation.yield(value)
    |                                   |- warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: 'self'-isolated 'self.value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
 50 |         }
 51 |         #else
/host/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:80:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 78 |
 79 |         for (_, continuation) in subscriptions {
 80 |             continuation.yield(value)
    |                          |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
 81 |         }
 82 |     }
[8/9] Compiling AsyncPlus CurrentValueAsyncSubject.swift
/host/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncSubject.swift:52:35: warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
 50 |
 51 |         defer {
 52 |             sequence.continuation.yield(value)
    |                                   |- warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: 'self'-isolated 'self.value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
 53 |         }
 54 |         #else
/host/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncSubject.swift:83:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 81 |
 82 |         for (_, continuation) in subscriptions {
 83 |             continuation.yield(value)
    |                          |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
 84 |         }
 85 |     }
[9/9] Compiling AsyncPlus PassthroughAsyncThrowingSubject.swift
/host/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncThrowingSubject.swift:65:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
63 |
64 |         for (_, continuation) in subscriptions {
65 |             continuation.yield(value)
   |                          |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                          `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
66 |         }
67 |     }
Build complete! (16.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncPlus",
  "name" : "AsyncPlus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncPlus",
      "targets" : [
        "AsyncPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncPlusTests",
      "path" : "Tests/AsyncPlusTests",
      "sources" : [
        "CurrentValueSubjectTests.swift",
        "PassthroughSequenceTests.swift",
        "PassthroughSubjectTests.swift"
      ],
      "target_dependencies" : [
        "AsyncPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncPlus",
      "module_type" : "SwiftTarget",
      "name" : "AsyncPlus",
      "path" : "Sources/AsyncPlus",
      "product_memberships" : [
        "AsyncPlus"
      ],
      "sources" : [
        "CurrentValueAsyncSubject.swift",
        "CurrentValueAsyncThrowingSubject.swift",
        "PassthroughAsyncSequence.swift",
        "PassthroughAsyncSubject.swift",
        "PassthroughAsyncThrowingSequence.swift",
        "PassthroughAsyncThrowingSubject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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.