The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mcp-template, reference main (fc2642), with Swift 6.0 for Linux on 27 Apr 2026 12:39:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.0-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.0
Building package at path:  $PWD
https://github.com/adamwulf/mcp-template.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/3480] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.68s)
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
[1/271] Fetching eventsource
[272/6939] Fetching eventsource, swift-log
[606/24403] Fetching eventsource, swift-log, swift-argument-parser
[1730/30004] Fetching eventsource, swift-log, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.86s)
Fetched https://github.com/mattt/eventsource.git from cache (1.13s)
Fetched https://github.com/apple/swift-system.git from cache (1.14s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.14s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.26s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
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/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/21] Write sources
[10/21] Compiling CSystem shims.c
[11/21] Write swift-version-24593BA9C3E375BF.txt
[13/60] Emitting module SystemPackage
[14/64] Emitting module ArgumentParserToolInfo
[15/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/65] Wrapping AST for ArgumentParserToolInfo for debugging
[18/65] Compiling SystemPackage Syscalls.swift
[19/65] Compiling SystemPackage WindowsSyscallAdapters.swift
[20/65] Compiling SystemPackage MachPort.swift
[21/65] Compiling SystemPackage PlatformString.swift
[22/65] Compiling Logging MetadataProvider.swift
[23/65] Compiling SystemPackage FilePathWindows.swift
[24/65] Compiling SystemPackage FilePermissions.swift
[25/65] Compiling SystemPackage IOCompletion.swift
[26/65] Compiling SystemPackage IORequest.swift
[27/65] Compiling SystemPackage Constants.swift
[28/65] Compiling SystemPackage Exports.swift
[29/65] Compiling SystemPackage Mocking.swift
[30/65] Compiling SystemPackage RawBuffer.swift
[31/65] Compiling SystemPackage IORing.swift
[32/65] Compiling SystemPackage RawIORequest.swift
[33/65] Compiling SystemPackage Backcompat.swift
[34/65] Compiling SystemPackage CInterop.swift
[35/65] Compiling SystemPackage FilePath.swift
[36/65] Compiling SystemPackage FilePathComponentView.swift
[37/65] Compiling SystemPackage FilePathComponents.swift
[38/65] Compiling SystemPackage FilePathParsing.swift
[39/65] Compiling SystemPackage FilePathString.swift
[40/65] Compiling SystemPackage Errno.swift
[41/65] Compiling SystemPackage ErrnoWindows.swift
[42/65] Compiling SystemPackage FileDescriptor.swift
[43/65] Compiling SystemPackage FileHelpers.swift
[44/65] Compiling SystemPackage FileOperations.swift
[45/65] Compiling SystemPackage FilePathSyntax.swift
[46/65] Compiling SystemPackage FilePathTemp.swift
[47/65] Compiling SystemPackage FilePathTempPosix.swift
[48/65] Compiling SystemPackage FilePathTempWindows.swift
[49/111] Emitting module Logging
[50/111] Compiling Logging LogEvent.swift
[51/111] Compiling Logging LogHandler.swift
[52/111] Compiling Logging Locks.swift
[53/111] Compiling Logging Logging.swift
[55/112] Compiling ArgumentParser StringExtensions.swift
[56/112] Compiling ArgumentParser SwiftExtensions.swift
[57/112] Compiling ArgumentParser ParentCommand.swift
[58/112] Compiling ArgumentParser AsyncParsableCommand.swift
[58/113] Wrapping AST for Logging for debugging
[60/113] Wrapping AST for SystemPackage for debugging
[62/156] Emitting module ArgumentParser
[63/162] Compiling MCP OAuthModels.swift
[64/162] Compiling MCP OAuthTokenEndpointClient.swift
[65/162] Compiling MCP OAuthURLValidator.swift
[66/162] Compiling MCP OAuthWWWAuthenticateParser.swift
[67/162] Compiling MCP Messages.swift
[68/162] Compiling MCP PendingRequest.swift
[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 Transport.swift
[76/162] Compiling MCP HTTPClientTransport.swift
[77/162] Compiling MCP HTTPRequestValidation.swift
[78/162] Compiling MCP HTTPServerTypes.swift
[79/162] Compiling MCP Cancellation.swift
[80/162] Compiling MCP Ping.swift
[81/162] Compiling MCP Progress.swift
[82/162] Compiling MCP RequestContext.swift
[83/162] Compiling MCP Value.swift
[84/162] Compiling MCP Versioning.swift
[85/162] Compiling MCP Client.swift
[86/162] Compiling MCP Elicitation.swift
[87/162] Compiling MCP Roots.swift
[88/162] Compiling MCP StatelessHTTPServerTransport.swift
[89/162] Compiling MCP InMemoryTransport.swift
[90/162] Compiling MCP NetworkTransport.swift
[91/162] Compiling MCP StdioTransport.swift
[92/162] Compiling MCP UnitInterval.swift
[93/162] Compiling MCP PKCE.swift
[94/162] Compiling MCP TokenStorage.swift
[95/162] Compiling MCP Sampling.swift
[96/162] Compiling MCP Data+Extensions.swift
[97/162] Compiling MCP Completion.swift
[98/162] Compiling ArgumentParser MessageInfo.swift
[99/162] Compiling ArgumentParser UsageGenerator.swift
[100/162] Compiling ArgumentParser CollectionExtensions.swift
[101/162] Emitting module MCP
[102/167] Compiling MCP OAuthAuthorizationCodeFlow.swift
[103/167] Compiling MCP OAuthAuthorizer.swift
[104/167] Compiling MCP OAuthClientRegistrar.swift
[105/167] Compiling MCP OAuthConfiguration.swift
[106/167] Compiling MCP OAuthConstants.swift
[107/167] Compiling MCP OAuthDiscovery.swift
[108/167] Compiling MCP StatefulHTTPServerTransport.swift
[109/167] Compiling MCP Error.swift
[110/167] Compiling MCP ID.swift
[111/167] Compiling MCP Icon.swift
[112/167] Compiling MCP Lifecycle.swift
[113/167] Compiling MCP OAuthDiscoveryClient.swift
[114/167] Compiling MCP OAuthErrors.swift
[127/168] Wrapping AST for ArgumentParser for debugging
[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
[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.
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.
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.
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.
146 |                     isError: true
147 |                 )
[168/172] Emitting module EasyMCP
[169/173] Wrapping AST for EasyMCP for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[171/188] 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 |
[172/189] Emitting module mcpexample
[173/189] Compiling mcpexample MCPExample.swift
/host/spi-builder-workspace/Sources/mcpexample/MCPExample.swift:52:13: error: missing argument for parameter 'inputSchema' in call
 50 |                 name: "helloWorld",
 51 |                 description: "Returns a friendly greeting message"
 52 |             )) { _ in
    |             `- error: missing argument for parameter 'inputSchema' in call
 53 |                 return Result(content: [.text(helloworld())], isError: false)
 54 |             }
/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.
 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.
 76 |             }
 77 |         } catch {
/host/spi-builder-workspace/Sources/mcpexample/MCPExample.swift:99:17: error: missing argument for parameter 'inputSchema' in call
 97 |                     name: "helloEveryone",
 98 |                     description: "Returns a friendly greeting message to everyone around"
 99 |                 )) { _ in
    |                 `- error: missing argument for parameter 'inputSchema' in call
100 |                     return Result(content: [.text(helloworld())], isError: false)
101 |                 }
/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,
[174/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 |
BUILD FAILURE 6.0 linux