Build Information
Failed to build swift-mcp-toolkit, reference v0.2.0 (f9a664), with Swift 6.2 for Wasm on 10 Oct 2025 01:57:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-mcp-toolkit.git
Reference: v0.2.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/ajevans99/swift-mcp-toolkit
* tag v0.2.0 -> FETCH_HEAD
HEAD is now at f9a6642 Merge pull request #1 from ajevans99/codex/create-localization-plan-document
Cloned https://github.com/ajevans99/swift-mcp-toolkit.git
Revision (git rev-parse @):
f9a6642bc14272407137c1a591c5ef9aa3c6f805
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-mcp-toolkit.git at v0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ajevans99/swift-mcp-toolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/ajevans99/swift-json-schema.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/4578] Fetching swift-json-schema
[1375/6671] Fetching swift-json-schema, swift-sdk
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (0.40s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.40s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.9.1 (1.61s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72446] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.95s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (8.60s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
[1/114] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.29s)
[1/3933] Fetching swift-log
[2047/8982] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.69s)
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.2.0 (1.11s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (5.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.76s)
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.10.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/ajevans99/swift-json-schema.git
Working copy of https://github.com/ajevans99/swift-json-schema.git resolved at 0.9.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.2.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.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.6.3
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Building for debugging...
[0/53] Write sources
[13/53] Copying validation.json
[13/53] Copying unevaluated.json
[13/53] Copying schema.json
[13/53] Copying meta-data.json
[13/53] Copying format-annotation.json
[13/53] Copying core.json
[13/53] Copying content.json
[13/53] Copying applicator.json
[13/53] Write sources
[31/53] Compiling CSystem shims.c
[32/53] Compiling _SwiftSyntaxCShims PlatformMutex.c
[33/53] Write swift-version-24593BA9C3E375BF.txt
[35/68] Emitting module SwiftSyntax510
[36/128] Emitting module SwiftSyntax602
[37/128] Compiling SwiftSyntax510 Empty.swift
[38/128] Compiling SwiftSyntax602 Empty.swift
[39/130] Compiling SwiftSyntax509 Empty.swift
[40/130] Emitting module SwiftSyntax509
[44/131] Emitting module SwiftSyntax601
[45/131] Compiling SwiftSyntax601 Empty.swift
[46/132] Emitting module SwiftSyntax600
[47/132] Compiling SwiftSyntax600 Empty.swift
[49/133] Wrapping AST for SwiftSyntax602 for debugging
[50/133] Wrapping AST for SwiftSyntax510 for debugging
[51/133] Wrapping AST for SwiftSyntax509 for debugging
[52/133] Wrapping AST for SwiftSyntax600 for debugging
[53/133] Wrapping AST for SwiftSyntax601 for debugging
[55/133] Compiling SystemPackage FilePathWindows.swift
[56/133] Compiling SystemPackage FilePermissions.swift
[57/133] Compiling SystemPackage IOCompletion.swift
[58/133] Compiling SystemPackage IORequest.swift
[59/134] Compiling SystemPackage FilePathSyntax.swift
[60/134] Compiling SystemPackage FilePathTemp.swift
[61/134] Compiling SystemPackage FilePathTempPosix.swift
[62/134] Compiling SystemPackage FilePathTempWindows.swift
[63/162] Compiling Logging LogHandler.swift
[64/183] Emitting module Logging
[65/183] Compiling Logging Locks.swift
[66/200] Compiling SwiftSyntax CommonAncestor.swift
[67/200] Compiling SwiftSyntax Convenience.swift
[68/200] Compiling SwiftSyntax CustomTraits.swift
[69/200] Compiling SwiftSyntax EditorPlaceholder.swift
[70/200] Compiling SwiftSyntax Identifier.swift
[71/200] Emitting module SystemPackage
[72/200] Compiling SwiftSyntax AbsolutePosition.swift
[73/200] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[74/200] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[75/200] Compiling SwiftSyntax Assert.swift
[76/200] Compiling SwiftSyntax BumpPtrAllocator.swift
[77/200] Compiling Logging MetadataProvider.swift
[78/200] Compiling SwiftSyntax SyntaxIdentifier.swift
[79/200] Compiling SwiftSyntax SyntaxNodeStructure.swift
[80/200] Compiling SwiftSyntax SyntaxProtocol.swift
[81/200] Compiling SwiftSyntax SyntaxText.swift
[82/200] Compiling SwiftSyntax SourceLength.swift
[83/200] Compiling SwiftSyntax SourceLocation.swift
[84/200] Compiling SwiftSyntax SourcePresence.swift
[85/200] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[86/200] Compiling SwiftSyntax Syntax.swift
[87/200] Compiling SwiftSyntax SyntaxChildren.swift
[88/200] Compiling SwiftSyntax SyntaxCollection.swift
[89/200] Compiling SwiftSyntax SyntaxHashable.swift
[96/200] Compiling SwiftSyntax MemoryLayout.swift
[97/200] Compiling SwiftSyntax MissingNodeInitializers.swift
[98/203] Compiling Logging Logging.swift
[99/204] Emitting module JSONSchema
[105/204] Compiling SwiftSyntax RawSyntaxTokenView.swift
[106/204] Compiling SwiftSyntax SourceEdit.swift
[117/204] Compiling SwiftSyntax RawSyntax.swift
[118/204] Compiling SwiftSyntax RawSyntaxArena.swift
[119/204] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[120/204] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[121/204] Compiling JSONSchema resource_bundle_accessor.swift
[122/204] Compiling SwiftSyntax TokenDiagnostic.swift
[123/204] Compiling SwiftSyntax TokenSequence.swift
[124/204] Compiling SwiftSyntax TokenSyntax.swift
[126/224] Compiling JSONSchema ValidationLocation.swift
[127/224] Compiling JSONSchema ValidationResult.swift
[130/225] Compiling MCP InMemoryTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[131/225] Compiling MCP NetworkTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[132/225] Compiling MCP StdioTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[133/227] Compiling MCP Prompts.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[134/227] Compiling MCP Resources.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[135/227] Compiling MCP Error.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[136/227] Compiling MCP ID.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[137/227] Compiling MCP Lifecycle.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[138/227] Compiling MCP Messages.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[139/227] Compiling MCP Transport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[140/227] Compiling MCP HTTPClientTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[141/227] Compiling MCP Server.swift
[142/227] Compiling MCP Tools.swift
[159/235] Compiling MCP UnitInterval.swift
[160/235] Compiling MCP Ping.swift
[161/235] Compiling MCP Value.swift
[162/235] Compiling MCP Versioning.swift
[163/235] Compiling MCP Client.swift
[164/235] Compiling MCP Sampling.swift
[165/235] Compiling MCP Data+Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[168/235] Emitting module MCP
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[185/235] Compiling SwiftSyntax Trivia.swift
[186/235] Compiling SwiftSyntax Utils.swift
BUILD FAILURE 6.2 wasm