Build Information
Failed to build swift-mcp-toolkit, reference main (4f11ff), with Swift 6.2 for Wasm on 17 Jan 2026 02:45:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/ajevans99/swift-mcp-toolkit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4f11fff Merge pull request #6 from ajevans99/dependabot/github_actions/actions/checkout-6
Cloned https://github.com/ajevans99/swift-mcp-toolkit.git
Revision (git rev-parse @):
4f11fff16c890efc5264177e0b2e184e300f5ac5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-mcp-toolkit.git at main
========================================
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-3":/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:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
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/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/ajevans99/swift-json-schema.git
[1/5666] Fetching swift-json-schema
[1871/8254] Fetching swift-json-schema, swift-sdk
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (0.78s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.81s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (1.74s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/199] Fetching eventsource
[200/5615] Fetching eventsource, swift-system
[255/11421] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/mattt/eventsource.git from cache (0.45s)
[953/11222] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (0.93s)
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (1.58s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.11.1 (1.23s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/73712] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.77s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (16.01s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.0 (0.77s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.90s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.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/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.3.0
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.11.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.91s)
Building for debugging...
[0/20] Write sources
[0/20] Copying validation.json
[0/20] Copying unevaluated.json
[0/20] Copying schema.json
[0/20] Copying meta-data.json
[0/20] Copying format-annotation.json
[0/20] Copying core.json
[0/20] Copying content.json
[0/20] Copying applicator.json
[0/20] Write sources
[15/20] Compiling CSystem shims.c
[15/20] Write swift-version-24593BA9C3E375BF.txt
[18/101] Emitting module Logging
[19/101] Emitting module JSONSchema
[20/105] Compiling SystemPackage Constants.swift
[21/105] Compiling SystemPackage Exports.swift
[22/105] Compiling SystemPackage Mocking.swift
[23/105] Compiling SystemPackage RawBuffer.swift
[24/105] Compiling Logging LogHandler.swift
[25/105] Compiling Logging Locks.swift
[26/105] Compiling JSONSchemaMacro SchemableMember.swift
[27/105] Compiling JSONSchemaMacro SupportedPrimitive.swift
[28/105] Compiling SystemPackage FilePathTempPosix.swift
[29/105] Compiling SystemPackage FilePathTempWindows.swift
[30/109] Emitting module SystemPackage
[31/109] Compiling JSONSchemaMacro ExcludeFromSchemaMacro.swift
[32/109] Compiling JSONSchemaMacro JSONSchemaMacroPlugin.swift
[33/109] Compiling JSONSchemaMacro SchemaOptions.swift
[34/109] Compiling JSONSchemaMacro CompositionKeyword.swift
[35/109] Compiling JSONSchemaMacro SchemaOptionsDiagnostics.swift
[36/109] Compiling JSONSchemaMacro SchemaOptionsGenerator.swift
[37/109] Compiling JSONSchemaMacro SchemableEnumCase.swift
[38/109] Compiling JSONSchemaMacro SchemableMacro.swift
[39/109] Compiling JSONSchemaMacro InitializerDiagnostics.swift
[40/109] Compiling JSONSchemaMacro SchemaGenerator.swift
[41/109] Compiling Logging MetadataProvider.swift
[46/109] Compiling SystemPackage IORing.swift
[47/109] Compiling SystemPackage RawIORequest.swift
[48/109] Compiling SystemPackage Backcompat.swift
[49/109] Compiling SystemPackage CInterop.swift
[50/109] Compiling SystemPackage FilePathWindows.swift
[51/109] Compiling SystemPackage FilePermissions.swift
[52/109] Compiling SystemPackage IOCompletion.swift
[53/109] Compiling SystemPackage IORequest.swift
[54/109] Compiling SystemPackage Syscalls.swift
[55/109] Compiling SystemPackage WindowsSyscallAdapters.swift
[56/109] Compiling SystemPackage MachPort.swift
[57/109] Compiling SystemPackage PlatformString.swift
[70/109] Compiling SystemPackage SystemString.swift
[71/109] Compiling SystemPackage Util+StringArray.swift
[72/109] Compiling SystemPackage Util.swift
[73/109] Compiling SystemPackage UtilConsumers.swift
[89/110] Compiling Logging Logging.swift
[96/131] Emitting module JSONSchemaMacro
[97/132] Compiling MCP Lifecycle.swift
[98/132] Compiling MCP Messages.swift
[99/132] Compiling MCP Error.swift
[100/132] Compiling MCP ID.swift
[101/132] Compiling MCP Transport.swift
[102/132] Compiling MCP HTTPClientTransport.swift
[103/132] Compiling JSONSchemaMacro TypeSpecificOptionMacros.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/132] 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 |
[105/134] Compiling MCP Versioning.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 |
[106/134] Compiling MCP Client.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 |
[107/134] 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 |
[108/134] 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 |
[109/134] 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 |
[110/134] Compiling MCP UnitInterval.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 |
[111/134] Compiling MCP Ping.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 |
[112/134] Compiling MCP Value.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 |
/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 |
[119/134] 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 |
[120/134] 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 |
[125/134] Compiling JSONSchemaMacro SwiftSyntaxExtensions.swift
[129/135] Compiling MCP Server.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 |
[130/135] Compiling MCP Tools.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 |
[130/135] Wrapping AST for JSONSchemaMacro for debugging
[131/135] Write Objects.LinkFileList
[132/135] Linking JSONSchemaMacro-tool
[134/197] Compiling JSONSchemaBuilder JSONNumber.swift
[135/197] Compiling JSONSchemaBuilder JSONObject.swift
[136/197] Compiling JSONSchemaBuilder JSONString.swift
[137/197] Compiling JSONSchemaBuilder JSONProperty.swift
[138/197] Compiling JSONSchemaBuilder JSONPropertyComponent.swift
[139/197] Compiling JSONSchemaBuilder JSONPropertyComponents.swift
[140/197] Compiling JSONSchemaBuilder PropertyArray.swift
[141/197] Compiling JSONSchemaBuilder PropertyCompactMap.swift
[142/197] Compiling JSONSchemaBuilder PropertyConditional.swift
[143/205] Compiling JSONSchemaBuilder JSONValueRepresentable.swift
[144/205] Compiling JSONSchemaBuilder JSONArrayValue.swift
[145/205] Compiling JSONSchemaBuilder JSONBooleanValue.swift
[146/205] Compiling JSONSchemaBuilder JSONIntegerValue.swift
[147/205] Compiling JSONSchemaBuilder JSONNullValue.swift
[148/205] Compiling JSONSchemaBuilder JSONNumberValue.swift
[149/205] Compiling JSONSchemaBuilder JSONObjectValue.swift
[150/205] Compiling JSONSchemaBuilder JSONStringValue.swift
[151/205] Compiling JSONSchemaBuilder StringOptions.swift
[152/205] Compiling JSONSchemaBuilder Schemable.swift
[153/205] Compiling JSONSchemaBuilder ParseIssue.swift
[154/205] Compiling JSONSchemaBuilder Parsed.swift
[155/205] Compiling JSONSchemaBuilder KeyEncodingStrategy.swift
[156/205] Compiling JSONSchemaBuilder SchemaAnchorName.swift
[157/205] Compiling JSONSchemaBuilder SchemaReferenceURI.swift
[158/205] Compiling JSONSchemaBuilder JSONPropertyValue.swift
[159/205] Compiling JSONSchemaBuilder CompactMap.swift
[160/205] Compiling JSONSchemaBuilder Conditional.swift
[161/205] Compiling JSONSchemaBuilder Constant.swift
[162/205] Compiling JSONSchemaBuilder Enum.swift
[163/205] Compiling JSONSchemaBuilder FlatMap.swift
[164/205] Compiling JSONSchemaBuilder JSONComponents.swift
[165/205] Compiling JSONSchemaBuilder Map.swift
[166/205] Compiling JSONSchemaBuilder MergedComponent.swift
[167/205] Compiling JSONSchemaBuilder OptionalComponent.swift
[168/205] Compiling JSONSchemaBuilder JSONReference.swift
[169/205] Compiling JSONSchemaBuilder JSONSchema.swift
[170/205] Compiling JSONSchemaBuilder JSONSchemaComponent+Annotations.swift
[171/205] Compiling JSONSchemaBuilder JSONSchemaComponent+Conditionals.swift
[172/205] Compiling JSONSchemaBuilder JSONSchemaComponent+Content.swift
[173/205] Compiling JSONSchemaBuilder JSONSchemaComponent+Identifiers.swift
[174/205] Compiling JSONSchemaBuilder JSONSchemaComponent.swift
[175/205] Compiling JSONSchemaBuilder AdditionalProperties.swift
[176/205] Compiling JSONSchemaBuilder AnySchemaComponent.swift
[177/205] Compiling JSONSchemaBuilder OrNullModifier.swift
[178/205] Compiling JSONSchemaBuilder PassthroughComponent.swift
[179/205] Compiling JSONSchemaBuilder PatternProperties.swift
[180/205] Compiling JSONSchemaBuilder PropertyNames.swift
[181/205] Compiling JSONSchemaBuilder RuntimeComponent.swift
[182/205] Compiling JSONSchemaBuilder SchemaValue.swift
[183/205] Compiling JSONSchemaBuilder JSONArray.swift
[184/205] Compiling JSONSchemaBuilder JSONBoolean.swift
[185/205] Compiling JSONSchemaBuilder JSONNull.swift
[186/205] Compiling JSONSchemaBuilder PropertyFlatMap.swift
[187/205] Compiling JSONSchemaBuilder PropertyOptionalComponent.swift
[188/205] Compiling JSONSchemaBuilder JSONValue+Schema.swift
[189/205] Compiling JSONSchemaBuilder ExcludeFromSchema.swift
[190/205] Compiling JSONSchemaBuilder SchemaOptions.swift
[191/205] Compiling JSONSchemaBuilder ArrayOptions.swift
[192/205] Compiling JSONSchemaBuilder NumberOptions.swift
[193/205] Compiling JSONSchemaBuilder ObjectOptions.swift
[194/205] Compiling JSONSchemaBuilder JSONPropertyBuilder.swift
[195/205] Compiling JSONSchemaBuilder JSONPropertySchemaBuilder.swift
[196/205] Compiling JSONSchemaBuilder JSONSchemaBuilder.swift
[197/205] Compiling JSONSchemaBuilder JSONValueBuilder.swift
[198/205] Compiling JSONSchemaBuilder ConditionalSchema.swift
[199/205] Compiling JSONSchemaBuilder JSONAnyValue.swift
[200/205] Compiling JSONSchemaBuilder JSONBooleanSchema.swift
[201/205] Compiling JSONSchemaBuilder JSONComposition.swift
[202/205] Compiling JSONSchemaBuilder JSONDynamicReference.swift
[203/205] Emitting module JSONSchemaBuilder
/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 |
BUILD FAILURE 6.2 wasm