Build Information
Failed to build MCPKit, reference main (55b2ba), with Swift 6.4 for Linux on 16 Oct 2026 00:23:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamtheturtle/MCPKit.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/adamtheturtle/MCPKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 55b2ba0 Merge pull request #118 from adamtheturtle/dependabot/github_actions/astral-sh/setup-uv-10.3.0
Cloned https://github.com/adamtheturtle/MCPKit.git
Revision (git rev-parse @):
55b2ba0a29aa03973e1d01ee3d37dfb5cc4adc92
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/adamtheturtle/MCPKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/adamtheturtle/MCPKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (0.52s)
[1/3992] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (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.92s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
[1/314] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git (0.36s)
[1/7288] Fetching swift-system
[7289/15593] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-log.git (0.93s)
[1/86488] Fetching swift-nio
Fetched https://github.com/apple/swift-system.git (3.48s)
Fetched https://github.com/apple/swift-nio.git (3.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3839] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.84s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.49s)
[1/28859] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.23s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.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/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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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/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.7.3
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 273]
[Planning deferred tasks]
[6 / 93]
[60 / 104] Logging
[62 / 113] CSystem
[64 / 113] SystemPackage
[75 / 113] SystemPackage
[75 / 113] Logging
[77 / 113] SystemPackage
[78 / 113] SystemPackage-product
[79 / 113] Logging
[81 / 113] Logging-product
[82 / 113] Logging-product
[83 / 115] MCP
[85 / 123] MCP
[87 / 124] MCP
[89 / 124] MCP
[90 / 124] MCP
[91 / 124] MCP
[92 / 124] MCP
[93 / 124]
[103 / 134] MCP
[106 / 134] MCPKit
/host/spi-builder-workspace/Sources/MCPKit/StdioBootstrap.swift:30:5: [1;33mwarning: [1;39m'public' modifier is redundant for static property declared in a public extension[0;0m
[0;36m28 |[0;0m /// ``runOverStdioUntilExit(name:version:capabilities:isEnabled:disabledMessage:onLaunch:provider:)``:
[0;36m29 |[0;0m /// tools only, without prompt or resource advertisements.
[0;36m30 |[0;0m public static let stdioDefaultCapabilities = Server.Capabilities(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for static property declared in a public extension[0;0m
[0;36m31 |[0;0m tools: .init(listChanged: false)
[0;36m32 |[0;0m )
[107 / 134] MCPKit
[109 / 134] MCPKit
[114 / 135] MCPKit
[116 / 135] MCPKit
[121 / 140] MCPKitStdioFailureFixture-product
/host/spi-builder-workspace/Sources/MCPKit/StdioBootstrap.swift:30:5: [1;33mwarning: [1;39m'public' modifier is redundant for static property declared in a public extension[0;0m
[0;36m28 |[0;0m /// ``runOverStdioUntilExit(name:version:capabilities:isEnabled:disabledMessage:onLaunch:provider:)``:
[0;36m29 |[0;0m /// tools only, without prompt or resource advertisements.
[0;36m30 |[0;0m public static let stdioDefaultCapabilities = Server.Capabilities(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for static property declared in a public extension[0;0m
[0;36m31 |[0;0m tools: .init(listChanged: false)
[0;36m32 |[0;0m )
[130 / 146] MCPKit
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Tests/JSONLLogAppendFixture/main.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile main.swift
/host/spi-builder-workspace/Tests/JSONLLogAppendFixture/main.swift:21:85: [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m19 |[0;0m let count = Int(CommandLine.arguments[4])
[0;36m20 |[0;0m else {
[0;36m21 |[0;0m fputs("usage: JSONLLogAppendFixture <directory> <fileName> <writer> <count>\n", stderr)
[0;36m|[0;0m `- [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m22 |[0;0m exit(EXIT_FAILURE)
[0;36m23 |[0;0m }
/usr/include/stdio.h:151:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[0;36m153 |[0;0m #define stdin stdin
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Tests/JSONLLogAppendFixture/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/main.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/main.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/main.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/main.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name JSONLLogAppendFixture -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/JSONLLogAppendFixture_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/main.o -index-unit-output-path /MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/main.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[134 / 146] JSONLLogAppendFixture-product
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Tests/JSONLLogAppendFixture/main.swift:21:85: [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m19 |[0;0m let count = Int(CommandLine.arguments[4])
[0;36m20 |[0;0m else {
[0;36m21 |[0;0m fputs("usage: JSONLLogAppendFixture <directory> <fileName> <writer> <count>\n", stderr)
[0;36m|[0;0m `- [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m22 |[0;0m exit(EXIT_FAILURE)
[0;36m23 |[0;0m }
/usr/include/stdio.h:151:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[0;36m153 |[0;0m #define stdin stdin
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Tests/JSONLLogAppendFixture/main.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name JSONLLogAppendFixture -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/JSONLLogAppendFixture_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/Modules/JSONLLogAppendFixture.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/Modules/JSONLLogAppendFixture.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/JSONLLogAppendFixture-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/JSONLLogAppendFixture-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCPKit.build/Debug-linux-x86_64/JSONLLogAppendFixture-p.build/Objects-normal/x86_64/Modules/JSONLLogAppendFixture.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux