The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mcp-swift-sdk, reference main (e76d61), with Swift 6.3 for Wasm on 16 Apr 2026 17:58:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/swift-mcp-sdk.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/ShenghaiWang/swift-mcp-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e76d611 Bump version to 0.10.0
Cloned https://github.com/ShenghaiWang/swift-mcp-sdk.git
Revision (git rev-parse @):
e76d61155bf00482ea8f2ff78fca08a4eece410e
SUCCESS checkout https://github.com/ShenghaiWang/swift-mcp-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ShenghaiWang/swift-mcp-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
[282/12206] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (0.91s)
Fetching https://github.com/mattt/eventsource.git
Fetched https://github.com/apple/swift-log.git from cache (1.04s)
[1/271] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.37s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (2.31s)
Fetching https://github.com/apple/swift-nio.git
[1/83162] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (10.89s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.83s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.14s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/23551] Fetching swift-collections
[708/25371] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (2.52s)
Fetched https://github.com/apple/swift-collections.git from cache (2.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.29s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.16s)
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
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.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.12.0
Building for debugging...
[0/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/42] Emitting module SystemPackage
[7/46] Compiling Logging LogHandler.swift
[8/46] Compiling SystemPackage SystemString.swift
[9/46] Compiling SystemPackage Util+StringArray.swift
[10/46] Compiling SystemPackage Util.swift
[11/46] Compiling SystemPackage UtilConsumers.swift
[12/46] Compiling SystemPackage Errno.swift
[13/46] Compiling SystemPackage ErrnoWindows.swift
[14/46] Compiling SystemPackage FileDescriptor.swift
[15/46] Compiling SystemPackage FileHelpers.swift
[16/46] Compiling SystemPackage FileOperations.swift
[17/46] Compiling SystemPackage FilePath.swift
[18/46] Compiling SystemPackage FilePathComponentView.swift
[19/46] Compiling SystemPackage FilePathComponents.swift
[20/46] Compiling SystemPackage FilePathParsing.swift
[21/46] Compiling SystemPackage FilePathString.swift
[22/46] Emitting module Logging
[23/46] Compiling Logging LogEvent.swift
[24/46] Compiling Logging Locks.swift
[25/46] Compiling SystemPackage Syscalls.swift
[26/46] Compiling SystemPackage WindowsSyscallAdapters.swift
[27/46] Compiling SystemPackage MachPort.swift
[28/46] Compiling SystemPackage PlatformString.swift
[29/46] Compiling SystemPackage Constants.swift
[30/46] Compiling SystemPackage Exports.swift
[31/46] Compiling SystemPackage Mocking.swift
[32/46] Compiling SystemPackage RawBuffer.swift
[33/46] Compiling SystemPackage FilePathSyntax.swift
[34/46] Compiling SystemPackage FilePathTemp.swift
[35/46] Compiling SystemPackage FilePathTempPosix.swift
[36/46] Compiling SystemPackage FilePathTempWindows.swift
[37/46] Compiling SystemPackage FilePathWindows.swift
[38/46] Compiling SystemPackage FilePermissions.swift
[39/46] Compiling SystemPackage IOCompletion.swift
[40/46] Compiling SystemPackage IORequest.swift
[41/46] Compiling Logging MetadataProvider.swift
[42/46] Compiling SystemPackage IORing.swift
[43/46] Compiling SystemPackage RawIORequest.swift
[44/46] Compiling SystemPackage Backcompat.swift
[45/46] Compiling SystemPackage CInterop.swift
[47/47] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/67] Emitting module MCP
/host/spi-builder-workspace/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 |
[50/69] Compiling MCP Error.swift
/host/spi-builder-workspace/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 |
[51/69] Compiling MCP ID.swift
/host/spi-builder-workspace/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 |
[52/69] Compiling MCP Lifecycle.swift
/host/spi-builder-workspace/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 |
[53/69] Compiling MCP Versioning.swift
/host/spi-builder-workspace/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 |
[54/69] Compiling MCP Client.swift
/host/spi-builder-workspace/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 |
[55/69] Compiling MCP Messages.swift
/host/spi-builder-workspace/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 |
[56/69] Compiling MCP Transport.swift
/host/spi-builder-workspace/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 |
[57/69] Compiling MCP HTTPClientTransport.swift
/host/spi-builder-workspace/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 |
[58/69] Compiling MCP InMemoryTransport.swift
/host/spi-builder-workspace/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 |
[59/69] Compiling MCP NetworkTransport.swift
/host/spi-builder-workspace/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 |
[60/69] Compiling MCP StdioTransport.swift
/host/spi-builder-workspace/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 |
[61/69] Compiling MCP Server.swift
/host/spi-builder-workspace/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 |
[62/69] Compiling MCP Tools.swift
/host/spi-builder-workspace/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 |
[63/69] Compiling MCP Sampling.swift
/host/spi-builder-workspace/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 |
[64/69] Compiling MCP Data+Extensions.swift
/host/spi-builder-workspace/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 |
[65/69] Compiling MCP Prompts.swift
/host/spi-builder-workspace/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 |
[66/69] Compiling MCP Resources.swift
/host/spi-builder-workspace/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 |
[67/69] Compiling MCP UnitInterval.swift
/host/spi-builder-workspace/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 |
[68/69] Compiling MCP Ping.swift
/host/spi-builder-workspace/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 |
[69/69] Compiling MCP Value.swift
/host/spi-builder-workspace/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.3 wasm