The Swift Package Index logo.Swift Package Index

Build Information

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

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/xbill9/mcp-stdio-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 423]
[Planning deferred tasks]
[91 / 197]
[97 / 202] InternalCollectionsUtilities
[106 / 224] InternalCollectionsUtilities
[112 / 224]
[117 / 264]
[123 / 264] InternalCollectionsUtilities
[136 / 264] CSystem
[144 / 270]
[160 / 304] SpanPreview
[167 / 304]
[171 / 305]
[176 / 316] DequeModule
[180 / 316] DequeModule
[183 / 316] ConcurrencyHelpers
[186 / 316]
[200 / 316] OrderedCollections
[216 / 316]
[218 / 316]
[220 / 316]
[222 / 316] SystemPackage
[234 / 316] OrderedCollections-product
[238 / 316]
[245 / 316] DequeModule
[253 / 316]
[256 / 318] SystemPackage
[261 / 318] UnixSignals
[269 / 332] AsyncAlgorithms
[279 / 332] DequeModule
[280 / 332] DequeModule
[285 / 332] SystemPackage
[289 / 332] UnixSignals
[293 / 332] EventSource
[301 / 333] AsyncAlgorithms
[307 / 334] ServiceLifecycle
[315 / 344] ServiceLifecycle
[320 / 360] ServiceLifecycle
[330 / 360] ServiceLifecycle
[339 / 360] MCP
[340 / 360] ServiceLifecycle
[342 / 360] ServiceLifecycle
[345 / 360] MCP
[354 / 361] MCP
[354 / 361] mcp-stdio-swift-product
[359 / 366] MCP
[360 / 366] mcp-stdio-swift-product
[361 / 366] MCP
[364 / 366] mcp-stdio-swift-product
Build complete! (11.27 sec)
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
[2/11008] Fetching swift-log, swift-service-lifecycle
[368/14790] Fetching swift-log, swift-service-lifecycle, swift-sdk
Fetched https://github.com/apple/swift-log.git (1.53s)
Fetched https://github.com/modelcontextprotocol/swift-sdk (1.53s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.53s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.12.1 (2.17s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
[1/303] Fetching eventsource
[129/7219] Fetching eventsource, swift-system
Fetched https://github.com/apple/swift-system.git (1.36s)
[1/86065] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git (8.14s)
Fetched https://github.com/apple/swift-nio.git (8.14s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (8.80s)
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.58s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.81s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (2.46s)
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.73s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (3.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (4.00s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.78s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (1.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.88s)
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/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/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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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
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
/Users/admin/builder/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 = [:]
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 = [:]
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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" : "/Users/admin/builder/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"
}
Done.