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 Observation, reference 0.0.2 (9e04c7), with Swift 6.1 for Wasm on 28 May 2025 02:16:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/0xLet/Observation.git
Reference: 0.0.2
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/0xLet/Observation
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 9e04c70 Merge pull request #2 from 0xLeif/develop
Cloned https://github.com/0xLet/Observation.git
Revision (git rev-parse @):
9e04c7056782c73a8f2ad6cea43f71a1c5a9700b
SUCCESS checkout https://github.com/0xLet/Observation.git at 0.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xLet/Observation.git
https://github.com/0xLet/Observation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "chain",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Chain"
    }
  ],
  "manifest_display_name" : "Observation",
  "name" : "Observation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Observation",
      "targets" : [
        "Observation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObservationTests",
      "module_type" : "SwiftTarget",
      "name" : "ObservationTests",
      "path" : "Tests/ObservationTests",
      "sources" : [
        "ObservationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Observation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Observation",
      "module_type" : "SwiftTarget",
      "name" : "Observation",
      "path" : "Sources/Observation",
      "product_dependencies" : [
        "Chain"
      ],
      "product_memberships" : [
        "Observation"
      ],
      "sources" : [
        "ObservedValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/0xLeif/Chain
[1/119] Fetching chain
Fetched https://github.com/0xLeif/Chain from cache (0.24s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.3.0 (0.76s)
Fetching https://github.com/0xLeif/E.num
[1/130] Fetching e.num
Fetched https://github.com/0xLeif/E.num from cache (0.21s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (1.49s)
Creating working copy for https://github.com/0xLeif/E.num
Working copy of https://github.com/0xLeif/E.num resolved at 0.3.0
Creating working copy for https://github.com/0xLeif/Chain
Working copy of https://github.com/0xLeif/Chain resolved at 0.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/9] Compiling E Variable.swift
[6/9] Compiling E State.swift
[7/9] Compiling E Control.swift
[8/9] Emitting module E
[9/9] Compiling E Function.swift
[11/12] Emitting module Chain
[12/12] Compiling Chain Chain.swift
/host/spi-builder-workspace/.build/checkouts/Chain/Sources/Chain/Chain.swift:44:13: error: cannot find 'DispatchQueue' in scope
 42 |         case .background(let action,
 43 |                          let next):
 44 |             DispatchQueue.global().async {
    |             `- error: cannot find 'DispatchQueue' in scope
 45 |                 let actionOutput: Variable = action.run(input) ?? Variable.void
 46 |
/host/spi-builder-workspace/.build/checkouts/Chain/Sources/Chain/Chain.swift:47:17: error: cannot find 'DispatchQueue' in scope
 45 |                 let actionOutput: Variable = action.run(input) ?? Variable.void
 46 |
 47 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 48 |                     _ = next.run(name: name,
 49 |                                  input: actionOutput,
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/6] Compiling E Function.swift
[3/6] Emitting module E
[4/6] Compiling E Control.swift
[5/6] Compiling E State.swift
[6/6] Compiling E Variable.swift
[8/9] Emitting module Chain
[9/9] Compiling Chain Chain.swift
/host/spi-builder-workspace/.build/checkouts/Chain/Sources/Chain/Chain.swift:44:13: error: cannot find 'DispatchQueue' in scope
 42 |         case .background(let action,
 43 |                          let next):
 44 |             DispatchQueue.global().async {
    |             `- error: cannot find 'DispatchQueue' in scope
 45 |                 let actionOutput: Variable = action.run(input) ?? Variable.void
 46 |
/host/spi-builder-workspace/.build/checkouts/Chain/Sources/Chain/Chain.swift:47:17: error: cannot find 'DispatchQueue' in scope
 45 |                 let actionOutput: Variable = action.run(input) ?? Variable.void
 46 |
 47 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 48 |                     _ = next.run(name: name,
 49 |                                  input: actionOutput,
BUILD FAILURE 6.1 wasm