Build Information
Failed to build mcp-swift-sdk, reference 0.9.0 (974293
), with Swift 6.1 for Android on 31 May 2025 07:39:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
https://github.com/modelcontextprotocol/swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "mcp-swift-sdk",
"name" : "mcp-swift-sdk",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "MCP",
"targets" : [
"MCP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MCPTests",
"module_type" : "SwiftTarget",
"name" : "MCPTests",
"path" : "Tests/MCPTests",
"product_dependencies" : [
"SystemPackage",
"Logging"
],
"sources" : [
"Base64DataTests.swift",
"ClientTests.swift",
"HTTPClientTransportTests.swift",
"Helpers/MockTransport.swift",
"IDTests.swift",
"NetworkTransportTests.swift",
"NotificationTests.swift",
"PromptTests.swift",
"RequestTests.swift",
"ResourceTests.swift",
"ResponseTests.swift",
"RoundtripTests.swift",
"SamplingTests.swift",
"ServerTests.swift",
"StdioTransportTests.swift",
"ToolTests.swift",
"UnitIntervalTests.swift",
"VersioningTests.swift"
],
"target_dependencies" : [
"MCP"
],
"type" : "test"
},
{
"c99name" : "MCP",
"module_type" : "SwiftTarget",
"name" : "MCP",
"path" : "Sources/MCP",
"product_dependencies" : [
"SystemPackage",
"Logging"
],
"product_memberships" : [
"MCP"
],
"sources" : [
"Base/Error.swift",
"Base/ID.swift",
"Base/Lifecycle.swift",
"Base/Messages.swift",
"Base/Transport.swift",
"Base/Transports/HTTPClientTransport.swift",
"Base/Transports/NetworkTransport.swift",
"Base/Transports/StdioTransport.swift",
"Base/UnitInterval.swift",
"Base/Utilities/Ping.swift",
"Base/Value.swift",
"Base/Versioning.swift",
"Client/Client.swift",
"Extensions/Data+Extensions.swift",
"Server/Prompts.swift",
"Server/Resources.swift",
"Server/Sampling.swift",
"Server/Server.swift",
"Server/Tools.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/3836] Fetching swift-log
[308/8227] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.70s)
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] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/38] Emitting module SystemPackage
[7/41] Compiling SystemPackage Util+StringArray.swift
[8/41] Compiling SystemPackage Util.swift
[9/41] Compiling SystemPackage UtilConsumers.swift
[10/41] Compiling SystemPackage FilePathTempPosix.swift
[11/41] Compiling SystemPackage FilePathTempWindows.swift
[12/41] Compiling SystemPackage FilePathWindows.swift
[13/41] Compiling SystemPackage FilePermissions.swift
[14/41] Compiling SystemPackage FilePathParsing.swift
[15/41] Compiling SystemPackage FilePathString.swift
[16/41] Compiling SystemPackage FilePathSyntax.swift
[17/41] Compiling SystemPackage FilePathTemp.swift
[18/41] Compiling SystemPackage MachPort.swift
[19/41] Compiling SystemPackage PlatformString.swift
[20/41] Compiling SystemPackage SystemString.swift
[21/41] Compiling SystemPackage FileOperations.swift
[22/41] Compiling SystemPackage FilePath.swift
[23/41] Compiling SystemPackage FilePathComponentView.swift
[24/41] Compiling SystemPackage FilePathComponents.swift
[25/41] Compiling SystemPackage Errno.swift
[26/41] Compiling SystemPackage ErrnoWindows.swift
[27/41] Compiling SystemPackage FileDescriptor.swift
[28/41] Compiling SystemPackage FileHelpers.swift
[29/41] Compiling Logging MetadataProvider.swift
[30/41] Compiling SystemPackage Backcompat.swift
[31/41] Compiling SystemPackage CInterop.swift
[32/41] Compiling SystemPackage Constants.swift
[33/41] Compiling SystemPackage Exports.swift
[34/41] Compiling SystemPackage Mocking.swift
[35/41] Compiling SystemPackage RawBuffer.swift
[36/41] Compiling SystemPackage Syscalls.swift
[37/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[38/42] Compiling Logging LogHandler.swift
[39/42] Compiling Logging Locks.swift
[40/42] Emitting module Logging
[41/42] Compiling Logging Logging.swift
[44/61] 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 |
[45/61] 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 |
[46/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 |
[47/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 |
[48/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 |
[49/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/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 |
[51/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 |
[52/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 |
[53/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 |
[54/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 |
[55/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 |
[56/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 |
[57/63] 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 |
[58/63] 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 |
[59/63] 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 |
[60/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 |
[61/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 |
[62/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 |
[63/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/34] Emitting module Logging
[3/34] Emitting module SystemPackage
[4/37] Compiling SystemPackage FilePathTempPosix.swift
[5/37] Compiling SystemPackage FilePathTempWindows.swift
[6/37] Compiling SystemPackage FilePathWindows.swift
[7/37] Compiling SystemPackage FilePermissions.swift
[8/37] Compiling Logging MetadataProvider.swift
[9/37] Compiling Logging Locks.swift
[10/37] Compiling Logging Logging.swift
[11/37] Compiling Logging LogHandler.swift
[12/38] Compiling SystemPackage Mocking.swift
[13/38] Compiling SystemPackage RawBuffer.swift
[14/38] Compiling SystemPackage Syscalls.swift
[15/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[16/38] Compiling SystemPackage MachPort.swift
[17/38] Compiling SystemPackage PlatformString.swift
[18/38] Compiling SystemPackage SystemString.swift
[19/38] Compiling SystemPackage Backcompat.swift
[20/38] Compiling SystemPackage CInterop.swift
[21/38] Compiling SystemPackage Constants.swift
[22/38] Compiling SystemPackage Exports.swift
[24/38] Compiling SystemPackage FileOperations.swift
[25/38] Compiling SystemPackage FilePath.swift
[26/38] Compiling SystemPackage FilePathComponentView.swift
[27/38] Compiling SystemPackage FilePathComponents.swift
[28/38] Compiling SystemPackage Errno.swift
[29/38] Compiling SystemPackage ErrnoWindows.swift
[30/38] Compiling SystemPackage FileDescriptor.swift
[31/38] Compiling SystemPackage FileHelpers.swift
[32/38] Compiling SystemPackage FilePathParsing.swift
[33/38] Compiling SystemPackage FilePathString.swift
[34/38] Compiling SystemPackage FilePathSyntax.swift
[35/38] Compiling SystemPackage FilePathTemp.swift
[36/38] Compiling SystemPackage Util+StringArray.swift
[37/38] Compiling SystemPackage Util.swift
[38/38] Compiling SystemPackage UtilConsumers.swift
[40/57] 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 |
[41/57] 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 |
[42/59] 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 |
[43/59] 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 |
[44/59] 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 |
[45/59] 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 |
[46/59] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/59] 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 |
[48/59] 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 |
[49/59] 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 |
[50/59] 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 |
[51/59] 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 |
[52/59] 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 |
[53/59] 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 |
[54/59] 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 |
[55/59] 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 |
[56/59] 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 |
[57/59] 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 |
[58/59] 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 |
[59/59] 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 |
BUILD FAILURE 6.1 android