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 main (ab486f), with Swift 6.0 for Linux on 5 Nov 2024 22:01:35 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/AsyncPlus.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/richardpiazza/AsyncPlus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/richardpiazza/AsyncPlus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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 |
[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 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 |     }
[6/9] Emitting module AsyncPlus
[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 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 |     }
Build complete! (12.32s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.