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 master (a0811b), with Swift 6.0 for Linux on 30 Oct 2024 17:51:48 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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:  $PWD
https://github.com/vadymmarkov/When.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14723] Fetching quick
Fetched https://github.com/Quick/Quick.git from cache (0.55s)
[1/19218] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.97s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.44s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.9 (0.50s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.9
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling When State.swift
[4/8] Compiling When Observer.swift
[5/8] Compiling When Functions.swift
[6/8] Compiling When Error.swift
[7/8] Emitting module When
[8/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 |   }
Build complete! (16.38s)
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"
}
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.