The Swift Package Index logo.Swift Package Index

Build Information

Successful build of mcp-swift-sdk, reference main (e76d61), with Swift 6.3 for Linux on 16 Apr 2026 17:59:07 UTC.

Swift 6 data race errors: 0

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/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.3
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-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/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
[1/271] Fetching eventsource
[272/6876] Fetching eventsource, swift-log
[537/12477] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.98s)
Fetched https://github.com/apple/swift-system.git from cache (1.00s)
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (1.92s)
Fetching https://github.com/apple/swift-nio.git
[1/83162] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (12.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (13.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (4.84s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/23551] Fetching swift-collections
[2/25371] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.91s)
[1885/23551] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.19s)
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/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/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
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-24593BA9C3E375BF.txt
[4/5] Compiling CSystem shims.c
[6/42] Emitting module SystemPackage
[7/46] Compiling SystemPackage SystemString.swift
[8/46] Compiling SystemPackage Util+StringArray.swift
[9/46] Compiling SystemPackage Util.swift
[10/46] Compiling SystemPackage UtilConsumers.swift
[11/46] Compiling SystemPackage FilePathSyntax.swift
[12/46] Compiling SystemPackage FilePathTemp.swift
[13/46] Compiling SystemPackage FilePathTempPosix.swift
[14/46] Compiling SystemPackage FilePathTempWindows.swift
[15/46] Compiling SystemPackage FilePathWindows.swift
[16/46] Compiling SystemPackage FilePermissions.swift
[17/46] Compiling SystemPackage IOCompletion.swift
[18/46] Compiling SystemPackage IORequest.swift
[19/46] Compiling SystemPackage Errno.swift
[20/46] Compiling SystemPackage ErrnoWindows.swift
[21/46] Compiling SystemPackage FileDescriptor.swift
[22/46] Compiling SystemPackage FileHelpers.swift
[23/46] Compiling SystemPackage FileOperations.swift
[24/46] Compiling SystemPackage FilePath.swift
[25/46] Compiling SystemPackage FilePathComponentView.swift
[26/46] Compiling SystemPackage FilePathComponents.swift
[27/46] Compiling SystemPackage FilePathParsing.swift
[28/46] Compiling SystemPackage FilePathString.swift
[29/46] Compiling Logging MetadataProvider.swift
[30/46] Compiling SystemPackage Syscalls.swift
[31/46] Compiling SystemPackage WindowsSyscallAdapters.swift
[32/46] Compiling SystemPackage MachPort.swift
[33/46] Compiling SystemPackage PlatformString.swift
[34/46] Compiling Logging Locks.swift
[35/46] Emitting module Logging
[36/46] Compiling Logging LogHandler.swift
[37/46] Compiling Logging LogEvent.swift
[38/46] Compiling Logging Logging.swift
[40/47] Compiling SystemPackage Constants.swift
[41/47] Compiling SystemPackage Exports.swift
[42/47] Compiling SystemPackage Mocking.swift
[43/47] Compiling SystemPackage RawBuffer.swift
[44/47] Compiling SystemPackage IORing.swift
[45/47] Compiling SystemPackage RawIORequest.swift
[46/47] Compiling SystemPackage Backcompat.swift
[47/47] Compiling SystemPackage CInterop.swift
[49/67] Emitting module MCP
[50/69] Compiling MCP Error.swift
[51/69] Compiling MCP ID.swift
[52/69] Compiling MCP Lifecycle.swift
[53/69] Compiling MCP InMemoryTransport.swift
[54/69] Compiling MCP NetworkTransport.swift
[55/69] Compiling MCP StdioTransport.swift
[56/69] Compiling MCP Versioning.swift
[57/69] Compiling MCP Client.swift
[58/69] Compiling MCP Messages.swift
[59/69] Compiling MCP Transport.swift
[60/69] Compiling MCP HTTPClientTransport.swift
[61/69] Compiling MCP Prompts.swift
[62/69] Compiling MCP Resources.swift
[63/69] Compiling MCP Server.swift
/host/spi-builder-workspace/Sources/MCP/Server/Server.swift:267:44: warning: capture of non-Sendable type 'M.Type' in an isolated closure [#SendableMetatypes]
265 |     ) -> Self {
266 |         methodHandlers[M.name] = TypedRequestHandler { (request: Request<M>) -> Response<M> in
267 |             let result = try await handler(request.params)
    |                                            `- warning: capture of non-Sendable type 'M.Type' in an isolated closure [#SendableMetatypes]
268 |             return Response(id: request.id, result: result)
269 |         }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[64/69] Compiling MCP Tools.swift
/host/spi-builder-workspace/Sources/MCP/Server/Server.swift:267:44: warning: capture of non-Sendable type 'M.Type' in an isolated closure [#SendableMetatypes]
265 |     ) -> Self {
266 |         methodHandlers[M.name] = TypedRequestHandler { (request: Request<M>) -> Response<M> in
267 |             let result = try await handler(request.params)
    |                                            `- warning: capture of non-Sendable type 'M.Type' in an isolated closure [#SendableMetatypes]
268 |             return Response(id: request.id, result: result)
269 |         }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[65/69] Compiling MCP UnitInterval.swift
[66/69] Compiling MCP Ping.swift
[67/69] Compiling MCP Value.swift
[68/69] Compiling MCP Sampling.swift
[69/69] Compiling MCP Data+Extensions.swift
Build complete! (81.99s)
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.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
Done.