The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-mcp-toolkit, reference v0.2.0 (f9a664), with Swift 6.2 for Android on 10 Oct 2025 01:55:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build 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.2
Building package at path:  $PWD
https://github.com/ajevans99/swift-mcp-toolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/ajevans99/swift-json-schema.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/4578] Fetching swift-json-schema
[505/6671] Fetching swift-json-schema, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.38s)
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (0.38s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.9.1 (0.78s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72446] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.34s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (8.31s)
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
[4048/9096] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.48s)
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.2.0 (0.81s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (2.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.40s)
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/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
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.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.10.2
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Building for debugging...
[0/53] Write sources
[1/53] Copying content.json
[2/53] Copying applicator.json
[6/53] Write sources
[8/53] Copying validation.json
[9/53] Copying unevaluated.json
[14/53] Copying meta-data.json
[15/53] Copying schema.json
[16/53] Copying format-annotation.json
[18/53] Copying core.json
[27/53] Write sources
[31/53] Compiling _SwiftSyntaxCShims PlatformMutex.c
[32/53] Write swift-version--11D90AFD9DD3AB2.txt
[33/53] Compiling CSystem shims.c
[35/128] Emitting module JSONSchema
[36/131] Emitting module SwiftSyntax602
[37/131] Compiling SwiftSyntax602 Empty.swift
[38/132] Emitting module SwiftSyntax510
[39/132] Compiling SwiftSyntax510 Empty.swift
[41/133] Emitting module SwiftSyntax600
[42/133] Compiling SwiftSyntax600 Empty.swift
[44/134] Emitting module SwiftSyntax601
[45/134] Compiling SwiftSyntax601 Empty.swift
[47/135] Emitting module SwiftSyntax509
[48/135] Compiling SwiftSyntax509 Empty.swift
[48/136] Wrapping AST for SwiftSyntax602 for debugging
[51/136] Wrapping AST for SwiftSyntax510 for debugging
[52/136] Wrapping AST for SwiftSyntax600 for debugging
[53/136] Wrapping AST for SwiftSyntax601 for debugging
[54/136] Wrapping AST for SwiftSyntax509 for debugging
[56/199] Compiling SwiftSyntax Identifier.swift
[57/199] Compiling SwiftSyntax MemoryLayout.swift
[58/199] Compiling SwiftSyntax MissingNodeInitializers.swift
[59/199] Compiling SwiftSyntax RawSyntax.swift
[60/203] Emitting module SystemPackage
[61/203] Compiling SwiftSyntax RawSyntaxArena.swift
[62/203] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[63/203] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[64/203] Compiling SwiftSyntax RawSyntaxTokenView.swift
[65/203] Compiling SwiftSyntax SourceEdit.swift
[66/203] Compiling SystemPackage SystemString.swift
[67/203] Compiling SystemPackage Util+StringArray.swift
[68/203] Compiling SystemPackage Util.swift
[69/203] Compiling SystemPackage UtilConsumers.swift
[70/203] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[71/203] Compiling SwiftSyntax TokenDiagnostic.swift
[72/203] Compiling SwiftSyntax TokenSequence.swift
[73/203] Compiling SwiftSyntax TokenSyntax.swift
[74/203] Compiling SwiftSyntax Trivia.swift
[75/203] Compiling SwiftSyntax SyntaxIdentifier.swift
[76/203] Compiling SwiftSyntax SyntaxNodeStructure.swift
[77/203] Compiling SwiftSyntax SyntaxProtocol.swift
[78/203] Compiling SwiftSyntax SyntaxText.swift
[79/203] Compiling SwiftSyntax Syntax.swift
[80/203] Compiling SwiftSyntax SyntaxChildren.swift
[81/203] Compiling SwiftSyntax SyntaxCollection.swift
[82/203] Compiling SwiftSyntax SyntaxHashable.swift
[83/203] Compiling SwiftSyntax SourceLength.swift
[84/203] Compiling SwiftSyntax SourceLocation.swift
[85/203] Compiling SwiftSyntax SourcePresence.swift
[86/203] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[87/203] Compiling SwiftSyntax Utils.swift
[88/203] Compiling SwiftSyntax ChildNameForKeyPath.swift
[89/203] Compiling SwiftSyntax Keyword.swift
[90/203] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[91/203] Compiling Logging MetadataProvider.swift
[93/204] Compiling Logging LogHandler.swift
[94/204] Compiling Logging Locks.swift
[95/204] Compiling Logging Logging.swift
[96/204] Emitting module Logging
[109/224] Compiling MCP HTTPClientTransport.swift
[110/224] Compiling MCP UnitInterval.swift
[111/224] Compiling MCP Ping.swift
[112/224] Compiling MCP Value.swift
[113/224] Compiling MCP NetworkTransport.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 =
[114/224] Compiling MCP StdioTransport.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 =
[115/224] Compiling MCP Messages.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 =
[116/224] Compiling MCP Transport.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 =
[121/224] Compiling MCP Prompts.swift
[122/224] Compiling MCP Resources.swift
[123/224] Compiling MCP Sampling.swift
[124/224] Compiling MCP Data+Extensions.swift
[125/224] Compiling MCP Versioning.swift
[126/224] Compiling MCP Client.swift
BUILD FAILURE 6.2 android