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 SimpleSwiftServer, reference v4.4.0 (3a5533), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 13:09:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/SimpleSwiftServer.git
Reference: v4.4.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/Samasaur1/SimpleSwiftServer
 * tag               v4.4.0     -> FETCH_HEAD
HEAD is now at 3a55333 Package with Nix; bump to v4.4.0
Cloned https://github.com/Samasaur1/SimpleSwiftServer.git
Revision (git rev-parse @):
3a55333070975105774e4d766f68dafae66d5423
SUCCESS checkout https://github.com/Samasaur1/SimpleSwiftServer.git at v4.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Samasaur1/SimpleSwiftServer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Samasaur1/SwiftIP
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/httpswift/swifter
[1/6050] Fetching swifter
[1574/6345] Fetching swifter, swiftip
[4592/21725] Fetching swifter, swiftip, swift-argument-parser
Fetched https://github.com/Samasaur1/SwiftIP from cache (1.44s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.45s)
Fetched https://github.com/httpswift/swifter from cache (1.46s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (4.17s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (2.87s)
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.2
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.5.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/36] Emitting module ArgumentParserToolInfo
[8/36] Compiling Swifter MimeTypes.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[9/36] Compiling Swifter Process.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[10/36] Compiling Swifter Scopes.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[11/38] Compiling Swifter Socket+File.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[12/38] Compiling Swifter Socket+Server.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[13/38] Compiling Swifter String+File.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[14/38] Compiling Swifter String+Misc.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[15/38] Compiling Swifter Socket.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[16/38] Compiling Swifter String+BASE64.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[17/38] Compiling SwiftIP SwiftIP.swift
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | #if canImport(FoundationNetworking)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/38] Emitting module SwiftIP
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | #if canImport(FoundationNetworking)
[19/38] Compiling Swifter HttpParser.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[20/38] Compiling Swifter HttpRequest.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[21/38] Compiling Swifter HttpResponse.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/38] Emitting module Swifter
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[23/38] Compiling Swifter HttpRouter.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[24/38] Compiling Swifter HttpServer.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[25/38] Compiling Swifter HttpServerIO.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[26/38] Compiling Swifter DemoServer.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[27/38] Compiling Swifter Errno.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[28/38] Compiling Swifter Files.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/DemoServer.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
BUILD FAILURE 6.2 wasm