The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mcp-swift-sdk, reference main (c0ffca), with Swift 6.2 for Wasm on 20 Nov 2026 03:09:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build 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:         wasm
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-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ca91be8d07e73eaf6c1c75f7ec193e42b7ed6f24d327455e9ae77f96fb6433b0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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.49s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
[1/333] Fetching eventsource
[98/8876] Fetching eventsource, swift-log
[8877/12742] Fetching eventsource, swift-log, swift-docc-symbolkit
[12743/20361] Fetching eventsource, swift-log, swift-docc-symbolkit, swift-system
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
[9334/16495] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.68s)
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Fetched https://github.com/apple/swift-log.git from cache (0.68s)
[1/86950] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.07s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.28s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.6.0 (0.15s)
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.35s)
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.21s)
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at main (4c429d5)
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/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.6.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.7.6
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/53] Write sources
[16/53] Compiling CNIOWASI CNIOWASI.c
[17/53] Compiling CNIOWindows WSAStartup.c
[18/53] Compiling CNIOWindows shim.c
[19/53] Compiling CNIOPosix event_loop_id.c
[20/53] Compiling CNIOOpenBSD shim.c
[20/53] Compiling _AtomicsShims.c
[21/53] Compiling CSystem shims.c
[23/53] Compiling CNIOLinux shim.c
[24/53] Compiling CNIODarwin shim.c
[25/53] Compiling CNIOFreeBSD shim.c
[26/53] Write sources
[27/53] Compiling CNIOLinux liburing_shims.c
[28/53] Compiling CNIOLLHTTP c_nio_http.c
[29/53] Write swift-version-24593BA9C3E375BF.txt
[30/53] Compiling CNIOLLHTTP c_nio_api.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/139] 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`.
[33/140] Emitting module _NIODataStructures
[33/140] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/140] Emitting module SystemPackage
[35/163] Compiling c-nioatomics.c
[36/163] Compiling c-atomics.c
[38/170] Compiling Atomics AtomicReference.swift
[39/170] Compiling Atomics AtomicStorage.swift
[40/170] Compiling Atomics AtomicValue.swift
[41/170] Compiling Atomics AtomicMemoryOrderings.swift
[42/173] Emitting module InternalCollectionsUtilities
[43/173] Compiling Atomics OptionalRawRepresentable.swift
[44/173] Compiling Atomics RawRepresentable.swift
[45/173] Compiling Atomics AtomicBool.swift
[46/173] Compiling Atomics IntegerConformances.swift
[47/173] Compiling Atomics PointerConformances.swift
[48/173] Compiling Atomics Primitives.native.swift
[49/173] Compiling Atomics AtomicInteger.swift
[50/173] Compiling Atomics AtomicOptionalWrappable.swift
[57/173] Compiling SystemPackage SystemString.swift
[58/173] Compiling SystemPackage Util+StringArray.swift
[59/173] Compiling SystemPackage Util.swift
[60/173] Compiling SystemPackage UtilConsumers.swift
[61/173] Compiling SystemPackage WinSDK+Overlay.swift
[62/173] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[63/173] Compiling InternalCollectionsUtilities _SortedCollection.swift
[64/173] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/173] Compiling Logging LoggingSystem.swift
[66/173] Compiling SystemPackage MountFlags.swift
[67/173] Compiling SystemPackage Stat.swift
[68/173] Compiling SystemPackage StatFS.swift
[69/173] Compiling SystemPackage IOCompletion.swift
[70/173] Compiling Atomics UnsafeAtomicLazyReference.swift
[71/173] Compiling SystemPackage FileMode.swift
[72/173] Compiling SystemPackage FileType.swift
[73/173] Compiling SystemPackage Identifiers.swift
[74/173] Emitting module Atomics
[78/175] Compiling SystemPackage IORequest.swift
[79/175] Compiling SystemPackage IORing+Util.swift
[80/175] Compiling SystemPackage IORing.swift
[81/175] Compiling SystemPackage PollEvents.swift
[83/175] Emitting module _NIOBase64
[84/175] Compiling _NIOBase64 Base64.swift
[98/176] Compiling Atomics ManagedAtomic.swift
[99/176] Compiling Atomics ManagedAtomicLazyReference.swift
[101/176] Compiling Atomics DoubleWord.swift
[102/176] Compiling Atomics UnsafeAtomic.swift
[113/177] Compiling Atomics IntegerOperations.swift
[114/177] Compiling _NIODataStructures _TinyArray.swift
[115/177] Compiling _NIODataStructures PriorityQueue.swift
[123/177] Wrapping AST for _NIOBase64 for debugging
[126/177] Compiling SystemPackage Backcompat.swift
[127/177] Compiling SystemPackage CInterop.swift
[128/177] Compiling SystemPackage Constants.swift
[129/177] Compiling SystemPackage Exports.swift
[130/177] Compiling SystemPackage Mocking.swift
[133/177] Compiling SystemPackage WindowsSyscallAdapters.swift
[134/177] Compiling SystemPackage MachPort.swift
[135/177] Compiling SystemPackage PlatformString.swift
[136/177] Compiling Logging MetadataProvider.swift
[137/177] Compiling NIOConcurrencyHelpers lock.swift
[138/177] Compiling NIOConcurrencyHelpers NIOLockedValueBox.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`.
/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`.
[140/177] Wrapping AST for InternalCollectionsUtilities for debugging
[142/181] Compiling Atomics Unmanaged extensions.swift
[149/182] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[150/182] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[151/182] Compiling SpanPreview InputSpan.swift
[152/182] Emitting module SpanPreview
[155/183] Compiling Logging Logger.swift
[156/183] Compiling Logging Logger+Attributes.swift
[157/183] Compiling Logging Logger+With.swift
[160/184] Wrapping AST for SpanPreview for debugging
[160/184] Wrapping AST for SystemPackage for debugging
[161/184] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
BUILD FAILURE 6.2 wasm