Build Information
Failed to build mcp-template, reference main (fc2642), with Swift 6.2 for Linux on 27 Apr 2026 12:39:42 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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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.2
Building package at path: $PWD
https://github.com/adamwulf/mcp-template.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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/3480] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.50s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.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
[1/271] Fetching eventsource
[272/17735] Fetching eventsource, swift-argument-parser
[273/23336] Fetching eventsource, swift-argument-parser, swift-system
[1407/30004] Fetching eventsource, swift-argument-parser, swift-system, swift-log
[30005/113223] Fetching eventsource, swift-argument-parser, swift-system, swift-log, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
[30229/107622] Fetching eventsource, swift-argument-parser, swift-log, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (8.05s)
Fetched https://github.com/apple/swift-log.git from cache (8.06s)
Fetched https://github.com/apple/swift-argument-parser from cache (8.07s)
Fetched https://github.com/apple/swift-nio.git from cache (8.21s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (8.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.41s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (0.91s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[602/25506] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.57s)
Fetched https://github.com/apple/swift-collections.git from cache (1.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.76s)
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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
[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-24593BA9C3E375BF.txt
[13/60] Emitting module ArgumentParserToolInfo
[14/60] Compiling SystemPackage FilePath.swift
[15/60] Compiling SystemPackage FilePathComponentView.swift
[16/60] Compiling SystemPackage FilePathComponents.swift
[17/60] Compiling SystemPackage FilePathParsing.swift
[18/60] Compiling SystemPackage FilePathString.swift
[19/64] Emitting module SystemPackage
[20/64] Compiling SystemPackage Errno.swift
[21/64] Compiling SystemPackage ErrnoWindows.swift
[22/64] Compiling SystemPackage FileDescriptor.swift
[23/64] Compiling SystemPackage FileHelpers.swift
[24/64] Compiling SystemPackage FileOperations.swift
[25/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/65] Wrapping AST for ArgumentParserToolInfo for debugging
[28/111] Compiling ArgumentParser Flag.swift
[29/111] Compiling ArgumentParser NameSpecification.swift
[30/111] Compiling ArgumentParser Option.swift
[31/111] Compiling ArgumentParser OptionGroup.swift
[32/111] Compiling ArgumentParser ArgumentDecoder.swift
[33/111] Compiling ArgumentParser ArgumentDefinition.swift
[34/111] Compiling ArgumentParser ArgumentSet.swift
[35/111] Compiling ArgumentParser CommandParser.swift
[36/111] Compiling Logging MetadataProvider.swift
[37/111] Compiling Logging Locks.swift
[38/111] Compiling ArgumentParser SequenceExtensions.swift
[39/111] Compiling ArgumentParser StringExtensions.swift
[40/111] Compiling ArgumentParser SwiftExtensions.swift
[41/111] Compiling ArgumentParser DumpHelpGenerator.swift
[42/111] Compiling Logging LogEvent.swift
[43/111] Compiling Logging LogHandler.swift
[44/111] Compiling Logging Logging.swift
[45/111] Emitting module Logging
[46/112] Wrapping AST for Logging for debugging
[48/112] Emitting module ArgumentParser
[49/118] Compiling ArgumentParser Foundation.swift
[50/118] Compiling ArgumentParser Mutex.swift
[51/118] Compiling ArgumentParser Platform.swift
[55/118] Compiling ArgumentParser Argument.swift
[56/118] Compiling ArgumentParser ArgumentDiscussion.swift
[57/118] Compiling ArgumentParser ArgumentHelp.swift
[58/118] Compiling ArgumentParser ParsableCommand.swift
[59/118] Compiling ArgumentParser BashCompletionsGenerator.swift
[60/118] Compiling ArgumentParser CompletionsGenerator.swift
[61/118] Compiling ArgumentParser FishCompletionsGenerator.swift
[62/118] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/118] Compiling ArgumentParser InputKey.swift
[67/126] Wrapping AST for SystemPackage for debugging
[69/162] Compiling ArgumentParser Tree.swift
[70/162] Compiling ArgumentParser CodingKeyValidator.swift
[71/162] Compiling ArgumentParser NonsenseFlagsValidator.swift
[72/162] Compiling ArgumentParser ParsableArgumentsValidation.swift
[73/162] Compiling ArgumentParser PositionalArgumentsValidator.swift
[74/162] Compiling ArgumentParser UniqueNamesValidator.swift
[75/162] Compiling MCP NetworkTransport.swift
[76/162] Compiling MCP StdioTransport.swift
[77/162] Compiling MCP UnitInterval.swift
[78/162] Compiling ArgumentParser ParsedValues.swift
[79/162] Compiling ArgumentParser ParserError.swift
[80/162] Compiling ArgumentParser SplitArguments.swift
[81/162] Compiling MCP Sampling.swift
[82/162] Compiling MCP Data+Extensions.swift
[83/162] Compiling MCP Completion.swift
[84/162] Compiling MCP StatefulHTTPServerTransport.swift
[85/162] Compiling MCP StatelessHTTPServerTransport.swift
[86/162] Compiling MCP InMemoryTransport.swift
[87/162] Compiling MCP OAuthAuthorizationCodeFlow.swift
[88/162] Compiling MCP OAuthAuthorizer.swift
[89/162] Compiling MCP OAuthClientRegistrar.swift
[90/162] Compiling MCP OAuthConfiguration.swift
[91/162] Compiling MCP OAuthConstants.swift
[92/162] Compiling MCP OAuthDiscovery.swift
[93/162] Compiling MCP OAuthDiscoveryClient.swift
[94/162] Compiling MCP OAuthErrors.swift
[95/162] Compiling MCP OAuthModels.swift
[96/162] Compiling MCP OAuthTokenEndpointClient.swift
[97/162] Compiling MCP OAuthURLValidator.swift
[98/162] Compiling MCP OAuthWWWAuthenticateParser.swift
[99/162] Compiling MCP PKCE.swift
[100/162] Compiling MCP TokenStorage.swift
[101/162] Compiling MCP HTTPClientTransport.swift
[102/162] Compiling MCP HTTPRequestValidation.swift
[103/162] Compiling MCP HTTPServerTypes.swift
[104/162] Compiling MCP Cancellation.swift
[105/162] Compiling MCP Ping.swift
[106/162] Compiling MCP Progress.swift
[107/162] Compiling MCP Error.swift
[108/162] Compiling MCP ID.swift
[109/162] Compiling MCP Icon.swift
[110/162] Compiling MCP Lifecycle.swift
[111/162] Compiling MCP Messages.swift
[112/162] Compiling MCP PendingRequest.swift
[113/162] Compiling MCP Transport.swift
[114/163] Wrapping AST for ArgumentParser for debugging
[134/168] Emitting module MCP
[141/168] Compiling MCP Logging.swift
[142/168] Compiling MCP Prompts.swift
[143/168] Compiling MCP Resources.swift
[144/168] Compiling MCP Server.swift
[145/168] Compiling MCP Tools.swift
[149/168] Compiling MCP RequestContext.swift
[150/168] Compiling MCP Value.swift
[151/168] Compiling MCP Versioning.swift
[158/168] Compiling MCP Client.swift
[159/168] Compiling MCP Elicitation.swift
[160/168] Compiling MCP Roots.swift
[164/169] Wrapping AST for MCP for debugging
[166/172] Compiling EasyMCP Logging.swift
[167/172] Emitting module EasyMCP
[168/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>
[169/173] Wrapping AST for EasyMCP for debugging
[171/188] Compiling EasyMacMCP ResponseManager.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 |
[172/189] Emitting module mcpexample
[173/189] 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>
[174/189] 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 |
[175/189] 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 |
[176/189] Compiling EasyMacMCP ReadPipe.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 |
[177/189] Compiling EasyMacMCP EasyMCPHelper.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 |
[178/189] Compiling EasyMacMCP EasyMCPHost.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[179/189] Emitting module EasyMacMCP
/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.2 linux