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 CollectionConcurrencyKit, reference 0.2.0 (b4f23e), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 06:52:23 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JohnSundell/CollectionConcurrencyKit.git
Reference: 0.2.0
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/JohnSundell/CollectionConcurrencyKit
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at b4f23e2 README: Update system requirements for concurrency back-compat
Cloned https://github.com/JohnSundell/CollectionConcurrencyKit.git
Revision (git rev-parse @):
b4f23e24b5a1bff301efc5e70871083ca029ff95
SUCCESS checkout https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/JohnSundell/CollectionConcurrencyKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:39:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 37 |     func concurrentForEach(
 38 |         withPriority priority: TaskPriority? = nil,
 39 |         _ operation: @escaping (Element) async -> Void
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 40 |     ) async {
 41 |         await withTaskGroup(of: Void.self) { group in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:65:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |     func concurrentForEach(
 64 |         withPriority priority: TaskPriority? = nil,
 65 |         _ operation: @escaping (Element) async throws -> Void
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 66 |     ) async throws {
 67 |         try await withThrowingTaskGroup(of: Void.self) { group in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:122:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 |     func concurrentMap<T>(
121 |         withPriority priority: TaskPriority? = nil,
122 |         _ transform: @escaping (Element) async -> T
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |     ) async -> [T] {
124 |         let tasks = map { element in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:153:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
151 |     func concurrentMap<T>(
152 |         withPriority priority: TaskPriority? = nil,
153 |         _ transform: @escaping (Element) async throws -> T
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |     ) async throws -> [T] {
155 |         let tasks = map { element in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:217:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 |     func concurrentCompactMap<T>(
216 |         withPriority priority: TaskPriority? = nil,
217 |         _ transform: @escaping (Element) async -> T?
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 |     ) async -> [T] {
219 |         let tasks = map { element in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:250:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
248 |     func concurrentCompactMap<T>(
249 |         withPriority priority: TaskPriority? = nil,
250 |         _ transform: @escaping (Element) async throws -> T?
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
251 |     ) async throws -> [T] {
252 |         let tasks = map { element in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:316:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
314 |         let tasks = map { element in
315 |             Task(priority: priority) {
316 |                 await transform(element)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
317 |             }
318 |         }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:312:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
310 |     func concurrentFlatMap<T: Sequence>(
311 |         withPriority priority: TaskPriority? = nil,
312 |         _ transform: @escaping (Element) async -> T
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
313 |     ) async -> [T.Element] {
314 |         let tasks = map { element in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:312:11: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
310 |     func concurrentFlatMap<T: Sequence>(
311 |         withPriority priority: TaskPriority? = nil,
312 |         _ transform: @escaping (Element) async -> T
    |           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
313 |     ) async -> [T.Element] {
314 |         let tasks = map { element in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:350:21: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
348 |         let tasks = map { element in
349 |             Task(priority: priority) {
350 |                 try await transform(element)
    |                     `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
351 |             }
352 |         }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:346:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
344 |     func concurrentFlatMap<T: Sequence>(
345 |         withPriority priority: TaskPriority? = nil,
346 |         _ transform: @escaping (Element) async throws -> T
    |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
347 |     ) async throws -> [T.Element] {
348 |         let tasks = map { element in
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:346:11: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
344 |     func concurrentFlatMap<T: Sequence>(
345 |         withPriority priority: TaskPriority? = nil,
346 |         _ transform: @escaping (Element) async throws -> T
    |           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
347 |     ) async throws -> [T.Element] {
348 |         let tasks = map { element in
[4/4] Emitting module CollectionConcurrencyKit
Build complete! (8.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CollectionConcurrencyKit",
  "name" : "CollectionConcurrencyKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CollectionConcurrencyKit",
      "targets" : [
        "CollectionConcurrencyKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CollectionConcurrencyKitTests",
      "module_type" : "SwiftTarget",
      "name" : "CollectionConcurrencyKitTests",
      "path" : "Tests",
      "sources" : [
        "CompactMapTests.swift",
        "FlatMapTests.swift",
        "ForEachTests.swift",
        "MapTests.swift",
        "TestCase.swift",
        "TimingTests.swift"
      ],
      "target_dependencies" : [
        "CollectionConcurrencyKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CollectionConcurrencyKit",
      "module_type" : "SwiftTarget",
      "name" : "CollectionConcurrencyKit",
      "path" : "Sources",
      "product_memberships" : [
        "CollectionConcurrencyKit"
      ],
      "sources" : [
        "CollectionConcurrencyKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.