Build Information
Failed to build swift-mcp-toolkit, reference v0.2.0 (f9a664), with Swift 6.1 for Android on 10 Oct 2025 01:55:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-mcp-toolkit.git
Reference: v0.2.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/ajevans99/swift-mcp-toolkit
* tag v0.2.0 -> FETCH_HEAD
HEAD is now at f9a6642 Merge pull request #1 from ajevans99/codex/create-localization-plan-document
Cloned https://github.com/ajevans99/swift-mcp-toolkit.git
Revision (git rev-parse @):
f9a6642bc14272407137c1a591c5ef9aa3c6f805
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-mcp-toolkit.git at v0.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ajevans99/swift-mcp-toolkit.git
https://github.com/ajevans99/swift-mcp-toolkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-json-schema",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ajevans99/swift-json-schema.git"
},
{
"identity" : "swift-sdk",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/modelcontextprotocol/swift-sdk.git"
}
],
"manifest_display_name" : "swift-mcp-toolkit",
"name" : "swift-mcp-toolkit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "MCPToolkit",
"targets" : [
"MCPToolkit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MCPToolkitTests",
"module_type" : "SwiftTarget",
"name" : "MCPToolkitTests",
"path" : "Tests/MCPToolkitTests",
"sources" : [
"Helpers/TestTransport.swift",
"IntegrationTests.swift",
"ResponseMessagingTests.swift",
"SchemaBuilderToolTests.swift",
"SchemableToolTests.swift"
],
"target_dependencies" : [
"MCPToolkit"
],
"type" : "test"
},
{
"c99name" : "MCPToolkit",
"module_type" : "SwiftTarget",
"name" : "MCPToolkit",
"path" : "Sources/MCPToolkit",
"product_dependencies" : [
"JSONSchema",
"JSONSchemaBuilder",
"MCP"
],
"product_memberships" : [
"MCPToolkit"
],
"sources" : [
"Exports.swift",
"Extensions/JSONSchema+MCP.swift",
"Extensions/MCP+JSONSchema.swift",
"Extensions/MCPTool+MCP.swift",
"Extensions/Server+register.swift",
"MCPTool.swift",
"ResponseMessaging.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ajevans99/swift-json-schema.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/4578] Fetching swift-json-schema
[4396/6671] Fetching swift-json-schema, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.36s)
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (0.36s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.9.1 (1.01s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72446] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.51s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (6.11s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
[1/114] Fetching eventsource
[115/4047] Fetching eventsource, swift-log
[1807/9096] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.36s)
[8528/8982] 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.46s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.2.0 (0.98s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (2.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.67s)
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.10.2
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.2.0
Creating working copy for https://github.com/ajevans99/swift-json-schema.git
Working copy of https://github.com/ajevans99/swift-json-schema.git resolved at 0.9.1
Building for debugging...
[0/53] Write sources
[5/53] Copying unevaluated.json
[6/53] Copying validation.json
[11/53] Copying meta-data.json
[14/53] Copying format-annotation.json
[17/53] Copying content.json
[21/53] Copying applicator.json
[22/53] Write sources
[29/53] Copying core.json
[30/53] Copying schema.json
[31/53] Compiling CSystem shims.c
[32/53] Compiling _SwiftSyntaxCShims PlatformMutex.c
[32/53] Write swift-version-24593BA9C3E375BF.txt
[35/128] Emitting module SwiftSyntax601
[36/128] Compiling SwiftSyntax601 Empty.swift
[37/128] Compiling SwiftSyntax509 Empty.swift
[38/128] Emitting module SwiftSyntax509
[39/130] Emitting module SwiftSyntax600
[40/130] Compiling SwiftSyntax600 Empty.swift
[41/131] Emitting module SwiftSyntax602
[42/131] Compiling SwiftSyntax602 Empty.swift
[43/132] Emitting module SwiftSyntax510
[44/132] Compiling SwiftSyntax510 Empty.swift
[49/133] Wrapping AST for SwiftSyntax509 for debugging
[50/133] Wrapping AST for SwiftSyntax601 for debugging
[51/133] Wrapping AST for SwiftSyntax600 for debugging
[52/133] Wrapping AST for SwiftSyntax602 for debugging
[53/133] Wrapping AST for SwiftSyntax510 for debugging
[55/133] Emitting module JSONSchema
[56/199] Compiling SwiftSyntax Keyword.swift
[57/199] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[58/199] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[59/199] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[60/203] Compiling SwiftSyntax SyntaxChildren.swift
[61/203] Compiling SwiftSyntax SyntaxCollection.swift
[62/203] Compiling SwiftSyntax SyntaxHashable.swift
[63/203] Compiling SwiftSyntax SyntaxIdentifier.swift
[64/203] Compiling SwiftSyntax ChildNameForKeyPath.swift
[65/203] Emitting module SystemPackage
[66/203] Compiling SwiftSyntax SourceLength.swift
[67/203] Compiling SwiftSyntax SourceLocation.swift
[68/203] Compiling SwiftSyntax SourcePresence.swift
[69/203] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[70/203] Compiling SwiftSyntax Syntax.swift
[71/203] Compiling SwiftSyntax SyntaxBaseNodes.swift
[72/203] Compiling SwiftSyntax SyntaxCollections.swift
[73/203] Compiling SwiftSyntax SyntaxEnum.swift
[74/203] Compiling SwiftSyntax SyntaxKind.swift
[75/203] Compiling SystemPackage SystemString.swift
[76/203] Compiling SystemPackage Util+StringArray.swift
[77/203] Compiling SystemPackage Util.swift
[78/203] Compiling SystemPackage UtilConsumers.swift
[79/203] Compiling SwiftSyntax AbsolutePosition.swift
[80/203] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[81/203] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[82/203] Compiling SwiftSyntax Assert.swift
[83/203] Compiling SwiftSyntax BumpPtrAllocator.swift
[84/203] Compiling SwiftSyntax CommonAncestor.swift
[85/203] Compiling SwiftSyntax Convenience.swift
[86/203] Compiling SwiftSyntax CustomTraits.swift
[87/203] Compiling SwiftSyntax EditorPlaceholder.swift
[88/211] Compiling Logging MetadataProvider.swift
[89/211] Compiling Logging Locks.swift
[90/211] Emitting module Logging
[91/211] Compiling SwiftSyntax Utils.swift
[92/211] Compiling SwiftSyntax Identifier.swift
[93/211] Compiling SwiftSyntax MemoryLayout.swift
[94/211] Compiling SwiftSyntax MissingNodeInitializers.swift
[95/211] Compiling SwiftSyntax SyntaxNodeStructure.swift
[96/211] Compiling SwiftSyntax SyntaxProtocol.swift
[97/211] Compiling SwiftSyntax SyntaxText.swift
[98/211] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[99/211] Compiling SwiftSyntax TokenDiagnostic.swift
[100/211] Compiling SwiftSyntax TokenSequence.swift
[101/211] Compiling SwiftSyntax TokenSyntax.swift
[102/211] Compiling SwiftSyntax Trivia.swift
[103/211] Compiling Logging LogHandler.swift
[104/211] Compiling Logging Logging.swift
[114/213] Compiling SwiftSyntax RawSyntaxTokenView.swift
[115/213] Compiling SwiftSyntax SourceEdit.swift
[116/232] Compiling MCP HTTPClientTransport.swift
[117/232] Compiling MCP UnitInterval.swift
[118/232] Compiling MCP Ping.swift
[119/232] Compiling MCP Value.swift
[129/232] Compiling MCP NetworkTransport.swift
[130/232] Compiling MCP StdioTransport.swift
[131/232] Compiling MCP Messages.swift
[132/232] Compiling MCP Transport.swift
[140/232] Compiling MCP Error.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
[141/232] Compiling MCP ID.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
[142/232] Compiling MCP Lifecycle.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
[143/232] Compiling MCP InMemoryTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
[144/232] Compiling MCP Sampling.swift
[145/232] Compiling MCP Data+Extensions.swift
[146/232] Compiling MCP Versioning.swift
[147/232] Compiling MCP Client.swift
[148/232] Compiling MCP Prompts.swift
[149/232] Compiling MCP Resources.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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/20] Write swift-version-24593BA9C3E375BF.txt
[2/60] Compiling SwiftSyntax600 Empty.swift
[3/64] Compiling SwiftSyntax510 Empty.swift
[4/64] Emitting module SwiftSyntax600
[5/65] Compiling SwiftSyntax509 Empty.swift
[6/65] Emitting module SwiftSyntax509
[7/66] Emitting module SwiftSyntax602
[9/97] Emitting module SwiftSyntax510
[10/98] Emitting module SwiftSyntax601
[11/98] Compiling SwiftSyntax601 Empty.swift
[13/97] Compiling SwiftSyntax602 Empty.swift
[17/96] Compiling Logging MetadataProvider.swift
[18/95] Emitting module Logging
[19/158] Compiling SwiftSyntax ChildNameForKeyPath.swift
[20/158] Compiling SwiftSyntax Keyword.swift
[21/158] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[22/158] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[23/162] Compiling SwiftSyntax Identifier.swift
[24/162] Compiling SwiftSyntax MemoryLayout.swift
[25/162] Compiling SwiftSyntax MissingNodeInitializers.swift
[26/162] Compiling SwiftSyntax RawSyntax.swift
[27/162] Emitting module JSONSchema
[28/165] Compiling SwiftSyntax SyntaxProtocol.swift
[29/165] Compiling SwiftSyntax SyntaxText.swift
[30/165] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[31/165] Compiling SwiftSyntax TokenDiagnostic.swift
[32/165] Compiling SwiftSyntax TokenSequence.swift
[33/165] Compiling SwiftSyntax TokenSyntax.swift
[34/165] Compiling SwiftSyntax Trivia.swift
[35/165] Compiling SwiftSyntax Utils.swift
[36/165] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[37/165] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[38/165] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[39/165] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[40/165] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[41/165] Compiling SwiftSyntax RawSyntaxValidation.swift
[42/165] Compiling SwiftSyntax SyntaxNodesAB.swift
[43/165] Compiling SwiftSyntax SyntaxNodeStructure.swift
[44/165] Emitting module SystemPackage
[45/165] Compiling Logging Locks.swift
[46/165] Compiling Logging Logging.swift
[47/165] Compiling Logging LogHandler.swift
[48/166] Compiling JSONSchema resource_bundle_accessor.swift
[49/166] Compiling SystemPackage Util+StringArray.swift
[50/166] Compiling SystemPackage Util.swift
[51/166] Compiling SystemPackage UtilConsumers.swift
[53/166] Compiling JSONSchema ValidationLocation.swift
[54/166] Compiling JSONSchema ValidationResult.swift
[68/166] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[69/166] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[70/166] Compiling SwiftSyntax RawSyntaxTokenView.swift
[71/166] Compiling SwiftSyntax SourceEdit.swift
[72/166] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[77/166] Compiling SwiftSyntax RawSyntaxArena.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
BUILD FAILURE 6.1 android