The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MicroExpress, reference 0.0.1 (06f66c), with Swift 6.1 for Wasm on 28 May 2025 07:13:18 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/helje5/MicroExpress.git
Reference: 0.0.1
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/helje5/MicroExpress
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 06f66cf Language tag
Cloned https://github.com/helje5/MicroExpress.git
Revision (git rev-parse @):
06f66cf05a8cd8a1e0dca120d615afbc470bde10
SUCCESS checkout https://github.com/helje5/MicroExpress.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/helje5/MicroExpress.git
https://github.com/helje5/MicroExpress.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "http",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/http"
    }
  ],
  "manifest_display_name" : "MicroExpress",
  "name" : "MicroExpress",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MicroExpress",
      "targets" : [
        "MicroExpress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MicroHelloServer",
      "targets" : [
        "MicroHelloServer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MicroHelloServer",
      "module_type" : "SwiftTarget",
      "name" : "MicroHelloServer",
      "path" : "Sources/MicroHelloServer",
      "product_memberships" : [
        "MicroHelloServer"
      ],
      "sources" : [
        "TodoModel.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "MicroExpress"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MicroExpress",
      "module_type" : "SwiftTarget",
      "name" : "MicroExpress",
      "path" : "Sources/MicroExpress",
      "product_dependencies" : [
        "HTTP"
      ],
      "product_memberships" : [
        "MicroExpress",
        "MicroHelloServer"
      ],
      "sources" : [
        "CORS.swift",
        "Express.swift",
        "IncomingMessage.swift",
        "Middleware.swift",
        "QueryString.swift",
        "Router.swift",
        "ServerResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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
Fetching https://github.com/swift-server/http
[1/1874] Fetching http
Fetched https://github.com/swift-server/http from cache (0.33s)
Computing version for https://github.com/swift-server/http
Computed https://github.com/swift-server/http at 0.1.0 (0.82s)
Creating working copy for https://github.com/swift-server/http
Working copy of https://github.com/swift-server/http resolved at 0.1.0
Building for debugging...
[0/10] Write sources
[3/10] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling CHTTPParser http_parser.c
[6/21] Compiling HTTP HTTPCommon.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[7/21] Compiling HTTP HTTPHeaders.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[8/21] Compiling HTTP HTTPMethod.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[9/21] Compiling HTTP HTTPRequest.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/21] Emitting module HTTP
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[11/21] Compiling HTTP HTTPStreamingParser.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[12/22] Compiling HTTP PoCSocket.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[13/22] Compiling HTTP HTTPResponse.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[14/22] Compiling HTTP HTTPServer.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[15/22] Compiling HTTP HTTPVersion.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[16/22] Compiling HTTP PoCSocketConnectionListener.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[17/22] Compiling HTTP PoCSocketSimpleServer.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
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
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling HTTP HTTPResponse.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[3/17] Compiling HTTP HTTPServer.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[4/18] Compiling HTTP HTTPCommon.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[5/18] Compiling HTTP HTTPHeaders.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/18] Emitting module HTTP
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[7/18] Compiling HTTP PoCSocketConnectionListener.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[8/18] Compiling HTTP HTTPVersion.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[9/18] Compiling HTTP HTTPStreamingParser.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[10/18] Compiling HTTP PoCSocket.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[11/18] Compiling HTTP HTTPMethod.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[12/18] Compiling HTTP HTTPRequest.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
[13/18] Compiling HTTP PoCSocketSimpleServer.swift
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/HTTPRequest.swift:9:8: error: no such module 'Dispatch'
 7 | //
 8 |
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 | import Foundation
11 |
BUILD FAILURE 6.1 wasm