Build Information
Failed to build mcp-template, reference main (2d43cd), with Swift 6.2 for Android on 1 Nov 2025 22:00:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamwulf/mcp-template.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/adamwulf/mcp-template
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2d43cde Merge branch 'feature/passthrough-tools'
Cloned https://github.com/adamwulf/mcp-template.git
Revision (git rev-parse @):
2d43cdef886a329fbba994ff507b495fd7773670
SUCCESS checkout https://github.com/adamwulf/mcp-template.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/adamwulf/mcp-template.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/2274] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.32s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/199] Fetching eventsource
[200/5325] Fetching eventsource, swift-system
[611/9480] Fetching eventsource, swift-system, swift-log
[4733/26165] Fetching eventsource, swift-system, swift-log, swift-argument-parser
Fetched https://github.com/mattt/eventsource.git from cache (0.47s)
[15955/25966] Fetching swift-system, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
[7008/16685] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.77s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (1.11s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.33s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.48s)
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.4
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at main (c0407a0)
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.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[10/21] Compiling CSystem shims.c
[11/21] Write swift-version--11D90AFD9DD3AB2.txt
[13/59] Compiling SystemPackage FilePath.swift
[14/59] Compiling SystemPackage FilePathComponentView.swift
[15/59] Compiling SystemPackage FilePathComponents.swift
[16/59] Compiling SystemPackage FilePathParsing.swift
[17/59] Compiling SystemPackage FilePathString.swift
[18/63] Compiling SystemPackage Errno.swift
[19/63] Compiling SystemPackage ErrnoWindows.swift
[20/63] Compiling SystemPackage FileDescriptor.swift
[21/63] Compiling SystemPackage FileHelpers.swift
[22/63] Compiling SystemPackage FileOperations.swift
[23/63] Emitting module SystemPackage
[24/63] Compiling SystemPackage IORing.swift
[25/63] Compiling SystemPackage RawIORequest.swift
[26/63] Compiling SystemPackage Backcompat.swift
[27/63] Compiling SystemPackage CInterop.swift
[28/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/63] Emitting module ArgumentParserToolInfo
[30/64] Wrapping AST for ArgumentParserToolInfo for debugging
[32/108] Compiling ArgumentParser UsageGenerator.swift
[33/108] Compiling ArgumentParser CollectionExtensions.swift
[34/108] Compiling ArgumentParser Mutex.swift
[35/108] Compiling ArgumentParser Platform.swift
[36/108] Compiling Logging MetadataProvider.swift
[37/108] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/108] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/108] Compiling ArgumentParser Argument.swift
[40/108] Compiling ArgumentParser ArgumentDiscussion.swift
[41/108] Compiling ArgumentParser ArgumentDefinition.swift
[42/108] Compiling ArgumentParser ArgumentSet.swift
[43/108] Compiling ArgumentParser CommandParser.swift
[44/108] Compiling ArgumentParser SplitArguments.swift
[45/108] Compiling ArgumentParser ArgumentHelp.swift
[46/108] Compiling ArgumentParser ParsableArguments.swift
[47/108] Compiling ArgumentParser ParsableCommand.swift
[48/108] Compiling ArgumentParser ArgumentDecoder.swift
[49/108] Compiling ArgumentParser DumpHelpGenerator.swift
[50/108] Compiling ArgumentParser HelpCommand.swift
[51/108] Compiling ArgumentParser HelpGenerator.swift
[52/108] Compiling ArgumentParser MessageInfo.swift
[54/109] Emitting module Logging
[55/109] Compiling Logging Logging.swift
[56/109] Compiling Logging LogHandler.swift
[57/109] Compiling Logging Locks.swift
[57/109] Wrapping AST for SystemPackage for debugging
[59/110] Wrapping AST for Logging for debugging
[61/129] Compiling MCP Error.swift
[62/129] Compiling MCP ID.swift
[63/129] Compiling MCP Lifecycle.swift
[64/129] Compiling MCP Messages.swift
[65/129] Compiling MCP Transport.swift
[66/129] Compiling MCP HTTPClientTransport.swift
[67/135] Compiling ArgumentParser Tree.swift
[68/135] Compiling ArgumentParser CodingKeyValidator.swift
[69/135] Compiling ArgumentParser NonsenseFlagsValidator.swift
[70/135] Compiling ArgumentParser ParsableArgumentsValidation.swift
[71/135] Compiling ArgumentParser PositionalArgumentsValidator.swift
[72/135] Compiling ArgumentParser UniqueNamesValidator.swift
[73/135] Compiling MCP Versioning.swift
[74/135] Compiling MCP Client.swift
[75/135] Compiling MCP Sampling.swift
[76/135] Compiling MCP Data+Extensions.swift
[77/135] Compiling MCP Prompts.swift
[78/135] Compiling MCP Resources.swift
[80/135] Compiling MCP InMemoryTransport.swift
[81/135] Compiling MCP NetworkTransport.swift
[82/135] Compiling MCP StdioTransport.swift
[83/135] Compiling MCP UnitInterval.swift
[84/135] Compiling MCP Ping.swift
[85/135] Compiling MCP Value.swift
[86/135] Emitting module ArgumentParser
[90/135] Compiling ArgumentParser SequenceExtensions.swift
[91/135] Compiling ArgumentParser StringExtensions.swift
[92/135] Compiling ArgumentParser SwiftExtensions.swift
[93/135] Compiling ArgumentParser InputKey.swift
[94/135] Compiling ArgumentParser InputOrigin.swift
[95/135] Compiling ArgumentParser Name.swift
[96/135] Compiling ArgumentParser Parsed.swift
[97/135] Compiling ArgumentParser ParsedValues.swift
[98/135] Compiling ArgumentParser ParserError.swift
[111/136] Wrapping AST for ArgumentParser for debugging
/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 |
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/138] 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 |
/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 |
[128/138] 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 |
[129/138] 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 |
/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 |
BUILD FAILURE 6.2 android