Build Information
Failed to build MCP, reference master (ff6b02), with Swift 6.4 for Wasm on 23 Oct 2026 19:22:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/swift-mcp.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/tannerdsilva/swift-mcp
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ff6b02e fix(client): the shutdown ladder follows the child's placement
Cloned https://github.com/tannerdsilva/swift-mcp.git
Revision (git rev-parse @):
ff6b02e2f44071a72352e7664033f2b2183fef8f
SUCCESS checkout https://github.com/tannerdsilva/swift-mcp.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/tannerdsilva/swift-mcp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tannerdsilva/QuickJSON.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/tannerdsilva/SwiftSlash.git
[1/534] Fetching quickjson
[18/2879] Fetching quickjson, swift-docc-plugin
[2880/22150] Fetching quickjson, swift-docc-plugin, swift-argument-parser
[19261/26428] Fetching quickjson, swift-docc-plugin, swift-argument-parser, swiftslash
[24077/29308] Fetching quickjson, swift-docc-plugin, swift-argument-parser, swiftslash, swift-service-lifecycle
Fetched https://github.com/apple/swift-docc-plugin.git (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git (0.86s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/8373] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.49s)
[1/81056] Fetching swift-syntax
[17834/167699] Fetching swift-syntax, swift-nio
Fetched https://github.com/tannerdsilva/QuickJSON.git (4.06s)
Fetched https://github.com/tannerdsilva/SwiftSlash.git (4.06s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (4.06s)
Fetched https://github.com/swiftlang/swift-syntax.git (4.08s)
Fetched https://github.com/apple/swift-nio.git (3.39s)
Computing version for https://github.com/tannerdsilva/SwiftSlash.git
Computed https://github.com/tannerdsilva/SwiftSlash.git at 6.0.0 (4.43s)
Computing version for https://github.com/tannerdsilva/QuickJSON.git
Computed https://github.com/tannerdsilva/QuickJSON.git at 2.0.3 (0.14s)
Fetching https://github.com/ibireme/yyjson.git
[1/5194] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git (0.85s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.83s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.15s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3847] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.94s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.15s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.15s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.60s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.80s)
Fetching https://github.com/apple/swift-collections.git
[1/29301] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.4 (1.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.25s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1889] Fetching swift-atomics
[1890/9262] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.77s)
Fetched https://github.com/apple/swift-system.git (0.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.17s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/tannerdsilva/QuickJSON.git
Working copy of https://github.com/tannerdsilva/QuickJSON.git resolved at 2.0.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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 1.8.2
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/tannerdsilva/SwiftSlash.git
Working copy of https://github.com/tannerdsilva/SwiftSlash.git resolved at 6.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.18s)
Building for debugging...
[Computing dependencies]
[Provisioning 25 / 94]
[Pre-planning 1 / 2189]
[Planning 1403 / 2189]
[Planning deferred tasks]
[Constructing 3276 / 4594]
[121 / 759] CNIOPosix
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftSlash/Sources/__cswiftslash_eventtrigger/__cswiftslash_eventtrigger.c:16:
[1m/host/spi-builder-workspace/.build/checkouts/SwiftSlash/Sources/__cswiftslash_eventtrigger/__cswiftslash_eventtrigger.h:16:10: [0m[0;1;31mfatal error: [0m[1m'sys/wait.h' file not found[0m
16 | #include <sys/wait.h>[0m
| [0;1;32m ^~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSlash.build/Debug-webassembly-wasm32/__cswiftslash_eventtrigger-t.build/Objects-normal/wasm32/__cswiftslash_eventtrigger.o /host/spi-builder-workspace/.build/checkouts/SwiftSlash/Sources/__cswiftslash_eventtrigger/__cswiftslash_eventtrigger.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSlash.build/Debug-webassembly-wasm32/__cswiftslash_eventtrigger-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSlash.build/Debug-webassembly-wasm32/__cswiftslash_eventtrigger-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSlash.build/Debug-webassembly-wasm32/__cswiftslash_eventtrigger-t.build/Objects-normal/wasm32/__cswiftslash_eventtrigger.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSlash.build/Debug-webassembly-wasm32/__cswiftslash_eventtrigger-t.build/Objects-normal/wasm32/__cswiftslash_eventtrigger.dia -c /host/spi-builder-workspace/.build/checkouts/SwiftSlash/Sources/__cswiftslash_eventtrigger/__cswiftslash_eventtrigger.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSlash.build/Debug-webassembly-wasm32/__cswiftslash_eventtrigger-t.build/Objects-normal/wasm32/__cswiftslash_eventtrigger.o
error: Build failed
BUILD FAILURE 6.4 wasm