Build Information
Failed to build mcp-swift-sdk, reference main (c0ffca), with Swift 6.2 for Linux on 20 Nov 2026 03:05:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modelcontextprotocol/swift-sdk.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/modelcontextprotocol/swift-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c0ffca7 docs: update README to match the current API (#331)
Cloned https://github.com/modelcontextprotocol/swift-sdk.git
Revision (git rev-parse @):
c0ffca7b7d564aa750203988782d1f9966893a00
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/modelcontextprotocol/swift-sdk.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:448fd83fd52215d086a1e24a6dfef7af36c159759f7d20bea90a3c7c927de91e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2381] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.51s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-system.git
[1/333] Fetching eventsource
[98/8876] Fetching eventsource, swift-log
[8877/16495] Fetching eventsource, swift-log, swift-system
[9411/20361] Fetching eventsource, swift-log, swift-system, swift-docc-symbolkit
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
[11389/12742] Fetching eventsource, swift-log, swift-docc-symbolkit
Fetched https://github.com/mattt/eventsource.git from cache (0.75s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.76s)
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
[1/86950] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.12s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.32s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.6.0 (0.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.34s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1936] Fetching swift-atomics
[1937/32281] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.27s)
Fetched https://github.com/apple/swift-collections.git from cache (1.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.22s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
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.6
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.6.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at main (4c429d5)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/57] Write sources
[18/57] Compiling CNIOWindows shim.c
[19/57] Compiling CNIOWASI CNIOWASI.c
[19/57] Compiling CNIOWindows WSAStartup.c
[21/57] Compiling _AtomicsShims.c
[22/57] Compiling CNIOPosix event_loop_id.c
[23/57] Compiling CNIOOpenBSD shim.c
[24/57] Compiling CNIOLinux liburing_shims.c
[25/57] Compiling CNIOFreeBSD shim.c
[26/57] Compiling CNIODarwin shim.c
[27/57] Compiling CNIOLLHTTP c_nio_http.c
[28/57] Write sources
[29/57] Compiling CSystem shims.c
[30/57] Write swift-version-24593BA9C3E375BF.txt
[31/57] Compiling CNIOLLHTTP c_nio_api.c
[32/57] Compiling CNIOLinux shim.c
[33/143] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/161] Emitting module _NIOBase64
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/161] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[37/162] Emitting module _NIODataStructures
[37/162] Compiling c-nioatomics.c
[39/162] Emitting module Atomics
[39/164] Compiling c-atomics.c
[41/171] Compiling Atomics UnsafeAtomic.swift
[42/171] Compiling Atomics UnsafeAtomicLazyReference.swift
[43/171] Compiling Atomics AtomicStorage.swift
[44/171] Compiling Atomics AtomicValue.swift
[45/171] Compiling Atomics Primitives.native.swift
[49/174] Compiling Atomics IntegerOperations.swift
[50/174] Compiling Atomics Unmanaged extensions.swift
[51/174] Compiling _NIODataStructures _TinyArray.swift
[52/174] Compiling _NIODataStructures PriorityQueue.swift
[53/174] Compiling Atomics ManagedAtomicLazyReference.swift
[56/174] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[58/174] Compiling Atomics AtomicMemoryOrderings.swift
[59/174] Compiling Atomics DoubleWord.swift
[60/174] Compiling Atomics ManagedAtomic.swift
[61/174] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[62/174] Compiling InternalCollectionsUtilities _SortedCollection.swift
[63/174] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[64/174] Compiling Atomics AtomicInteger.swift
[65/174] Compiling Atomics AtomicOptionalWrappable.swift
[66/174] Compiling Atomics AtomicReference.swift
[69/174] Compiling Atomics IntegerConformances.swift
[70/174] Compiling Atomics PointerConformances.swift
[74/174] Compiling Atomics OptionalRawRepresentable.swift
[75/174] Compiling Atomics RawRepresentable.swift
[76/174] Compiling Atomics AtomicBool.swift
[82/174] Emitting module InternalCollectionsUtilities
[83/174] Compiling Logging LoggingSystem.swift
[88/175] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[89/175] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[90/175] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[91/175] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[92/175] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[93/175] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[94/175] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[95/175] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[102/176] Emitting module SystemPackage
[106/181] Compiling Logging Logger.swift
[107/181] Compiling Logging Logger+With.swift
[108/181] Compiling Logging Logger+Attributes.swift
[109/181] Compiling _NIOBase64 Base64.swift
[109/182] Wrapping AST for Atomics for debugging
[111/182] Wrapping AST for InternalCollectionsUtilities for debugging
[112/186] Wrapping AST for _NIOBase64 for debugging
[114/186] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[115/186] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[116/186] Compiling SpanPreview InputSpan.swift
[117/186] Emitting module SpanPreview
[118/187] Wrapping AST for SpanPreview for debugging
[120/229] Compiling DequeModule RigidDeque+Prepend.swift
[121/229] Compiling DequeModule RigidDeque+Removals.swift
[122/229] Compiling DequeModule RigidDeque+Replacements.swift
[123/229] Compiling DequeModule RigidDeque+Testing.swift
[124/229] Compiling DequeModule RigidDeque.swift
[125/229] Compiling DequeModule UniqueDeque+Append.swift
[126/229] Compiling DequeModule Deque+Extras.swift
[127/229] Compiling DequeModule Deque+Hashable.swift
[128/229] Compiling DequeModule Deque+Testing.swift
[129/229] Compiling DequeModule Deque._Storage.swift
[130/229] Compiling DequeModule Deque._UnsafeHandle.swift
[131/229] Compiling DequeModule Deque+Codable.swift
[132/229] Compiling DequeModule Deque+Collection.swift
[133/229] Compiling DequeModule _DequeBuffer.swift
[134/229] Compiling DequeModule _DequeBufferHeader.swift
[135/229] Compiling DequeModule RigidDeque+Append.swift
[136/229] Compiling DequeModule RigidDeque+Consumption.swift
[137/229] Compiling DequeModule RigidDeque+ContainerOperations.swift
[138/229] Compiling DequeModule RigidDeque+Deprecations.swift
[145/234] Compiling DequeModule RigidDeque+Insertions.swift
[146/234] Compiling DequeModule RigidDeque+Iterable.swift
[147/234] Compiling DequeModule UniqueDeque+Initializers.swift
[148/234] Compiling DequeModule UniqueDeque+Insertions.swift
[149/234] Compiling DequeModule UniqueDeque+Iterable.swift
[150/234] Compiling DequeModule Deque+CustomReflectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[151/234] Compiling DequeModule Deque+Descriptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[152/234] Compiling Logging MetadataProvider.swift
[153/234] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[154/234] Compiling NIOConcurrencyHelpers NIOLock.swift
[155/234] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[156/234] Emitting module NIOConcurrencyHelpers
BUILD FAILURE 6.2 linux