The Swift Package Index logo.Swift Package Index

Build Information

Successful build of mcp-stdio-swift, reference main (1a5e0b), with Swift 6.2 for macOS (SPM) on 8 Jan 2026 17:52:51 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/modelcontextprotocol/swift-sdk
Fetching https://github.com/apple/swift-log.git
[1/199] Fetching eventsource
[77/2767] Fetching eventsource, swift-service-lifecycle
[406/5349] Fetching eventsource, swift-service-lifecycle, swift-sdk
Fetched https://github.com/mattt/eventsource.git from cache (0.75s)
[208/10909] Fetching swift-service-lifecycle, swift-sdk, swift-log
[432/16769] Fetching swift-service-lifecycle, swift-sdk, swift-log, swift-async-algorithms
[1153/22049] Fetching swift-service-lifecycle, swift-sdk, swift-log, swift-async-algorithms, swift-system
[1776/40641] Fetching swift-service-lifecycle, swift-sdk, swift-log, swift-async-algorithms, swift-system, swift-collections
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (1.20s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.20s)
Fetched https://github.com/apple/swift-log.git from cache (1.20s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.20s)
Computing version for https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-system.git from cache (1.25s)
[4648/18592] Fetching swift-collections
Computed https://github.com/apple/swift-log.git at 1.8.0 (1.78s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Fetched https://github.com/apple/swift-collections.git from cache (1.86s)
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.67s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.10.2 (0.56s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.64s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.63s)
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.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.8.0
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.9.1
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.3
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at 0.10.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
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.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "mcp-stdio-swift",
      "name": "mcp-stdio-swift",
      "url": "https://github.com/xbill9/mcp-stdio-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mcp-stdio-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/xbill9/mcp-stdio-swift.git
[1/27] Fetching mcp-stdio-swift
Fetched https://github.com/xbill9/mcp-stdio-swift.git from cache (0.67s)
Creating working copy for https://github.com/xbill9/mcp-stdio-swift.git
Working copy of https://github.com/xbill9/mcp-stdio-swift.git resolved at main (1a5e0bc)
warning: '.resolve-product-dependencies': dependency 'mcp-stdio-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xbill9/mcp-stdio-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[2/18] Write mcp-stdio-swift-entitlement.plist
[5/18] Write sources
[13/18] Compiling CSystem shims.c
[14/18] Write swift-version-49B95AFC49DCD68C.txt
[16/75] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[17/76] Compiling SystemPackage FilePathTemp.swift
[18/76] Compiling SystemPackage FilePathTempPosix.swift
[19/76] Compiling SystemPackage FilePathTempWindows.swift
[20/76] Compiling SystemPackage FilePathWindows.swift
[21/76] Compiling SystemPackage FilePathComponentView.swift
[22/76] Compiling SystemPackage FilePathComponents.swift
[23/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/76] Emitting module InternalCollectionsUtilities
[25/76] Compiling SystemPackage Errno.swift
[26/76] Compiling SystemPackage ErrnoWindows.swift
[27/76] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[28/76] Compiling SystemPackage FileOperations.swift
[29/76] Compiling SystemPackage FilePath.swift
[30/76] Compiling SystemPackage FilePathString.swift
[31/76] Compiling SystemPackage FilePathSyntax.swift
[32/76] Compiling SystemPackage FileDescriptor.swift
[33/76] Compiling SystemPackage FileHelpers.swift
[34/148] Compiling DequeModule _DequeSlot.swift
[35/148] Compiling DequeModule _DequeBufferHeader.swift
[36/149] Compiling DequeModule _DequeBuffer.swift
[37/149] Compiling DequeModule _UnsafeWrappedBuffer.swift
[38/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[39/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[40/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[41/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[42/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[43/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[44/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[45/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[46/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[47/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[48/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[49/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[50/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[51/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[52/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[53/155] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[54/155] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[55/155] Compiling OrderedCollections OrderedSet+Sendable.swift
[56/155] Compiling OrderedCollections OrderedDictionary+Codable.swift
[57/155] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[58/155] Compiling OrderedCollections _HashTable.swift
[59/155] Compiling OrderedCollections _Hashtable+Header.swift
[60/155] Compiling OrderedCollections _HashTable+Testing.swift
[61/155] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[62/155] Compiling OrderedCollections _HashTable+Constants.swift
[63/155] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[64/155] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[65/155] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[71/155] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[72/155] Compiling OrderedCollections OrderedSet+Codable.swift
[73/155] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[74/155] Compiling OrderedCollections OrderedSet+Descriptions.swift
[75/155] Compiling OrderedCollections OrderedSet+Diffing.swift
[76/155] Compiling OrderedCollections OrderedSet+Equatable.swift
[77/155] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[78/155] Compiling OrderedCollections OrderedSet+Hashable.swift
[79/155] Compiling OrderedCollections OrderedSet+Initializers.swift
[80/155] Compiling OrderedCollections OrderedSet+Insertions.swift
[81/155] Compiling OrderedCollections OrderedSet+Invariants.swift
[82/155] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[83/155] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[84/155] Compiling OrderedCollections _HashTable+Bucket.swift
[85/155] Compiling OrderedCollections _HashTable+BucketIterator.swift
[87/158] Compiling OrderedCollections OrderedDictionary+Elements.swift
[88/158] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[89/158] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[90/158] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[91/158] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[92/158] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[93/158] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[94/158] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[95/158] Compiling SystemPackage Util+StringArray.swift
[96/158] Compiling SystemPackage Util.swift
[97/158] Compiling SystemPackage UtilConsumers.swift
[98/158] Compiling OrderedCollections OrderedDictionary.swift
[101/158] Emitting module DequeModule
[102/158] Emitting module SystemPackage
[109/158] Compiling Logging MetadataProvider.swift
[110/158] Emitting module ConcurrencyHelpers
[111/158] Compiling ConcurrencyHelpers Lock.swift
[112/158] Compiling ConcurrencyHelpers LockedValueBox.swift
[141/161] Compiling Logging LogHandler.swift
[142/161] Emitting module Logging
[143/161] Compiling Logging Locks.swift
[144/161] Compiling Logging Logging.swift
[145/161] Compiling OrderedCollections OrderedSet+SubSequence.swift
[146/161] Compiling OrderedCollections OrderedSet+Testing.swift
[147/161] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[148/161] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[149/161] Compiling OrderedCollections OrderedSet.swift
[150/161] Compiling OrderedCollections _UnsafeBitset.swift
[151/161] Emitting module OrderedCollections
[152/211] Compiling UnixSignals UnixSignal.swift
[153/211] Emitting module UnixSignals
[154/211] Compiling UnixSignals UnixSignalsSequence.swift
[155/211] Compiling AsyncAlgorithms Locking.swift
[156/211] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[157/211] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[158/211] Compiling AsyncAlgorithms MergeStateMachine.swift
[159/211] Compiling AsyncAlgorithms MergeStorage.swift
[160/216] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[161/216] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[162/216] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[163/216] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[164/216] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[165/216] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[166/216] Emitting module AsyncAlgorithms
[167/216] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[168/216] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[169/216] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[170/216] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[171/216] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[172/216] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[173/216] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[174/216] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[175/216] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[176/216] Compiling AsyncAlgorithms CombineLatestStorage.swift
[177/216] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[178/216] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[179/216] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[180/216] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[181/216] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[182/216] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[183/216] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[184/216] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[185/216] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[186/216] Compiling AsyncAlgorithms AsyncShareSequence.swift
[187/216] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[188/216] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[189/216] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[190/216] Compiling AsyncAlgorithms DebounceStateMachine.swift
[191/216] Compiling AsyncAlgorithms DebounceStorage.swift
[192/216] Compiling AsyncAlgorithms Dictionary.swift
[193/216] Compiling AsyncAlgorithms _TinyArray.swift
[194/216] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[195/216] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[196/216] Compiling AsyncAlgorithms AsyncChannel.swift
[197/216] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[198/216] Compiling AsyncAlgorithms ChannelStateMachine.swift
[199/216] Compiling AsyncAlgorithms ChannelStorage.swift
[200/216] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[201/216] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[202/216] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[203/216] Compiling AsyncAlgorithms Rethrow.swift
[204/216] Compiling AsyncAlgorithms SetAlgebra.swift
[205/216] Compiling AsyncAlgorithms UnsafeTransfer.swift
[206/216] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[207/216] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[208/216] Compiling AsyncAlgorithms ZipStateMachine.swift
[209/216] Compiling AsyncAlgorithms ZipStorage.swift
[210/225] Compiling ServiceLifecycle ServiceRunnerError.swift
[211/225] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[212/225] Compiling ServiceLifecycle Service.swift
[213/225] Compiling ServiceLifecycle GracefulShutdown.swift
[214/225] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[215/225] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[216/225] Compiling ServiceLifecycle CancellationWaiter.swift
[217/225] Compiling ServiceLifecycle ServiceGroup.swift
[218/225] Emitting module ServiceLifecycle
[219/225] Compiling EventSource AsyncEventsSequence.swift
[220/225] Compiling EventSource EventSource.swift
[221/225] Emitting module EventSource
[222/225] Compiling EventSource AsyncSequence+Events.swift
[223/244] Compiling MCP StdioTransport.swift
[224/244] Compiling MCP UnitInterval.swift
[225/244] Emitting module MCP
[226/244] Compiling MCP Error.swift
[227/244] Compiling MCP ID.swift
[228/244] Compiling MCP Ping.swift
[229/244] Compiling MCP Value.swift
[230/244] Compiling MCP Transport.swift
[231/244] Compiling MCP HTTPClientTransport.swift
[232/244] Compiling MCP Versioning.swift
[233/244] Compiling MCP Client.swift
[234/244] Compiling MCP InMemoryTransport.swift
[235/244] Compiling MCP NetworkTransport.swift
[236/244] Compiling MCP Lifecycle.swift
[237/244] Compiling MCP Messages.swift
[238/244] Compiling MCP Prompts.swift
[239/244] Compiling MCP Resources.swift
[240/244] Compiling MCP Sampling.swift
[241/244] Compiling MCP Data+Extensions.swift
[242/246] Compiling MCP Server.swift
[243/246] Compiling MCP Tools.swift
[244/251] Compiling mcp_stdio_swift main.swift
[245/251] Compiling mcp_stdio_swift MCPService.swift
[246/251] Compiling mcp_stdio_swift Handlers.swift
[247/251] Compiling mcp_stdio_swift JSONLogHandler.swift
[248/251] Emitting module mcp_stdio_swift
[248/251] Write Objects.LinkFileList
[249/251] Linking mcp-stdio-swift
[250/251] Applying mcp-stdio-swift
Build complete! (12.43s)
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.