The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftStack, reference master (3ed8ed), with Swift 6.1 for Wasm on 27 May 2025 19:15:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/sobotics/swiftstack.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/sobotics/swiftstack
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3ed8edd [tests] import FoundationNetworking
Cloned https://github.com/sobotics/swiftstack.git
Revision (git rev-parse @):
3ed8eddf8bcf3984d8e7a8b9890802b544f4ef28
SUCCESS checkout https://github.com/sobotics/swiftstack.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sobotics/swiftstack.git
https://github.com/sobotics/swiftstack.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftStack",
  "name" : "SwiftStack",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftStack",
      "targets" : [
        "SwiftStack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftStackTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftStackTests",
      "path" : "Tests/SwiftStackTests",
      "sources" : [
        "APITests.swift",
        "AnswersTests.swift",
        "BasicRequestTests.swift",
        "JsonHelperTests.swift",
        "PostTests.swift",
        "PrivilegesTests.swift",
        "QuestionTests.swift",
        "SiteTests.swift",
        "UserTests.swift"
      ],
      "target_dependencies" : [
        "SwiftStack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftStack",
      "module_type" : "SwiftTarget",
      "name" : "SwiftStack",
      "path" : "Sources/SwiftStack",
      "product_memberships" : [
        "SwiftStack"
      ],
      "sources" : [
        "APIClient.swift",
        "APIResponse.swift",
        "Answer.swift",
        "BadgeCount.swift",
        "Comment.swift",
        "Content.swift",
        "DictionaryConvertible.swift",
        "JsonConvertible.swift",
        "JsonHelper.swift",
        "Post.swift",
        "Privilege.swift",
        "Question.swift",
        "RequestsAnswers.swift",
        "RequestsPrivileges.swift",
        "RequestsQuestions.swift",
        "RequestsRevisions.swift",
        "RequestsSites.swift",
        "RequestsSuggestedEdits.swift",
        "Revision.swift",
        "Site.swift",
        "String+HTMLEntities.swift",
        "StringRepresentable.swift",
        "SuggestedEdit.swift",
        "User.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
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/24] Emitting module SwiftStack
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[4/27] Compiling SwiftStack StringRepresentable.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[5/27] Compiling SwiftStack SuggestedEdit.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[6/27] Compiling SwiftStack User.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[7/27] Compiling SwiftStack Post.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[8/27] Compiling SwiftStack Privilege.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[9/27] Compiling SwiftStack Question.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[10/27] Compiling SwiftStack RequestsAnswers.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[11/27] Compiling SwiftStack RequestsPrivileges.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[12/27] Compiling SwiftStack RequestsQuestions.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[13/27] Compiling SwiftStack RequestsRevisions.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[14/27] Compiling SwiftStack RequestsSites.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[15/27] Compiling SwiftStack RequestsSuggestedEdits.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[16/27] Compiling SwiftStack Revision.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[17/27] Compiling SwiftStack Site.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[18/27] Compiling SwiftStack String+HTMLEntities.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[19/27] Compiling SwiftStack DictionaryConvertible.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[20/27] Compiling SwiftStack JsonConvertible.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[21/27] Compiling SwiftStack JsonHelper.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[22/27] Compiling SwiftStack APIClient.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[23/27] Compiling SwiftStack APIResponse.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[24/27] Compiling SwiftStack Answer.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[25/27] Compiling SwiftStack BadgeCount.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[26/27] Compiling SwiftStack Comment.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[27/27] Compiling SwiftStack Content.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/23] Emitting module SwiftStack
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[3/26] Compiling SwiftStack DictionaryConvertible.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[4/26] Compiling SwiftStack JsonConvertible.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[5/26] Compiling SwiftStack JsonHelper.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[6/26] Compiling SwiftStack RequestsAnswers.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[7/26] Compiling SwiftStack RequestsPrivileges.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[8/26] Compiling SwiftStack RequestsQuestions.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[9/26] Compiling SwiftStack APIClient.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[10/26] Compiling SwiftStack APIResponse.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[11/26] Compiling SwiftStack Answer.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[12/26] Compiling SwiftStack BadgeCount.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[13/26] Compiling SwiftStack Comment.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[14/26] Compiling SwiftStack Content.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[15/26] Compiling SwiftStack RequestsRevisions.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[16/26] Compiling SwiftStack RequestsSites.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[17/26] Compiling SwiftStack RequestsSuggestedEdits.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[18/26] Compiling SwiftStack Revision.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[19/26] Compiling SwiftStack Site.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[20/26] Compiling SwiftStack String+HTMLEntities.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[21/26] Compiling SwiftStack Post.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[22/26] Compiling SwiftStack Privilege.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[23/26] Compiling SwiftStack Question.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[24/26] Compiling SwiftStack StringRepresentable.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[25/26] Compiling SwiftStack SuggestedEdit.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
[26/26] Compiling SwiftStack User.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:10:8: error: no such module 'Dispatch'
  8 |
  9 | import Foundation
 10 | import Dispatch
    |        `- error: no such module 'Dispatch'
 11 |
 12 | #if os(Linux)
BUILD FAILURE 6.1 wasm