The Swift Package Index logo.Swift Package Index

Build Information

Successful build of mcp-swift-sdk, reference main (a0ae21), with Swift 6.0 for Linux on 29 Apr 2026 17:51:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.70.0
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 a0ae212 Improvements and fixes (#223)
Cloned https://github.com/modelcontextprotocol/swift-sdk.git
Revision (git rev-parse @):
a0ae212ebf6eab5f754c3129608bc5557637e605
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.0
Building package at path:  $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
[1/271] Fetching eventsource
[226/5872] Fetching eventsource, swift-system
[2187/12674] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/mattt/eventsource.git from cache (0.51s)
[3978/12403] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (0.84s)
Fetched https://github.com/apple/swift-log.git from cache (1.05s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (1.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.20s)
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.11.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/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/42] Emitting module SystemPackage
[7/46] Compiling Logging LogHandler.swift
[8/46] Compiling SystemPackage SystemString.swift
[9/46] Compiling SystemPackage Util+StringArray.swift
[10/46] Compiling SystemPackage Util.swift
[11/46] Compiling SystemPackage UtilConsumers.swift
[12/46] Compiling SystemPackage Errno.swift
[13/46] Compiling SystemPackage ErrnoWindows.swift
[14/46] Compiling SystemPackage FileDescriptor.swift
[15/46] Compiling SystemPackage FileHelpers.swift
[16/46] Compiling SystemPackage FileOperations.swift
[17/46] Compiling SystemPackage FilePath.swift
[18/46] Compiling SystemPackage FilePathComponentView.swift
[19/46] Compiling SystemPackage FilePathComponents.swift
[20/46] Compiling SystemPackage FilePathParsing.swift
[21/46] Compiling SystemPackage FilePathString.swift
[22/46] Compiling SystemPackage FilePathSyntax.swift
[23/46] Compiling SystemPackage FilePathTemp.swift
[24/46] Compiling SystemPackage FilePathTempPosix.swift
[25/46] Compiling SystemPackage FilePathTempWindows.swift
[26/46] Compiling SystemPackage Syscalls.swift
[27/46] Compiling SystemPackage WindowsSyscallAdapters.swift
[28/46] Compiling SystemPackage MachPort.swift
[29/46] Compiling SystemPackage PlatformString.swift
[30/46] Emitting module Logging
[31/46] Compiling Logging Locks.swift
[32/46] Compiling SystemPackage IORing.swift
[33/46] Compiling SystemPackage RawIORequest.swift
[34/46] Compiling SystemPackage Backcompat.swift
[35/46] Compiling SystemPackage CInterop.swift
[36/46] Compiling SystemPackage FilePathWindows.swift
[37/46] Compiling SystemPackage FilePermissions.swift
[38/46] Compiling SystemPackage IOCompletion.swift
[39/46] Compiling SystemPackage IORequest.swift
[40/46] Compiling SystemPackage Constants.swift
[41/46] Compiling SystemPackage Exports.swift
[42/46] Compiling SystemPackage Mocking.swift
[43/46] Compiling SystemPackage RawBuffer.swift
[45/47] Compiling Logging MetadataProvider.swift
[46/47] Compiling Logging Logging.swift
[47/47] Compiling Logging LogEvent.swift
[49/91] Compiling MCP StatefulHTTPServerTransport.swift
[50/91] Compiling MCP StatelessHTTPServerTransport.swift
[51/91] Compiling MCP InMemoryTransport.swift
[52/91] Compiling MCP NetworkTransport.swift
[53/91] Compiling MCP StdioTransport.swift
[54/91] Compiling MCP UnitInterval.swift
[55/91] Compiling MCP Cancellation.swift
[56/91] Compiling MCP Ping.swift
[57/91] Compiling MCP Progress.swift
[58/91] Compiling MCP RequestContext.swift
[59/91] Compiling MCP Value.swift
[60/91] Compiling MCP Versioning.swift
[61/91] Compiling MCP OAuthDiscoveryClient.swift
[62/91] Compiling MCP OAuthErrors.swift
[63/91] Compiling MCP OAuthModels.swift
[64/91] Compiling MCP OAuthTokenEndpointClient.swift
[65/91] Compiling MCP OAuthURLValidator.swift
[66/91] Compiling MCP OAuthWWWAuthenticateParser.swift
[67/91] Compiling MCP Messages.swift
[68/91] Compiling MCP PendingRequest.swift
[69/91] Compiling MCP Transport.swift
[70/91] Compiling MCP HTTPClientTransport.swift
[71/91] Compiling MCP HTTPRequestValidation.swift
[72/91] Compiling MCP HTTPServerTypes.swift
[73/96] Compiling MCP PKCE.swift
[74/96] Compiling MCP TokenStorage.swift
[75/96] Compiling MCP Error.swift
[76/96] Compiling MCP ID.swift
[77/96] Compiling MCP Icon.swift
[78/96] Compiling MCP Lifecycle.swift
[79/96] Compiling MCP OAuthAuthorizationCodeFlow.swift
[80/96] Compiling MCP OAuthAuthorizer.swift
[81/96] Compiling MCP OAuthClientRegistrar.swift
[82/96] Compiling MCP OAuthConfiguration.swift
[83/96] Compiling MCP OAuthConstants.swift
[84/96] Compiling MCP OAuthDiscovery.swift
[85/96] Emitting module MCP
[86/96] Compiling MCP Logging.swift
[87/96] Compiling MCP Prompts.swift
[88/96] Compiling MCP Resources.swift
[89/96] Compiling MCP Server.swift
[90/96] Compiling MCP Tools.swift
[91/96] Compiling MCP Client.swift
[92/96] Compiling MCP Elicitation.swift
[93/96] Compiling MCP Roots.swift
[94/96] Compiling MCP Sampling.swift
[95/96] Compiling MCP Data+Extensions.swift
[96/96] Compiling MCP Completion.swift
Build complete! (59.25s)
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:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Done.