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

Failed to build When, reference master (a0811b), with Swift 6.1 for Wasm on 27 May 2025 06:31:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vadymmarkov/When.git
https://github.com/vadymmarkov/When.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[1034/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.32s)
Fetched https://github.com/Quick/Nimble.git from cache (2.03s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (2.86s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.9 (0.79s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module When
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[4/8] Compiling When Functions.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[5/8] Compiling When Error.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[6/8] Compiling When State.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[7/8] Compiling When Promise.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[8/8] Compiling When Observer.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling When Observer.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[3/7] Compiling When Error.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module When
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[5/7] Compiling When Functions.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[6/7] Compiling When State.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
[7/7] Compiling When Promise.swift
/host/spi-builder-workspace/Sources/Functions.swift:2:8: error: no such module 'Dispatch'
 1 | import Foundation
 2 | import Dispatch
   |        `- error: no such module 'Dispatch'
 3 |
 4 | let backgroundQueue = DispatchQueue.global(qos: DispatchQoS.QoSClass.background)
BUILD FAILURE 6.1 wasm