The Swift Package Index logo.Swift Package Index

Build Information

Successful build of mcp-swift-sdk, reference 0.12.0 (6132fd), with Swift 6.0 for Linux on 24 Mar 2026 13:02:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modelcontextprotocol/swift-sdk.git
Reference: 0.12.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/modelcontextprotocol/swift-sdk
 * tag               0.12.0     -> FETCH_HEAD
HEAD is now at 6132fd4 V0.12.x  (#215)
Cloned https://github.com/modelcontextprotocol/swift-sdk.git
Revision (git rev-parse @):
6132fd4b5b4217ce4717c4775e4607f5c3120129
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ece747c77e94bae4930a5e18230daf779deb87c9e35c56d75daa73885bd2cdd2
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.28s)
[1/5601] Fetching swift-system
[2074/11874] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (1.39s)
Fetched https://github.com/apple/swift-log.git from cache (1.39s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.98s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.72s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.78s)
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
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Building for debugging...
[0/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/41] Emitting module SystemPackage
[7/45] Compiling SystemPackage SystemString.swift
[8/45] Compiling SystemPackage Util+StringArray.swift
[9/45] Compiling SystemPackage Util.swift
[10/45] Compiling SystemPackage UtilConsumers.swift
[11/45] Compiling SystemPackage FilePathSyntax.swift
[12/45] Compiling SystemPackage FilePathTemp.swift
[13/45] Compiling SystemPackage FilePathTempPosix.swift
[14/45] Compiling SystemPackage FilePathTempWindows.swift
[15/45] Compiling SystemPackage FilePath.swift
[16/45] Compiling SystemPackage FilePathComponentView.swift
[17/45] Compiling SystemPackage FilePathComponents.swift
[18/45] Compiling SystemPackage FilePathParsing.swift
[19/45] Compiling SystemPackage FilePathString.swift
[20/45] Compiling SystemPackage FilePathWindows.swift
[21/45] Compiling SystemPackage FilePermissions.swift
[22/45] Compiling SystemPackage IOCompletion.swift
[23/45] Compiling SystemPackage IORequest.swift
[24/45] Compiling SystemPackage IORing.swift
[25/45] Compiling SystemPackage RawIORequest.swift
[26/45] Compiling SystemPackage Backcompat.swift
[27/45] Compiling SystemPackage CInterop.swift
[28/45] Compiling SystemPackage Errno.swift
[29/45] Compiling SystemPackage ErrnoWindows.swift
[30/45] Compiling SystemPackage FileDescriptor.swift
[31/45] Compiling SystemPackage FileHelpers.swift
[32/45] Compiling SystemPackage FileOperations.swift
[33/45] Compiling SystemPackage Constants.swift
[34/45] Compiling SystemPackage Exports.swift
[35/45] Compiling SystemPackage Mocking.swift
[36/45] Compiling SystemPackage RawBuffer.swift
[37/45] Compiling SystemPackage Syscalls.swift
[38/45] Compiling SystemPackage WindowsSyscallAdapters.swift
[39/45] Compiling SystemPackage MachPort.swift
[40/45] Compiling SystemPackage PlatformString.swift
[41/46] Compiling Logging MetadataProvider.swift
[43/46] Compiling Logging LogHandler.swift
[44/46] Compiling Logging Locks.swift
[45/46] Emitting module Logging
[46/46] Compiling Logging Logging.swift
[48/90] Compiling MCP PKCE.swift
[49/90] Compiling MCP TokenStorage.swift
[50/90] Compiling MCP Error.swift
[51/90] Compiling MCP ID.swift
[52/90] Compiling MCP Icon.swift
[53/90] Compiling MCP Lifecycle.swift
[54/90] Emitting module MCP
[55/95] Compiling MCP Cancellation.swift
[56/95] Compiling MCP Ping.swift
[57/95] Compiling MCP Progress.swift
[58/95] Compiling MCP RequestContext.swift
[59/95] Compiling MCP Value.swift
[60/95] Compiling MCP Versioning.swift
[61/95] Compiling MCP OAuthDiscoveryClient.swift
[62/95] Compiling MCP OAuthErrors.swift
[63/95] Compiling MCP OAuthModels.swift
[64/95] Compiling MCP OAuthTokenEndpointClient.swift
[65/95] Compiling MCP OAuthURLValidator.swift
[66/95] Compiling MCP OAuthWWWAuthenticateParser.swift
[67/95] Compiling MCP OAuthAuthorizationCodeFlow.swift
[68/95] Compiling MCP OAuthAuthorizer.swift
[69/95] Compiling MCP OAuthClientRegistrar.swift
[70/95] Compiling MCP OAuthConfiguration.swift
[71/95] Compiling MCP OAuthConstants.swift
[72/95] Compiling MCP OAuthDiscovery.swift
[73/95] Compiling MCP Logging.swift
[74/95] Compiling MCP Prompts.swift
[75/95] Compiling MCP Resources.swift
[76/95] Compiling MCP Server.swift
[77/95] Compiling MCP Tools.swift
[78/95] Compiling MCP Messages.swift
[79/95] Compiling MCP PendingRequest.swift
[80/95] Compiling MCP Transport.swift
[81/95] Compiling MCP HTTPClientTransport.swift
[82/95] Compiling MCP HTTPRequestValidation.swift
[83/95] Compiling MCP HTTPServerTypes.swift
[84/95] Compiling MCP Client.swift
[85/95] Compiling MCP Elicitation.swift
[86/95] Compiling MCP Roots.swift
[87/95] Compiling MCP Sampling.swift
[88/95] Compiling MCP Data+Extensions.swift
[89/95] Compiling MCP Completion.swift
[90/95] Compiling MCP StatefulHTTPServerTransport.swift
[91/95] Compiling MCP StatelessHTTPServerTransport.swift
[92/95] Compiling MCP InMemoryTransport.swift
[93/95] Compiling MCP NetworkTransport.swift
[94/95] Compiling MCP StdioTransport.swift
[95/95] Compiling MCP UnitInterval.swift
Build complete! (26.36s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "eventsource",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/eventsource.git"
    }
  ],
  "manifest_display_name" : "mcp-swift-sdk",
  "name" : "mcp-swift-sdk",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "MCP",
      "targets" : [
        "MCP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MCPTests",
      "module_type" : "SwiftTarget",
      "name" : "MCPTests",
      "path" : "Tests/MCPTests",
      "product_dependencies" : [
        "SystemPackage",
        "Logging",
        "EventSource"
      ],
      "sources" : [
        "Base64DataTests.swift",
        "CancellationTests.swift",
        "ClientTests.swift",
        "CompletionTests.swift",
        "ElicitationTests.swift",
        "HTTPClientTransportTests.swift",
        "HTTPServerTransportTests.swift",
        "Helpers/MockTransport.swift",
        "IDTests.swift",
        "InMemoryTransportTests.swift",
        "LoggingTests.swift",
        "MetaFieldsTests.swift",
        "MockResponses.swift",
        "NetworkTransportTests.swift",
        "NotificationTests.swift",
        "OAuthAuthorizationCodeFlowTests.swift",
        "OAuthAuthorizationTests.swift",
        "OAuthAuthorizerTests.swift",
        "OAuthClientRegistrarTests.swift",
        "OAuthComponentTestHelpers.swift",
        "OAuthDiscoveryClientTests.swift",
        "OAuthTestScenarios.swift",
        "OAuthTokenEndpointClientTests.swift",
        "OAuthURLValidatorTests.swift",
        "ProgressTests.swift",
        "PromptTests.swift",
        "RequestTests.swift",
        "ResourceTests.swift",
        "ResponseTests.swift",
        "RootsTests.swift",
        "RoundtripTests.swift",
        "SamplingTests.swift",
        "ServerTests.swift",
        "StdioTransportTests.swift",
        "ToolTests.swift",
        "UnitIntervalTests.swift",
        "VersioningTests.swift"
      ],
      "target_dependencies" : [
        "MCP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MCP",
      "module_type" : "SwiftTarget",
      "name" : "MCP",
      "path" : "Sources/MCP",
      "product_dependencies" : [
        "SystemPackage",
        "Logging",
        "EventSource"
      ],
      "product_memberships" : [
        "MCP"
      ],
      "sources" : [
        "Base/Authorization/OAuthAuthorizationCodeFlow.swift",
        "Base/Authorization/OAuthAuthorizer.swift",
        "Base/Authorization/OAuthClientRegistrar.swift",
        "Base/Authorization/OAuthConfiguration.swift",
        "Base/Authorization/OAuthConstants.swift",
        "Base/Authorization/OAuthDiscovery.swift",
        "Base/Authorization/OAuthDiscoveryClient.swift",
        "Base/Authorization/OAuthErrors.swift",
        "Base/Authorization/OAuthModels.swift",
        "Base/Authorization/OAuthTokenEndpointClient.swift",
        "Base/Authorization/OAuthURLValidator.swift",
        "Base/Authorization/OAuthWWWAuthenticateParser.swift",
        "Base/Authorization/PKCE.swift",
        "Base/Authorization/TokenStorage.swift",
        "Base/Error.swift",
        "Base/ID.swift",
        "Base/Icon.swift",
        "Base/Lifecycle.swift",
        "Base/Messages.swift",
        "Base/PendingRequest.swift",
        "Base/Transport.swift",
        "Base/Transports/HTTPClientTransport.swift",
        "Base/Transports/HTTPServer/HTTPRequestValidation.swift",
        "Base/Transports/HTTPServer/HTTPServerTypes.swift",
        "Base/Transports/HTTPServer/StatefulHTTPServerTransport.swift",
        "Base/Transports/HTTPServer/StatelessHTTPServerTransport.swift",
        "Base/Transports/InMemoryTransport.swift",
        "Base/Transports/NetworkTransport.swift",
        "Base/Transports/StdioTransport.swift",
        "Base/UnitInterval.swift",
        "Base/Utilities/Cancellation.swift",
        "Base/Utilities/Ping.swift",
        "Base/Utilities/Progress.swift",
        "Base/Utilities/RequestContext.swift",
        "Base/Value.swift",
        "Base/Versioning.swift",
        "Client/Client.swift",
        "Client/Elicitation.swift",
        "Client/Roots.swift",
        "Client/Sampling.swift",
        "Extensions/Data+Extensions.swift",
        "Server/Completion.swift",
        "Server/Logging.swift",
        "Server/Prompts.swift",
        "Server/Resources.swift",
        "Server/Server.swift",
        "Server/Tools.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ece747c77e94bae4930a5e18230daf779deb87c9e35c56d75daa73885bd2cdd2
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Done.