This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vadymmarkov/When.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a0811be Merge pull request #42 from fggeraissate/use-native-result
Cloned https://github.com/vadymmarkov/When.git
Revision (git rev-parse @):
a0811be90114d82131271c629c6c4bfb27530433
SUCCESS checkout https://github.com/vadymmarkov/When.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/vadymmarkov/When.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
[1/1247] Fetching cwlpreconditiontesting
[1248/15796] Fetching cwlpreconditiontesting, quick
[2412/16235] Fetching cwlpreconditiontesting, quick, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.28s)
[2622/14988] Fetching quick, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.30s)
[2765/14549] Fetching quick
Fetched https://github.com/Quick/Quick.git from cache (0.64s)
[1/18640] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.5 (0.53s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.58s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (1.40s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (1.38s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 1.2.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.5
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 1.2.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling When State.swift
[4/8] 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 |   }
[5/8] Compiling When Observer.swift
[6/8] Compiling When Error.swift
[7/8] Emitting module When
[8/8] Compiling When Functions.swift
Build complete! (20.08s)
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/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",
        "State.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.