The Swift Package Index logo.Swift Package Index

Build Information

Successful build of mcp-stdio-swift, reference main (1a5e0b), with Swift 6.4 for Linux on 23 Sep 2026 19:46:23 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xbill9/mcp-stdio-swift.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/xbill9/mcp-stdio-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1a5e0bc add settings.json for gemini cli
Cloned https://github.com/xbill9/mcp-stdio-swift.git
Revision (git rev-parse @):
1a5e0bc4601b79bafc196f7e1bd4bca79d0a8227
SUCCESS checkout https://github.com/xbill9/mcp-stdio-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/xbill9/mcp-stdio-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/8165] Fetching swift-log
[1879/11008] Fetching swift-log, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.56s)
Fetched https://github.com/apple/swift-log.git (0.56s)
[1/3782] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk (0.78s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.12.1 (0.96s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git (0.51s)
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.74s)
[1/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.23s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (3.40s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.17s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.90s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.24s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.95s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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.103.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.15.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.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.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.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.8.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at 0.12.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 393]
[Planning deferred tasks]
[84 / 167]
[98 / 200] SystemPackage
[99 / 200] ConcurrencyHelpers
[100 / 200] InternalCollectionsUtilities
[116 / 200] SystemPackage
[116 / 200] Logging
[123 / 200] Logging
[124 / 200] SystemPackage
[125 / 200] SystemPackage-product
[129 / 201] Logging-product
[131 / 201] MCP
[134 / 201] InternalCollectionsUtilities
[137 / 201] InternalCollectionsUtilities
[139 / 202] InternalCollectionsUtilities
[147 / 204] SpanPreview
[153 / 211] SpanPreview
[167 / 214]
[175 / 242] MCP
[176 / 243] DequeModule
[178 / 244] OrderedCollections
[181 / 244] UnixSignals
[182 / 244] OrderedCollections
[185 / 244] MCP
[187 / 244] MCP
[187 / 244] OrderedCollections
[189 / 245] MCP
[200 / 245] OrderedCollections-product
[203 / 246] SystemPackage
[209 / 246] SystemPackage
[214 / 246] DequeModule
[219 / 246] DequeModule-product
[221 / 246] DequeModule-product
[224 / 246]
[229 / 256] AsyncAlgorithms
[230 / 256] AsyncAlgorithms
[231 / 256] AsyncAlgorithms
[232 / 256] AsyncAlgorithms
[232 / 256] DequeModule
[234 / 257] DequeModule
[242 / 257] AsyncAlgorithms
[245 / 267] ServiceLifecycle
[246 / 267] ServiceLifecycle
[249 / 267] ServiceLifecycle
[253 / 267] ServiceLifecycle
[255 / 267] ServiceLifecycle-product
[256 / 267] AsyncAlgorithms
/host/spi-builder-workspace/Sources/mcp-stdio-swift/JSONLogHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 2 | import Logging
 3 |
 4 | public struct JSONLogHandler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5 |   public var logLevel: Logger.Level = .info
 6 |   public var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[260 / 273] mcp-stdio-swift-product
[263 / 273] mcp-stdio-swift-product
[264 / 273] AsyncAlgorithms
/host/spi-builder-workspace/Sources/mcp-stdio-swift/JSONLogHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 2 | import Logging
 3 |
 4 | public struct JSONLogHandler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5 |   public var logLevel: Logger.Level = .info
 6 |   public var metadata: Logger.Metadata = [:]
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/mcp-stdio-swift/Handlers.swift:36:31: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
34 |   func callTool(_ params: CallTool.Parameters) async throws -> CallTool.Result {
35 |     guard let tool = ToolName(rawValue: params.name) else {
36 |       return .init(content: [.text("Unknown tool: \(params.name)")], isError: true)
   |                               `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
37 |     }
38 |
/host/spi-builder-workspace/Sources/mcp-stdio-swift/Handlers.swift:44:33: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
42 |
43 |       guard let param = params.arguments?["param"]?.stringValue else {
44 |         return .init(content: [.text("Missing required parameter: param")], isError: true)
   |                                 `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
45 |       }
46 |
/host/spi-builder-workspace/Sources/mcp-stdio-swift/Handlers.swift:48:20: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
46 |
47 |       return .init(
48 |         content: [.text(param)],
   |                    `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
49 |         isError: false
50 |       )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[267 / 274] mcp-stdio-swift-product
[272 / 276] AsyncAlgorithms
[273 / 276] MCP
[277 / 277] mcp-stdio-swift-product
Build complete! (15.73 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/modelcontextprotocol/swift-sdk"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.6.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "mcp-stdio-swift",
  "name" : "mcp-stdio-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "mcp-stdio-swift",
      "targets" : [
        "mcp-stdio-swift"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "mcp_stdio_swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "mcp-stdio-swiftTests",
      "path" : "Tests/mcp-stdio-swiftTests",
      "sources" : [
        "HandlersTests.swift"
      ],
      "target_dependencies" : [
        "mcp-stdio-swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "mcp_stdio_swift",
      "module_type" : "SwiftTarget",
      "name" : "mcp-stdio-swift",
      "path" : "Sources/mcp-stdio-swift",
      "product_dependencies" : [
        "MCP",
        "ServiceLifecycle",
        "Logging"
      ],
      "product_memberships" : [
        "mcp-stdio-swift"
      ],
      "sources" : [
        "Handlers.swift",
        "JSONLogHandler.swift",
        "MCPService.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.