Build Information
Failed to build MCPKit, reference 0.6.0 (c038b0), with Swift 6.2 for Linux on 11 Sep 2026 23:33:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamtheturtle/MCPKit.git
Reference: 0.6.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/adamtheturtle/MCPKit
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at c038b06 Prepare 0.6.0 release (#110)
Cloned https://github.com/adamtheturtle/MCPKit.git
Revision (git rev-parse @):
c038b066c9dbf9132e4433984e02b4912291f5c1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/adamtheturtle/MCPKit.git at 0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/adamtheturtle/MCPKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:813c8e8a77634154d7d247705cb89167ff1c866446abbe321f542129dc4cf5a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2346/6127] Fetching swift-docc-plugin, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.75s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.76s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.95s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/303] Fetching eventsource
[195/8369] Fetching eventsource, swift-log
[8370/15263] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
[4647/7197] Fetching eventsource, swift-system
[7198/93035] Fetching eventsource, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (3.32s)
Fetched https://github.com/apple/swift-system.git from cache (3.32s)
Fetched https://github.com/apple/swift-nio.git from cache (3.36s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3821] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.102.0 (0.38s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[1876/29042] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.24s)
Fetched https://github.com/apple/swift-collections.git from cache (1.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.26s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.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.102.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.8.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.6.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/24] Write sources
[9/24] Compiling CSystem shims.c
[10/24] Write swift-version-24593BA9C3E375BF.txt
[12/72] Compiling SystemPackage FilePathComponentView.swift
[13/72] Compiling SystemPackage FilePathComponents.swift
[14/72] Compiling SystemPackage FilePathParsing.swift
[15/72] Compiling SystemPackage FilePathString.swift
[16/72] Compiling SystemPackage FilePathSyntax.swift
[17/77] Compiling Logging LoggingSystem.swift
[18/78] Compiling Logging Logger.swift
[19/78] Compiling Logging Logger+With.swift
[20/78] Compiling Logging Logger+Attributes.swift
[22/78] Compiling SystemPackage FileFlags.swift
[25/78] Compiling SystemPackage Errno.swift
[26/78] Compiling SystemPackage ErrnoWindows.swift
[27/78] Compiling SystemPackage FileDescriptor.swift
[28/78] Compiling SystemPackage FileHelpers.swift
[29/78] Compiling SystemPackage FileOperations.swift
[30/78] Compiling SystemPackage FilePath.swift
[31/78] Compiling SystemPackage SystemString.swift
[32/78] Compiling SystemPackage Util+StringArray.swift
[33/78] Compiling SystemPackage Util.swift
[34/78] Compiling SystemPackage UtilConsumers.swift
[35/78] Compiling SystemPackage WinSDK+Overlay.swift
[36/78] Emitting module Logging
[39/78] Compiling SystemPackage Backcompat.swift
[40/78] Compiling SystemPackage CInterop.swift
[41/78] Compiling SystemPackage Constants.swift
[42/78] Compiling SystemPackage Exports.swift
[43/78] Compiling SystemPackage Mocking.swift
[44/78] Compiling SystemPackage FilePathTemp.swift
[45/78] Compiling SystemPackage FilePathTempPosix.swift
[46/78] Compiling SystemPackage FilePathTempWindows.swift
[47/78] Compiling SystemPackage FilePathWindows.swift
[48/78] Compiling SystemPackage FilePermissions.swift
[49/78] Compiling Logging MetadataProvider.swift
[51/79] Compiling SystemPackage RawBuffer.swift
[52/79] Compiling SystemPackage Syscalls.swift
[53/79] Compiling SystemPackage WindowsSyscallAdapters.swift
[54/79] Compiling SystemPackage MachPort.swift
[55/79] Compiling SystemPackage PlatformString.swift
[55/79] Wrapping AST for Logging for debugging
[57/79] Emitting module SystemPackage
[59/79] Compiling SystemPackage FileMode.swift
[60/79] Compiling SystemPackage FileType.swift
[61/79] Compiling SystemPackage Identifiers.swift
[62/79] Compiling SystemPackage Stat.swift
[63/79] Compiling SystemPackage IOCompletion.swift
[64/79] Compiling SystemPackage IORequest.swift
[65/79] Compiling SystemPackage IORing+Util.swift
[66/79] Compiling SystemPackage IORing.swift
[67/79] Compiling SystemPackage RawIORequest.swift
[68/80] Wrapping AST for SystemPackage for debugging
[70/123] Emitting module MCP
[71/128] Compiling MCP OAuthAuthorizationCodeFlow.swift
[72/128] Compiling MCP OAuthAuthorizer.swift
[73/128] Compiling MCP OAuthClientRegistrar.swift
[74/128] Compiling MCP OAuthConfiguration.swift
[75/128] Compiling MCP OAuthConstants.swift
[76/128] Compiling MCP OAuthDiscovery.swift
[77/128] Compiling MCP Messages.swift
[78/128] Compiling MCP PendingRequest.swift
[79/128] Compiling MCP Transport.swift
[80/128] Compiling MCP HTTPClientTransport.swift
[81/128] Compiling MCP HTTPRequestValidation.swift
[82/128] Compiling MCP HTTPServerTypes.swift
[83/128] Compiling MCP Cancellation.swift
[84/128] Compiling MCP Ping.swift
[85/128] Compiling MCP Progress.swift
[86/128] Compiling MCP RequestContext.swift
[87/128] Compiling MCP Value.swift
[88/128] Compiling MCP Versioning.swift
[89/128] Compiling MCP Logging.swift
[90/128] Compiling MCP Prompts.swift
[91/128] Compiling MCP Resources.swift
[92/128] Compiling MCP Server.swift
[93/128] Compiling MCP Tools.swift
[94/128] Compiling MCP PKCE.swift
[95/128] Compiling MCP TokenStorage.swift
[96/128] Compiling MCP Error.swift
[97/128] Compiling MCP ID.swift
[98/128] Compiling MCP Icon.swift
[99/128] Compiling MCP Lifecycle.swift
[100/128] Compiling MCP StatefulHTTPServerTransport.swift
[101/128] Compiling MCP StatelessHTTPServerTransport.swift
[102/128] Compiling MCP InMemoryTransport.swift
[103/128] Compiling MCP NetworkTransport.swift
[104/128] Compiling MCP StdioTransport.swift
[105/128] Compiling MCP UnitInterval.swift
[106/128] Compiling MCP OAuthDiscoveryClient.swift
[107/128] Compiling MCP OAuthErrors.swift
[108/128] Compiling MCP OAuthModels.swift
[109/128] Compiling MCP OAuthTokenEndpointClient.swift
[110/128] Compiling MCP OAuthURLValidator.swift
[111/128] Compiling MCP OAuthWWWAuthenticateParser.swift
[112/128] Compiling MCP Client.swift
[113/128] Compiling MCP Elicitation.swift
[114/128] Compiling MCP Roots.swift
[115/128] Compiling MCP Sampling.swift
[116/128] Compiling MCP Data+Extensions.swift
[117/128] Compiling MCP Completion.swift
[118/131] Wrapping AST for MCP for debugging
[120/137] Compiling MCPKit MCPToolProvider.swift
[121/137] Compiling MCPKit Prompts.swift
[122/138] Compiling MCPKit Results.swift
[123/138] Compiling MCPKit StdioBootstrap.swift
/host/spi-builder-workspace/Sources/MCPKit/StdioBootstrap.swift:30:5: warning: 'public' modifier is redundant for static property declared in a public extension
28 | /// ``runOverStdioUntilExit(name:version:capabilities:isEnabled:disabledMessage:onLaunch:provider:)``:
29 | /// tools only, without prompt or resource advertisements.
30 | public static let stdioDefaultCapabilities = Server.Capabilities(
| `- warning: 'public' modifier is redundant for static property declared in a public extension
31 | tools: .init(listChanged: false)
32 | )
[124/138] Compiling MCPKit MCPServer.swift
[125/138] Compiling MCPKit ToolSchema.swift
[126/138] Emitting module MCPKit
/host/spi-builder-workspace/Sources/MCPKit/StdioBootstrap.swift:30:5: warning: 'public' modifier is redundant for static property declared in a public extension
28 | /// ``runOverStdioUntilExit(name:version:capabilities:isEnabled:disabledMessage:onLaunch:provider:)``:
29 | /// tools only, without prompt or resource advertisements.
30 | public static let stdioDefaultCapabilities = Server.Capabilities(
| `- warning: 'public' modifier is redundant for static property declared in a public extension
31 | tools: .init(listChanged: false)
32 | )
[127/138] Compiling MCPKit JSONLLog.swift
[128/138] Compiling MCPKit Arguments.swift
[129/139] Wrapping AST for MCPKit for debugging
[131/145] Emitting module MCPKitStdioFailureFixture
[132/145] Compiling MCPKitStdioFailureFixture main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[133/145] Emitting module JSONLLogAppendFixture
/host/spi-builder-workspace/Tests/JSONLLogAppendFixture/main.swift:21:85: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
19 | let count = Int(CommandLine.arguments[4])
20 | else {
21 | fputs("usage: JSONLLogAppendFixture <directory> <fileName> <writer> <count>\n", stderr)
| `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
22 | exit(EXIT_FAILURE)
23 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[134/145] Compiling JSONLLogAppendFixture main.swift
/host/spi-builder-workspace/Tests/JSONLLogAppendFixture/main.swift:21:85: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
19 | let count = Int(CommandLine.arguments[4])
20 | else {
21 | fputs("usage: JSONLLogAppendFixture <directory> <fileName> <writer> <count>\n", stderr)
| `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
22 | exit(EXIT_FAILURE)
23 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[135/146] Emitting module MCPKitExample
BUILD FAILURE 6.2 linux