Build Information
Successful build of mcp-swift-sdk, reference main (e76d61), with Swift 6.4 for Linux on 22 Sep 2026 20:08:25 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/ShenghaiWang/swift-mcp-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git (0.46s)
[1/6916] Fetching swift-system
[6848/15064] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system.git (0.77s)
Fetched https://github.com/apple/swift-log.git (0.77s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[44 / 76] SystemPackage
[57 / 76] SystemPackage
[58 / 76] SystemPackage-product
[59 / 76] SystemPackage-product
[64 / 76] Logging-product
[67 / 86] MCP
[69 / 87] MCP
[70 / 87] MCP
[71 / 87] MCP
[73 / 87] MCP
[74 / 87] MCP
[80 / 87] MCP
[82 / 87] MCP
/host/spi-builder-workspace/Sources/MCP/Server/Server.swift:267:44: [1;33mwarning: [1;39mcapture of non-Sendable type 'M.Type' in an isolated closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m265 |[0;0m ) -> Self {
[0;36m266 |[0;0m methodHandlers[M.name] = TypedRequestHandler { (request: Request<M>) -> Response<M> in
[0;36m267 |[0;0m let result = try await handler(request.params)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'M.Type' in an isolated closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m268 |[0;0m return Response(id: request.id, result: result)
[0;36m269 |[0;0m }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[82 / 87] SystemPackage
[85 / 88] MCP
Build complete! (8.26 secs)
Build complete.
{
"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"
},
{
"identity" : "eventsource",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattt/eventsource.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",
"EventSource"
],
"sources" : [
"Base64DataTests.swift",
"ClientTests.swift",
"HTTPClientTransportTests.swift",
"Helpers/MockTransport.swift",
"IDTests.swift",
"InMemoryTransportTests.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",
"EventSource"
],
"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/InMemoryTransport.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",
"Client/Sampling.swift",
"Extensions/Data+Extensions.swift",
"Server/Prompts.swift",
"Server/Resources.swift",
"Server/Server.swift",
"Server/Tools.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.