The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of mcp-swift-sdk, reference main (e76d61), with Swift 6.0 for Linux on 13 Aug 2025 09:22:42 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/swift-mcp-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/ShenghaiWang/swift-mcp-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e76d611 Bump version to 0.10.0
Cloned https://github.com/ShenghaiWang/swift-mcp-sdk.git
Revision (git rev-parse @):
e76d61155bf00482ea8f2ff78fca08a4eece410e
SUCCESS checkout https://github.com/ShenghaiWang/swift-mcp-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ShenghaiWang/swift-mcp-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/110] Fetching eventsource
[111/4988] Fetching eventsource, swift-system
[941/8874] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/mattt/eventsource.git from cache (0.58s)
[8298/8764] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.1.1 (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.76s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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.2
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.1.1
Building for debugging...
[0/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/41] Compiling Logging LogHandler.swift
[7/41] Compiling SystemPackage FilePathSyntax.swift
[8/41] Compiling SystemPackage FilePathTemp.swift
[9/41] Compiling SystemPackage FilePathTempPosix.swift
[10/41] Compiling SystemPackage FilePathTempWindows.swift
[11/45] Emitting module SystemPackage
[12/45] Compiling SystemPackage Errno.swift
[13/45] Compiling SystemPackage ErrnoWindows.swift
[14/45] Compiling SystemPackage FileDescriptor.swift
[15/45] Compiling SystemPackage FileHelpers.swift
[16/45] Compiling SystemPackage FileOperations.swift
[17/45] Compiling SystemPackage Syscalls.swift
[18/45] Compiling SystemPackage WindowsSyscallAdapters.swift
[19/45] Compiling SystemPackage MachPort.swift
[20/45] Compiling SystemPackage PlatformString.swift
[21/45] Compiling SystemPackage FilePath.swift
[22/45] Compiling SystemPackage FilePathComponentView.swift
[23/45] Compiling SystemPackage FilePathComponents.swift
[24/45] Compiling SystemPackage FilePathParsing.swift
[25/45] Compiling SystemPackage FilePathString.swift
[26/45] Compiling SystemPackage FilePathWindows.swift
[27/45] Compiling SystemPackage FilePermissions.swift
[28/45] Compiling SystemPackage IOCompletion.swift
[29/45] Compiling SystemPackage IORequest.swift
[30/45] Compiling Logging MetadataProvider.swift
[31/45] Emitting module Logging
[32/45] Compiling SystemPackage IORing.swift
[33/45] Compiling SystemPackage RawIORequest.swift
[34/45] Compiling SystemPackage Backcompat.swift
[35/45] Compiling SystemPackage CInterop.swift
[36/45] Compiling SystemPackage Constants.swift
[37/45] Compiling SystemPackage Exports.swift
[38/45] Compiling SystemPackage Mocking.swift
[39/45] Compiling SystemPackage RawBuffer.swift
[40/45] Compiling Logging Locks.swift
[41/45] Compiling Logging Logging.swift
[42/46] Compiling SystemPackage SystemString.swift
[43/46] Compiling SystemPackage Util+StringArray.swift
[44/46] Compiling SystemPackage Util.swift
[45/46] Compiling SystemPackage UtilConsumers.swift
[48/66] Emitting module MCP
[49/68] Compiling MCP Error.swift
[50/68] Compiling MCP ID.swift
[51/68] Compiling MCP Lifecycle.swift
[52/68] Compiling MCP UnitInterval.swift
[53/68] Compiling MCP Ping.swift
[54/68] Compiling MCP Value.swift
[55/68] Compiling MCP Versioning.swift
[56/68] Compiling MCP Client.swift
[57/68] Compiling MCP Messages.swift
[58/68] Compiling MCP Transport.swift
[59/68] Compiling MCP HTTPClientTransport.swift
[60/68] Compiling MCP Server.swift
[61/68] Compiling MCP Tools.swift
[62/68] Compiling MCP Prompts.swift
[63/68] Compiling MCP Resources.swift
[64/68] Compiling MCP InMemoryTransport.swift
[65/68] Compiling MCP NetworkTransport.swift
[66/68] Compiling MCP StdioTransport.swift
[67/68] Compiling MCP Sampling.swift
[68/68] Compiling MCP Data+Extensions.swift
Build complete! (24.13s)
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",
        "ClientTests.swift",
        "HTTPClientTransportTests.swift",
        "Helpers/MockTransport.swift",
        "IDTests.swift",
        "InMemoryTransportTests.swift",
        "NetworkTransportTests.swift",
        "NotificationTests.swift",
        "PromptTests.swift",
        "RequestTests.swift",
        "ResourceTests.swift",
        "ResponseTests.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/Error.swift",
        "Base/ID.swift",
        "Base/Lifecycle.swift",
        "Base/Messages.swift",
        "Base/Transport.swift",
        "Base/Transports/HTTPClientTransport.swift",
        "Base/Transports/InMemoryTransport.swift",
        "Base/Transports/NetworkTransport.swift",
        "Base/Transports/StdioTransport.swift",
        "Base/UnitInterval.swift",
        "Base/Utilities/Ping.swift",
        "Base/Value.swift",
        "Base/Versioning.swift",
        "Client/Client.swift",
        "Client/Sampling.swift",
        "Extensions/Data+Extensions.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 finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.