The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mcp-template, reference main (fc2642), with Swift 6.3 for Linux on 27 Apr 2026 12:40:00 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/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 fc2642c Merge agent agent-8e9a84d6 work
Cloned https://github.com/adamwulf/mcp-template.git
Revision (git rev-parse @):
fc2642cabf061928f8ce590d95dc400cf4bca48b
SUCCESS checkout https://github.com/adamwulf/mcp-template.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
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/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/3480] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.49s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[1281/23336] Fetching eventsource, swift-system, swift-argument-parser
[1450/30004] Fetching eventsource, swift-system, swift-argument-parser, swift-log
Fetched https://github.com/mattt/eventsource.git from cache (0.39s)
[4925/29733] Fetching swift-system, swift-argument-parser, swift-log
[21526/112952] Fetching swift-system, swift-argument-parser, swift-log, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (0.75s)
Fetched https://github.com/apple/swift-log.git from cache (0.75s)
[14497/100683] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (9.17s)
Fetched https://github.com/apple/swift-nio.git from cache (9.29s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (10.07s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (0.78s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[602/25506] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[1895/23686] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.85s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.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.6.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at main (cb6a62f)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.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] Write swift-version-24593BA9C3E375BF.txt
[11/21] Compiling CSystem shims.c
[13/60] Emitting module SystemPackage
[14/64] Compiling SystemPackage FilePath.swift
[15/64] Compiling SystemPackage FilePathComponentView.swift
[16/64] Compiling SystemPackage FilePathComponents.swift
[17/64] Compiling SystemPackage FilePathParsing.swift
[18/64] Compiling SystemPackage FilePathString.swift
[19/64] Compiling SystemPackage SystemString.swift
[20/64] Compiling SystemPackage Util+StringArray.swift
[21/64] Compiling SystemPackage Util.swift
[22/64] Compiling SystemPackage UtilConsumers.swift
[23/64] Compiling SystemPackage FilePathWindows.swift
[24/64] Compiling SystemPackage FilePermissions.swift
[25/64] Compiling SystemPackage IOCompletion.swift
[26/64] Compiling SystemPackage IORequest.swift
[27/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[28/64] Emitting module ArgumentParserToolInfo
[29/65] Wrapping AST for ArgumentParserToolInfo for debugging
[31/111] Compiling Logging MetadataProvider.swift
[32/111] Compiling ArgumentParser InputOrigin.swift
[33/111] Compiling ArgumentParser Name.swift
[34/111] Compiling ArgumentParser Parsed.swift
[35/111] Compiling ArgumentParser ParsedValues.swift
[36/111] Emitting module Logging
[37/111] Compiling ArgumentParser Errors.swift
[38/111] Compiling ArgumentParser Flag.swift
[39/111] Compiling ArgumentParser NameSpecification.swift
[40/111] Compiling ArgumentParser Option.swift
[41/111] Compiling Logging LogHandler.swift
[42/111] Compiling Logging Locks.swift
[43/111] Compiling Logging LogEvent.swift
[44/111] Compiling Logging Logging.swift
[45/112] Wrapping AST for Logging for debugging
[47/112] Emitting module ArgumentParser
[52/118] Compiling ArgumentParser ParserError.swift
[53/118] Compiling ArgumentParser SplitArguments.swift
[54/118] Compiling ArgumentParser ArgumentDefinition.swift
[55/118] Compiling ArgumentParser ArgumentSet.swift
[56/118] Compiling ArgumentParser CommandParser.swift
[57/118] Compiling ArgumentParser InputKey.swift
[58/118] Compiling ArgumentParser UsageGenerator.swift
[59/118] Compiling ArgumentParser CollectionExtensions.swift
[60/118] Compiling ArgumentParser ParsableCommand.swift
[61/118] Compiling ArgumentParser ArgumentDecoder.swift
[62/118] Compiling ArgumentParser OptionGroup.swift
[63/118] Compiling ArgumentParser DumpHelpGenerator.swift
[64/118] Compiling ArgumentParser HelpCommand.swift
[65/118] Compiling ArgumentParser HelpGenerator.swift
[66/118] Compiling ArgumentParser MessageInfo.swift
[67/119] Wrapping AST for SystemPackage for debugging
[69/119] Compiling ArgumentParser ArgumentVisibility.swift
[70/119] Compiling ArgumentParser CompletionKind.swift
[76/162] Compiling MCP Roots.swift
[77/162] Compiling MCP Sampling.swift
[78/162] Compiling MCP Data+Extensions.swift
[79/162] Compiling MCP Completion.swift
[80/162] Compiling MCP Messages.swift
[81/162] Compiling MCP PendingRequest.swift
[82/162] Compiling MCP Transport.swift
[83/162] Compiling MCP HTTPClientTransport.swift
[84/162] Compiling MCP HTTPRequestValidation.swift
[85/162] Compiling MCP HTTPServerTypes.swift
[86/162] Compiling ArgumentParser SequenceExtensions.swift
[87/162] Compiling ArgumentParser StringExtensions.swift
[88/162] Compiling ArgumentParser SwiftExtensions.swift
[89/162] Compiling MCP OAuthAuthorizationCodeFlow.swift
[90/162] Compiling MCP OAuthAuthorizer.swift
[91/162] Compiling MCP OAuthClientRegistrar.swift
[92/162] Compiling MCP OAuthConfiguration.swift
[93/162] Compiling MCP OAuthConstants.swift
[94/162] Compiling MCP OAuthDiscovery.swift
[95/162] Compiling MCP OAuthDiscoveryClient.swift
[96/162] Compiling ArgumentParser Tree.swift
[97/162] Compiling ArgumentParser CodingKeyValidator.swift
[98/162] Compiling ArgumentParser NonsenseFlagsValidator.swift
[99/162] Compiling ArgumentParser ParsableArgumentsValidation.swift
[100/162] Compiling ArgumentParser PositionalArgumentsValidator.swift
[101/162] Compiling ArgumentParser UniqueNamesValidator.swift
[102/162] Compiling MCP InMemoryTransport.swift
[103/162] Compiling MCP NetworkTransport.swift
[104/162] Compiling MCP StdioTransport.swift
[105/162] Compiling MCP UnitInterval.swift
[106/162] Compiling MCP PKCE.swift
[107/162] Compiling MCP TokenStorage.swift
[108/162] Compiling MCP Error.swift
[109/162] Compiling MCP ID.swift
[110/162] Compiling MCP Icon.swift
[111/162] Compiling MCP Lifecycle.swift
[112/162] Compiling MCP Cancellation.swift
[113/162] Compiling MCP Ping.swift
[114/163] Wrapping AST for ArgumentParser for debugging
[116/163] Compiling MCP StatefulHTTPServerTransport.swift
[117/163] Compiling MCP StatelessHTTPServerTransport.swift
[128/163] Emitting module MCP
[130/168] Compiling MCP OAuthErrors.swift
[131/168] Compiling MCP OAuthModels.swift
[132/168] Compiling MCP OAuthTokenEndpointClient.swift
[133/168] Compiling MCP OAuthURLValidator.swift
[134/168] Compiling MCP OAuthWWWAuthenticateParser.swift
[147/168] Compiling MCP Logging.swift
[148/168] Compiling MCP Prompts.swift
[149/168] Compiling MCP Resources.swift
[150/168] Compiling MCP Server.swift
[151/168] Compiling MCP Tools.swift
[154/168] Compiling MCP Progress.swift
[155/168] Compiling MCP RequestContext.swift
[156/168] Compiling MCP Value.swift
[157/168] Compiling MCP Versioning.swift
[158/168] Compiling MCP Client.swift
[159/168] Compiling MCP Elicitation.swift
[164/169] Wrapping AST for MCP for debugging
[166/172] Compiling EasyMCP Logging.swift
[167/172] Compiling EasyMCP EasyMCP.swift
/host/spi-builder-workspace/Sources/EasyMCP/EasyMCP.swift:138:32: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
136 |             guard let self = self else {
137 |                 return MCP.CallTool.Result(
138 |                     content: [.text("Service unavailable")],
    |                                `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
139 |                     isError: true
140 |                 )
/host/spi-builder-workspace/Sources/EasyMCP/EasyMCP.swift:145:32: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
143 |             guard let toolMeta = tools[params.name] else {
144 |                 return MCP.CallTool.Result(
145 |                     content: [.text("Tool not found: \(params.name)")],
    |                                `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
146 |                     isError: true
147 |                 )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[168/172] Emitting module EasyMCP
[169/173] Wrapping AST for EasyMCP for debugging
[171/188] Emitting module mcpexample
[172/188] Compiling mcpexample MCPExample.swift
/host/spi-builder-workspace/Sources/mcpexample/MCPExample.swift:51:67: error: missing argument for parameter 'inputSchema' in call
 49 |             try await mcp.register(tool: Tool(
 50 |                 name: "helloWorld",
 51 |                 description: "Returns a friendly greeting message"
    |                                                                   `- error: missing argument for parameter 'inputSchema' in call
 52 |             )) { _ in
 53 |                 return Result(content: [.text(helloworld())], isError: false)
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Server/Tools.swift:94:12: note: 'init(name:title:description:inputSchema:annotations:outputSchema:icons:_meta:)' declared here
 92 |
 93 |     /// Initialize a tool with a name, description, input schema, annotations, and optional icons
 94 |     public init(
    |            `- note: 'init(name:title:description:inputSchema:annotations:outputSchema:icons:_meta:)' declared here
 95 |         name: String,
 96 |         title: String? = nil,
/host/spi-builder-workspace/Sources/mcpexample/MCPExample.swift:75:42: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
 73 |                 ]
 74 |             )) { input in
 75 |                 return Result(content: [.text(hello(input["name"]?.stringValue ?? "world"))], isError: false)
    |                                          `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
 76 |             }
 77 |         } catch {
/host/spi-builder-workspace/Sources/mcpexample/MCPExample.swift:98:90: error: missing argument for parameter 'inputSchema' in call
 96 |                 try await mcp.register(tool: Tool(
 97 |                     name: "helloEveryone",
 98 |                     description: "Returns a friendly greeting message to everyone around"
    |                                                                                          `- error: missing argument for parameter 'inputSchema' in call
 99 |                 )) { _ in
100 |                     return Result(content: [.text(helloworld())], isError: false)
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Server/Tools.swift:94:12: note: 'init(name:title:description:inputSchema:annotations:outputSchema:icons:_meta:)' declared here
 92 |
 93 |     /// Initialize a tool with a name, description, input schema, annotations, and optional icons
 94 |     public init(
    |            `- note: 'init(name:title:description:inputSchema:annotations:outputSchema:icons:_meta:)' declared here
 95 |         name: String,
 96 |         title: String? = nil,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[173/188] Compiling EasyMacMCP MCPProtocols.swift
/host/spi-builder-workspace/Sources/EasyMacMCP/EasyMCPHost.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import Logging
 10 |
[174/188] Compiling EasyMacMCP PipeProtocols.swift
/host/spi-builder-workspace/Sources/EasyMacMCP/EasyMCPHost.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import Logging
 10 |
BUILD FAILURE 6.3 linux