Build Information
Failed to build mcp-swift-sdk, reference 0.9.0 (974293
), with Swift 6.2 (beta) for Android on 24 Jun 2025 05:49:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modelcontextprotocol/swift-sdk.git
Reference: 0.9.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/modelcontextprotocol/swift-sdk
* tag 0.9.0 -> FETCH_HEAD
HEAD is now at 9742933 Bump version to 0.9.0
Cloned https://github.com/modelcontextprotocol/swift-sdk.git
Revision (git rev-parse @):
9742933d2ff250212a04aed39b123bcc63a21e9c
SUCCESS checkout https://github.com/modelcontextprotocol/swift-sdk.git at 0.9.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/3836] Fetching swift-log
[3837/8272] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.96s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.35s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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.6.3
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/5] Compiling CSystem shims.c
[6/38] Emitting module SystemPackage
[7/41] Compiling SystemPackage FilePathTempPosix.swift
[8/41] Compiling SystemPackage FilePathTempWindows.swift
[9/41] Compiling SystemPackage FilePathWindows.swift
[10/41] Compiling SystemPackage FilePermissions.swift
[11/41] Compiling SystemPackage Util+StringArray.swift
[12/41] Compiling SystemPackage Util.swift
[13/41] Compiling SystemPackage UtilConsumers.swift
[14/41] Compiling Logging LogHandler.swift
[15/41] Compiling SystemPackage FilePathParsing.swift
[16/41] Compiling SystemPackage FilePathString.swift
[17/41] Compiling SystemPackage FilePathSyntax.swift
[18/41] Compiling SystemPackage FilePathTemp.swift
[19/41] Compiling SystemPackage MachPort.swift
[20/41] Compiling SystemPackage PlatformString.swift
[21/41] Compiling SystemPackage SystemString.swift
[22/41] Compiling SystemPackage Errno.swift
[23/41] Compiling SystemPackage ErrnoWindows.swift
[24/41] Compiling SystemPackage FileDescriptor.swift
[25/41] Compiling SystemPackage FileHelpers.swift
[26/41] Compiling SystemPackage FileOperations.swift
[27/41] Compiling SystemPackage FilePath.swift
[28/41] Compiling SystemPackage FilePathComponentView.swift
[29/41] Compiling SystemPackage FilePathComponents.swift
[30/41] Compiling Logging Locks.swift
[31/41] Emitting module Logging
[32/41] Compiling Logging MetadataProvider.swift
[33/41] Compiling SystemPackage Backcompat.swift
[34/41] Compiling SystemPackage CInterop.swift
[35/41] Compiling SystemPackage Constants.swift
[36/41] Compiling SystemPackage Exports.swift
[37/41] Compiling SystemPackage Mocking.swift
[38/41] Compiling SystemPackage RawBuffer.swift
[39/41] Compiling SystemPackage Syscalls.swift
[40/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[42/42] Compiling Logging Logging.swift
[44/61] 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 |
[45/61] 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 |
[46/61] 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 |
[47/63] 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 |
[48/63] 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 |
[49/63] 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 |
[50/63] 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 |
[51/63] 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 |
[52/63] 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 |
[53/63] 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 |
[54/63] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/63] 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 |
[56/63] 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 |
[57/63] 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 |
[58/63] 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 |
[59/63] 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 |
[60/63] 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 |
[61/63] 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 |
[62/63] 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 |
[63/63] 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 |
BUILD FAILURE 6.2 android