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 Deferred, reference 4.1.0 (96ad3f), with Swift 6.1 for Wasm on 28 May 2025 09:14:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/bignerdranch/Deferred.git
Reference: 4.1.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/bignerdranch/Deferred
 * tag               4.1.0      -> FETCH_HEAD
HEAD is now at 96ad3f6 Merge pull request #293 from bignerdranch/zwaldowski/bump-version
Cloned https://github.com/bignerdranch/Deferred.git
Revision (git rev-parse @):
96ad3f6dd1ddaffe1830dbb3b1cb783a87d6e952
SUCCESS checkout https://github.com/bignerdranch/Deferred.git at 4.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bignerdranch/Deferred.git
https://github.com/bignerdranch/Deferred.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Deferred",
  "name" : "Deferred",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Deferred",
      "targets" : [
        "Deferred",
        "Task"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TaskTests",
      "module_type" : "SwiftTarget",
      "name" : "TaskTests",
      "path" : "Tests/TaskTests",
      "sources" : [
        "AllTestsCommon.swift",
        "TaskAsyncTests.swift",
        "TaskComprehensiveTests.swift",
        "TaskProgressTests.swift",
        "TaskProtocolTests.swift",
        "TaskResultTests.swift",
        "TaskTests.swift"
      ],
      "target_dependencies" : [
        "Deferred",
        "Task"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Task",
      "module_type" : "SwiftTarget",
      "name" : "Task",
      "path" : "Sources/Task",
      "product_memberships" : [
        "Deferred"
      ],
      "sources" : [
        "Either.swift",
        "ExistentialTask.swift",
        "Progress+ExplicitComposition.swift",
        "Progress+Future.swift",
        "Task.swift",
        "TaskAndThen.swift",
        "TaskAsync.swift",
        "TaskChain.swift",
        "TaskCollections.swift",
        "TaskFallback.swift",
        "TaskIgnore.swift",
        "TaskMap.swift",
        "TaskPromise.swift",
        "TaskRecovery.swift",
        "TaskResult.swift",
        "TaskUpon.swift"
      ],
      "target_dependencies" : [
        "Deferred"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DeferredTests",
      "module_type" : "SwiftTarget",
      "name" : "DeferredTests",
      "path" : "Tests/DeferredTests",
      "sources" : [
        "AllTestsCommon.swift",
        "DeferredTests.swift",
        "ExistentialFutureTests.swift",
        "FilledDeferredTests.swift",
        "FutureAsyncTests.swift",
        "FutureCustomExecutorTests.swift",
        "FutureIgnoreTests.swift",
        "FutureTests.swift",
        "LockingTests.swift",
        "ObjectDeferredTests.swift",
        "PerformanceTests.swift",
        "ProtectedTests.swift",
        "SwiftBugTests.swift"
      ],
      "target_dependencies" : [
        "Deferred"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Deferred",
      "module_type" : "SwiftTarget",
      "name" : "Deferred",
      "path" : "Sources/Deferred",
      "product_memberships" : [
        "Deferred"
      ],
      "sources" : [
        "Atomics.swift",
        "Deferred.swift",
        "DeferredQueue.swift",
        "DeferredVariant.swift",
        "Executor.swift",
        "ExistentialFuture.swift",
        "Future.swift",
        "FutureAndThen.swift",
        "FutureAsync.swift",
        "FutureCollections.swift",
        "FutureComposition.swift",
        "FutureEveryMap.swift",
        "FutureIgnore.swift",
        "FutureMap.swift",
        "FuturePeek.swift",
        "FutureUpon.swift",
        "Locking.swift",
        "Promise.swift",
        "Protected.swift"
      ],
      "target_dependencies" : [
        "Atomics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Atomics",
      "module_type" : "ClangTarget",
      "name" : "Atomics",
      "path" : "Sources/Atomics",
      "product_memberships" : [
        "Deferred"
      ],
      "sources" : [
        "Empty.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/DeferredTests/Tests/AllTestsCommon.swift': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/TaskTests/Tests/AllTestsCommon.swift': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/DeferredTests/Tests/AllTestsCommon.swift': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/TaskTests/Tests/AllTestsCommon.swift': File not found.
Building for debugging...
[0/4] Write sources
[2/4] Compiling Atomics Empty.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module Deferred
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[6/24] Compiling Deferred Promise.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[7/24] Compiling Deferred Protected.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[8/24] Compiling Deferred FutureMap.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[9/24] Compiling Deferred FuturePeek.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[10/24] Compiling Deferred Atomics.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[11/24] Compiling Deferred Deferred.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[12/24] Compiling Deferred DeferredQueue.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[13/24] Compiling Deferred FutureEveryMap.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[14/24] Compiling Deferred FutureIgnore.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[15/24] Compiling Deferred FutureCollections.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[16/24] Compiling Deferred FutureComposition.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[17/24] Compiling Deferred Future.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[18/24] Compiling Deferred FutureAndThen.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[19/24] Compiling Deferred FutureAsync.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[20/24] Compiling Deferred FutureUpon.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[21/24] Compiling Deferred Locking.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[22/24] Compiling Deferred DeferredVariant.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[23/24] Compiling Deferred Executor.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[24/24] Compiling Deferred ExistentialFuture.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/DeferredTests/Tests/AllTestsCommon.swift': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/TaskTests/Tests/AllTestsCommon.swift': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling Deferred DeferredVariant.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[3/19] Compiling Deferred Executor.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[4/19] Compiling Deferred ExistentialFuture.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[5/21] Compiling Deferred FutureMap.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[6/21] Compiling Deferred FuturePeek.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[7/21] Compiling Deferred FutureUpon.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[8/21] Compiling Deferred Locking.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[9/21] Compiling Deferred FutureCollections.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[10/21] Compiling Deferred FutureComposition.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[11/21] Compiling Deferred FutureEveryMap.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[12/21] Compiling Deferred FutureIgnore.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[13/21] Compiling Deferred Future.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[14/21] Compiling Deferred FutureAndThen.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[15/21] Compiling Deferred FutureAsync.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[16/21] Compiling Deferred Promise.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[17/21] Compiling Deferred Protected.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[18/21] Compiling Deferred Atomics.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[19/21] Compiling Deferred Deferred.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
[20/21] Compiling Deferred DeferredQueue.swift
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/21] Emitting module Deferred
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | /// A value that may become determined (or "filled") at some point in the
BUILD FAILURE 6.1 wasm