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 NanoHTTP, reference main (e3c344), with Swift 6.1 for Wasm on 29 May 2025 14:51:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/objecthub/swift-nanohttp.git
Reference: main
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/objecthub/swift-nanohttp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e3c3441 Fix computation of local IP address.
Cloned https://github.com/objecthub/swift-nanohttp.git
Revision (git rev-parse @):
e3c3441ca509ffdb77c9c83cb918673f1c0c2e16
SUCCESS checkout https://github.com/objecthub/swift-nanohttp.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/objecthub/swift-nanohttp.git
https://github.com/objecthub/swift-nanohttp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NanoHTTP",
  "name" : "NanoHTTP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "NanoHTTP",
      "targets" : [
        "NanoHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NanoHTTPDemo",
      "targets" : [
        "NanoHTTPDemo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DemoServer",
      "targets" : [
        "DemoServer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "NanoHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "NanoHTTPTests",
      "path" : "Tests/NanoHTTPTests",
      "sources" : [
        "HTTPParserTests.swift",
        "HTTPRouterTests.swift",
        "IOSafetyTests.swift",
        "MimeTypeTests.swift",
        "PingServer.swift",
        "ServerThreadingTests.swift",
        "StringExtensionsTests.swift",
        "WebSocketTests.swift"
      ],
      "target_dependencies" : [
        "NanoHTTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NanoHTTPDemo",
      "module_type" : "SwiftTarget",
      "name" : "NanoHTTPDemo",
      "path" : "Sources/NanoHTTPDemo",
      "product_memberships" : [
        "NanoHTTPDemo",
        "DemoServer"
      ],
      "sources" : [
        "NanoHTTPDemo.swift"
      ],
      "target_dependencies" : [
        "NanoHTTP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NanoHTTP",
      "module_type" : "SwiftTarget",
      "name" : "NanoHTTP",
      "path" : "Sources/NanoHTTP",
      "product_memberships" : [
        "NanoHTTP",
        "NanoHTTPDemo",
        "DemoServer"
      ],
      "sources" : [
        "NanoFiles.swift",
        "NanoHTML.swift",
        "NanoHTTPConnection.swift",
        "NanoHTTPParser.swift",
        "NanoHTTPRequest.swift",
        "NanoHTTPResponse.swift",
        "NanoHTTPResponseBodyWriter.swift",
        "NanoHTTPRouter.swift",
        "NanoHTTPSegmentRouter.swift",
        "NanoHTTPServer.swift",
        "NanoHTTPServerIO.swift",
        "NanoProcess.swift",
        "NanoSocket.swift",
        "NanoWebSockets.swift",
        "NetworkInterface.swift",
        "String+Extensions.swift",
        "String+File.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DemoServer",
      "module_type" : "SwiftTarget",
      "name" : "DemoServer",
      "path" : "Sources/DemoServer",
      "product_memberships" : [
        "DemoServer"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "NanoHTTP",
        "NanoHTTPDemo"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/25] Emitting module NanoHTTP
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[6/27] Compiling NanoHTTP String+Extensions.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[7/27] Compiling NanoHTTP String+File.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[8/27] Compiling NanoHTTP NanoHTTPServer.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[9/27] Compiling NanoHTTP NanoHTTPServerIO.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[10/27] Compiling NanoHTTP NanoHTTPRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[11/27] Compiling NanoHTTP NanoHTTPSegmentRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[12/27] Compiling NanoHTTP NanoHTTPParser.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[13/27] Compiling NanoHTTP NanoHTTPRequest.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[14/27] Compiling NanoHTTP NanoWebSockets.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[15/27] Compiling NanoHTTP NetworkInterface.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[16/27] Compiling NanoHTTP NanoProcess.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[17/27] Compiling NanoHTTP NanoSocket.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[18/27] Compiling NanoHTTP NanoHTTPResponse.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[19/27] Compiling NanoHTTP NanoHTTPResponseBodyWriter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[20/27] Compiling NanoHTTP NanoFiles.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[21/27] Compiling NanoHTTP NanoHTML.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[22/27] Compiling NanoHTTP NanoHTTPConnection.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/22] Emitting module NanoHTTP
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[3/24] Compiling NanoHTTP NanoFiles.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[4/24] Compiling NanoHTTP NanoHTML.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[5/24] Compiling NanoHTTP NanoHTTPConnection.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[6/24] Compiling NanoHTTP String+Extensions.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[7/24] Compiling NanoHTTP String+File.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[8/24] Compiling NanoHTTP NanoHTTPResponse.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[9/24] Compiling NanoHTTP NanoHTTPResponseBodyWriter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[10/24] Compiling NanoHTTP NanoHTTPRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[11/24] Compiling NanoHTTP NanoHTTPSegmentRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[12/24] Compiling NanoHTTP NanoHTTPServer.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[13/24] Compiling NanoHTTP NanoHTTPServerIO.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[14/24] Compiling NanoHTTP NanoProcess.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[15/24] Compiling NanoHTTP NanoSocket.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[16/24] Compiling NanoHTTP NanoHTTPParser.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[17/24] Compiling NanoHTTP NanoHTTPRequest.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[18/24] Compiling NanoHTTP NanoWebSockets.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[19/24] Compiling NanoHTTP NetworkInterface.swift
/host/spi-builder-workspace/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
BUILD FAILURE 6.1 wasm