The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMCP, reference 1.1.0 (86810b), with Swift 6.3 for Linux on 16 Apr 2026 22:38:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sutheesh/SwiftMCP.git
Reference: 1.1.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/sutheesh/SwiftMCP
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 86810bd Release 1.1.0
Cloned https://github.com/sutheesh/SwiftMCP.git
Revision (git rev-parse @):
86810bda9906dbde8a8d93da417ea1aada1aed59
SUCCESS checkout https://github.com/sutheesh/SwiftMCP.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sutheesh/SwiftMCP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/3447] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.53s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.12.0 (1.02s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
[1/271] Fetching eventsource
[272/6882] Fetching eventsource, swift-log
[2057/12483] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.31s)
[2916/12212] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
[1/83162] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.68s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (8.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (2.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.48s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[693/25372] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
[1885/23552] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.63s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.38s)
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/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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at 0.12.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.6.4
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-24593BA9C3E375BF.txt
[5/6] Compiling CSystem shims.c
[7/43] Emitting module SystemPackage
[8/47] Compiling SystemPackage SystemString.swift
[9/47] Compiling SystemPackage Util+StringArray.swift
[10/47] Compiling SystemPackage Util.swift
[11/47] Compiling SystemPackage UtilConsumers.swift
[12/47] Compiling SystemPackage FilePathWindows.swift
[13/47] Compiling SystemPackage FilePermissions.swift
[14/47] Compiling SystemPackage IOCompletion.swift
[15/47] Compiling SystemPackage IORequest.swift
[16/47] Compiling Logging LogHandler.swift
[17/47] Compiling SystemPackage Errno.swift
[18/47] Compiling SystemPackage ErrnoWindows.swift
[19/47] Compiling SystemPackage FileDescriptor.swift
[20/47] Compiling SystemPackage FileHelpers.swift
[21/47] Compiling SystemPackage FileOperations.swift
[22/47] Compiling SystemPackage FilePath.swift
[23/47] Compiling SystemPackage FilePathComponentView.swift
[24/47] Compiling SystemPackage FilePathComponents.swift
[25/47] Compiling SystemPackage FilePathParsing.swift
[26/47] Compiling SystemPackage FilePathString.swift
[27/47] Compiling SystemPackage Syscalls.swift
[28/47] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/47] Compiling SystemPackage MachPort.swift
[30/47] Compiling SystemPackage PlatformString.swift
[31/47] Compiling SystemPackage Constants.swift
[32/47] Compiling SystemPackage Exports.swift
[33/47] Compiling SystemPackage Mocking.swift
[34/47] Compiling SystemPackage RawBuffer.swift
[35/47] Compiling Logging MetadataProvider.swift
[36/47] Emitting module Logging
[37/47] Compiling Logging Locks.swift
[38/47] Compiling Logging LogEvent.swift
[39/47] Compiling Logging Logging.swift
[41/48] Compiling SystemPackage IORing.swift
[42/48] Compiling SystemPackage RawIORequest.swift
[43/48] Compiling SystemPackage Backcompat.swift
[44/48] Compiling SystemPackage CInterop.swift
[45/48] Compiling SystemPackage FilePathSyntax.swift
[46/48] Compiling SystemPackage FilePathTemp.swift
[47/48] Compiling SystemPackage FilePathTempPosix.swift
[48/48] Compiling SystemPackage FilePathTempWindows.swift
[50/92] Emitting module MCP
[51/92] Compiling MCP Cancellation.swift
[52/92] Compiling MCP Ping.swift
[53/92] Compiling MCP Progress.swift
[54/92] Compiling MCP RequestContext.swift
[55/92] Compiling MCP Value.swift
[56/92] Compiling MCP Versioning.swift
[57/97] Compiling MCP OAuthDiscoveryClient.swift
[58/97] Compiling MCP OAuthErrors.swift
[59/97] Compiling MCP OAuthModels.swift
[60/97] Compiling MCP OAuthTokenEndpointClient.swift
[61/97] Compiling MCP OAuthURLValidator.swift
[62/97] Compiling MCP OAuthWWWAuthenticateParser.swift
[63/97] Compiling MCP PKCE.swift
[64/97] Compiling MCP TokenStorage.swift
[65/97] Compiling MCP Error.swift
[66/97] Compiling MCP ID.swift
[67/97] Compiling MCP Icon.swift
[68/97] Compiling MCP Lifecycle.swift
[69/97] Compiling MCP StatefulHTTPServerTransport.swift
[70/97] Compiling MCP StatelessHTTPServerTransport.swift
[71/97] Compiling MCP InMemoryTransport.swift
[72/97] Compiling MCP NetworkTransport.swift
[73/97] Compiling MCP StdioTransport.swift
[74/97] Compiling MCP UnitInterval.swift
[75/97] Compiling MCP Messages.swift
[76/97] Compiling MCP PendingRequest.swift
[77/97] Compiling MCP Transport.swift
[78/97] Compiling MCP HTTPClientTransport.swift
[79/97] Compiling MCP HTTPRequestValidation.swift
[80/97] Compiling MCP HTTPServerTypes.swift
[81/97] Compiling MCP OAuthAuthorizationCodeFlow.swift
[82/97] Compiling MCP OAuthAuthorizer.swift
[83/97] Compiling MCP OAuthClientRegistrar.swift
[84/97] Compiling MCP OAuthConfiguration.swift
[85/97] Compiling MCP OAuthConstants.swift
[86/97] Compiling MCP OAuthDiscovery.swift
[87/97] Compiling MCP Logging.swift
[88/97] Compiling MCP Prompts.swift
[89/97] Compiling MCP Resources.swift
[90/97] Compiling MCP Server.swift
[91/97] Compiling MCP Tools.swift
[92/97] Compiling MCP Client.swift
[93/97] Compiling MCP Elicitation.swift
[94/97] Compiling MCP Roots.swift
[95/97] Compiling MCP Sampling.swift
[96/97] Compiling MCP Data+Extensions.swift
[97/97] Compiling MCP Completion.swift
[99/108] Compiling SwiftMCP MCPToolBridge.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[100/109] Compiling SwiftMCP MCPSessionManager.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[101/109] Compiling SwiftMCP MCPServerConfig.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[102/109] Compiling SwiftMCP MCPToolRegistry.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[103/109] Compiling SwiftMCP MCPLogger.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[104/109] Compiling SwiftMCP ResultConverter.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[105/109] Compiling SwiftMCP SchemaConverter.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[106/109] Compiling SwiftMCP SwiftMCP.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[107/109] Emitting module SwiftMCP
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[108/109] Compiling SwiftMCP ArgumentParser.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
[109/109] Compiling SwiftMCP MCPToFoundationTool.swift
/host/spi-builder-workspace/Sources/SwiftMCP/Logging/MCPLogger.swift:1:8: error: no such module 'OSLog'
 1 | import OSLog
   |        `- error: no such module 'OSLog'
 2 |
 3 | /// Controls SwiftMCP's structured log output.
BUILD FAILURE 6.3 linux