Build Information
Failed to build mcp-template, reference main (fc2642), with Swift 6.3 for macOS (SPM) on 27 Apr 2026 12:39:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/3480] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (1.43s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
[1/6668] Fetching swift-log
[2/12269] Fetching swift-log, swift-system
[683/29733] Fetching swift-log, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.48s)
Fetched https://github.com/apple/swift-system.git from cache (1.48s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.09s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.60s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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.4.2
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.3
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at main (3372a14)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "mcp-template",
"name": "mcp-template",
"url": "https://github.com/adamwulf/mcp-template.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mcp-template",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-sdk",
"name": "mcp-swift-sdk",
"url": "https://github.com/modelcontextprotocol/swift-sdk",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sdk",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.12.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
},
{
"identity": "eventsource",
"name": "EventSource",
"url": "https://github.com/mattt/eventsource.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/eventsource",
"traits": [
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.99.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
},
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.99.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/adamwulf/mcp-template.git
[1/976] Fetching mcp-template
Fetched https://github.com/adamwulf/mcp-template.git from cache (0.93s)
Fetching https://github.com/modelcontextprotocol/swift-sdk from cache
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.41s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/83490] Fetching eventsource, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (5.65s)
Fetched https://github.com/apple/swift-nio.git from cache (5.66s)
Fetched https://github.com/apple/swift-log.git from cache (5.66s)
Fetched https://github.com/apple/swift-system.git from cache (5.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.66s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (6.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (0.98s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[384/25506] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.02s)
Fetched https://github.com/apple/swift-collections.git from cache (2.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.69s)
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-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
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/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/adamwulf/mcp-template.git
Working copy of https://github.com/adamwulf/mcp-template.git resolved at main (fc2642c)
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)
Found 2 product dependencies
- swift-argument-parser
- mcp-swift-sdk
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/adamwulf/mcp-template.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write sources
[6/15] Write mcpexample-entitlement.plist
[7/15] Write sources
[10/15] Compiling CSystem shims.c
[11/15] Write swift-version--6988338F2F200930.txt
[13/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/50] Emitting module ArgumentParserToolInfo
[15/89] Compiling ArgumentParser HelpGenerator.swift
[16/89] Compiling ArgumentParser MessageInfo.swift
[17/89] Compiling ArgumentParser UsageGenerator.swift
[18/92] Compiling Logging MetadataProvider.swift
[19/92] Compiling ArgumentParser CommandConfiguration.swift
[20/92] Compiling ArgumentParser CommandGroup.swift
[21/92] Compiling ArgumentParser EnumerableFlag.swift
[22/92] Compiling ArgumentParser CompletionKind.swift
[23/92] Compiling ArgumentParser Errors.swift
[24/92] Compiling ArgumentParser Flag.swift
[25/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/92] Compiling ArgumentParser Argument.swift
[28/92] Compiling ArgumentParser AsyncParsableCommand.swift
[29/92] Compiling ArgumentParser ArgumentHelp.swift
[30/92] Compiling ArgumentParser ArgumentVisibility.swift
[31/92] Emitting module SystemPackage
[32/92] Compiling Logging LogHandler.swift
[33/92] Compiling Logging Locks.swift
[34/92] Emitting module Logging
[35/92] Compiling Logging Logging.swift
[36/92] Compiling ArgumentParser NameSpecification.swift
[37/92] Compiling ArgumentParser Option.swift
[38/92] Compiling ArgumentParser OptionGroup.swift
[39/92] Compiling SystemPackage Util+StringArray.swift
[40/92] Compiling SystemPackage Util.swift
[41/92] Compiling SystemPackage UtilConsumers.swift
[42/92] Compiling ArgumentParser ParsableCommand.swift
[43/92] Compiling ArgumentParser ArgumentDecoder.swift
[44/92] Compiling ArgumentParser ArgumentDefinition.swift
[45/92] Compiling ArgumentParser ExpressibleByArgument.swift
[46/92] Compiling ArgumentParser ParsableArguments.swift
[47/92] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/92] Compiling ArgumentParser CollectionExtensions.swift
[49/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[50/92] Compiling ArgumentParser CompletionsGenerator.swift
[51/106] Compiling ArgumentParser InputOrigin.swift
[52/106] Compiling ArgumentParser Name.swift
[53/106] Compiling ArgumentParser Parsed.swift
[54/106] Compiling ArgumentParser ParsedValues.swift
[55/110] Compiling MCP Transports.swift
[56/110] Compiling MCP Ping.swift
[57/110] Compiling MCP Value.swift
[58/110] Compiling MCP Versioning.swift
[64/110] Compiling ArgumentParser Platform.swift
[65/110] Compiling ArgumentParser SequenceExtensions.swift
[66/110] Compiling ArgumentParser StringExtensions.swift
[67/110] Compiling ArgumentParser Tree.swift
[68/110] Emitting module ArgumentParser
[86/110] Compiling ArgumentParser ParserError.swift
[87/110] Compiling ArgumentParser SplitArguments.swift
[88/110] Compiling ArgumentParser DumpHelpGenerator.swift
[89/110] Compiling ArgumentParser HelpCommand.swift
[90/110] Compiling MCP Error.swift
[91/110] Compiling MCP ID.swift
[92/110] Compiling MCP Lifecycle.swift
[93/110] Compiling MCP Messages.swift
[94/110] Compiling MCP Server.swift
[95/111] Compiling MCP Resources.swift
[96/111] Compiling MCP Tools.swift
[97/111] Compiling MCP Prompts.swift
[100/111] Compiling MCP Client.swift
[101/111] Emitting module MCP
[106/111] Compiling MCP Data+Extensions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports.swift:317:33: error: sending 'sendContinuationResumed' risks causing data races [#SendingRisksDataRace]
315 |
316 | Task { @MainActor in
317 | if !sendContinuationResumed {
| |- error: sending 'sendContinuationResumed' risks causing data races [#SendingRisksDataRace]
| `- note: task-isolated 'sendContinuationResumed' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
318 | sendContinuationResumed = true
319 | if let error = error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports.swift:398:29: error: sending 'receiveContinuationResumed' risks causing data races [#SendingRisksDataRace]
396 | content, _, _, error in
397 | Task { @MainActor in
398 | if !receiveContinuationResumed {
| |- error: sending 'receiveContinuationResumed' risks causing data races [#SendingRisksDataRace]
| `- note: task-isolated 'receiveContinuationResumed' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
399 | receiveContinuationResumed = true
400 | if let error = error {
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports.swift:317:33: error: sending 'sendContinuationResumed' risks causing data races [#SendingRisksDataRace]
315 |
316 | Task { @MainActor in
317 | if !sendContinuationResumed {
| |- error: sending 'sendContinuationResumed' risks causing data races [#SendingRisksDataRace]
| `- note: task-isolated 'sendContinuationResumed' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
318 | sendContinuationResumed = true
319 | if let error = error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports.swift:398:29: error: sending 'receiveContinuationResumed' risks causing data races [#SendingRisksDataRace]
396 | content, _, _, error in
397 | Task { @MainActor in
398 | if !receiveContinuationResumed {
| |- error: sending 'receiveContinuationResumed' risks causing data races [#SendingRisksDataRace]
| `- note: task-isolated 'receiveContinuationResumed' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
399 | receiveContinuationResumed = true
400 | if let error = error {
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
BUILD FAILURE 6.3 macosSpm