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 When, reference 5.0.0 (f1a9b4), with Swift 6.0 for Linux on 30 Oct 2024 17:51:50 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.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/vadymmarkov/When.git
Reference: 5.0.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/vadymmarkov/When
 * tag               5.0.0      -> FETCH_HEAD
HEAD is now at f1a9b4c Update When.podspec
Cloned https://github.com/vadymmarkov/When.git
Revision (git rev-parse @):
f1a9b4cb4c04a29af47c3ae430a06370f99afd9d
SUCCESS checkout https://github.com/vadymmarkov/When.git at 5.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vadymmarkov/When.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.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
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14723] Fetching quick
Fetched https://github.com/Quick/Quick.git from cache (0.62s)
[1/19218] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.01s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.48s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.9 (0.46s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.9
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling When State.swift
[4/9] Compiling When Result.swift
[5/9] Compiling When Observer.swift
[6/9] Emitting module When
[7/9] Compiling When Error.swift
[8/9] Compiling When Functions.swift
[9/9] Compiling When Promise.swift
/host/spi-builder-workspace/Sources/Promise.swift:178:28: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
172 |   }
173 |
174 |   private func dispatch(_ queue: DispatchQueue, closure: @escaping () -> Void) {
    |                                                 `- note: parameter 'closure' is implicitly non-sendable
175 |     if queue === instantQueue {
176 |       closure()
177 |     } else {
178 |       queue.async(execute: closure)
    |                            `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
179 |     }
180 |   }
Build complete! (15.84s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "2.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.5",
            "upper_bound" : "8.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "When",
  "name" : "When",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "When",
      "targets" : [
        "When"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WhenTests",
      "module_type" : "SwiftTarget",
      "name" : "WhenTests",
      "path" : "WhenTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Shared/FunctionsSpec.swift",
        "Shared/Helpers/SpecError.swift",
        "Shared/PromiseSpec.swift",
        "Shared/ResultSpec.swift",
        "Shared/StateSpec.swift"
      ],
      "target_dependencies" : [
        "When"
      ],
      "type" : "test"
    },
    {
      "c99name" : "When",
      "module_type" : "SwiftTarget",
      "name" : "When",
      "path" : "Sources",
      "product_memberships" : [
        "When"
      ],
      "sources" : [
        "Error.swift",
        "Functions.swift",
        "Observer.swift",
        "Promise.swift",
        "Result.swift",
        "State.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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.