Build Information
Successful build of mcp-swift-sdk, reference main (36865f
), with Swift 6.1 for macOS (SPM) on 12 Jun 2025 15:23:32 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modelcontextprotocol/swift-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/modelcontextprotocol/swift-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 36865fb Update `inputSchema` example usage (#136)
Cloned https://github.com/modelcontextprotocol/swift-sdk.git
Revision (git rev-parse @):
36865fb056d2361bf8e649fcde559a0781f0ded8
SUCCESS checkout https://github.com/modelcontextprotocol/swift-sdk.git at main
Fetching https://github.com/loopwork-ai/eventsource.git
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-log.git from cache
[1/99] Fetching eventsource
Fetched https://github.com/loopwork-ai/eventsource.git from cache (0.76s)
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
Fetched https://github.com/apple/swift-system.git from cache (0.77s)
Computing version for https://github.com/loopwork-ai/eventsource.git
Computed https://github.com/loopwork-ai/eventsource.git at 1.1.0 (1.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.47s)
Creating working copy for https://github.com/loopwork-ai/eventsource.git
Working copy of https://github.com/loopwork-ai/eventsource.git resolved at 1.1.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.6.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
========================================
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": "swift-sdk",
"name": "mcp-swift-sdk",
"url": "https://github.com/modelcontextprotocol/swift-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sdk",
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "eventsource",
"name": "EventSource",
"url": "https://github.com/loopwork-ai/eventsource.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/eventsource",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/1834] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.92s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/loopwork-ai/eventsource.git from cache
Fetched https://github.com/loopwork-ai/eventsource.git from cache (0.50s)
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/loopwork-ai/eventsource.git
Computed https://github.com/loopwork-ai/eventsource.git at 1.1.1 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.03s)
Creating working copy for https://github.com/loopwork-ai/eventsource.git
Working copy of https://github.com/loopwork-ai/eventsource.git resolved at 1.1.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.5.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at main (36865fb)
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.3
warning: '.resolve-product-dependencies': dependency 'swift-sdk' is not used by any target
Found 3 product dependencies
- swift-system
- swift-log
- EventSource
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
https://github.com/modelcontextprotocol/swift-sdk.git
{
"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/loopwork-ai/eventsource.git"
}
],
"manifest_display_name" : "mcp-swift-sdk",
"name" : "mcp-swift-sdk",
"path" : "/Users/admin/builder/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",
"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/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/6] Write sources
[4/6] Compiling CSystem shims.c
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/43] Emitting module SystemPackage
[8/46] Compiling SystemPackage FilePathString.swift
[9/46] Compiling SystemPackage FilePathSyntax.swift
[10/46] Compiling SystemPackage FilePathTemp.swift
[11/46] Compiling SystemPackage FileHelpers.swift
[12/46] Compiling SystemPackage FileOperations.swift
[13/46] Compiling SystemPackage FilePath.swift
[14/46] Compiling SystemPackage Errno.swift
[15/46] Compiling SystemPackage ErrnoWindows.swift
[16/46] Compiling SystemPackage FileDescriptor.swift
[17/46] Compiling SystemPackage Util+StringArray.swift
[18/46] Compiling SystemPackage Util.swift
[19/46] Compiling SystemPackage UtilConsumers.swift
[20/46] Compiling Logging LogHandler.swift
[21/46] Compiling Logging Locks.swift
[22/46] Compiling Logging MetadataProvider.swift
[23/46] Compiling SystemPackage FilePermissions.swift
[24/46] Compiling SystemPackage Backcompat.swift
[25/46] Compiling SystemPackage CInterop.swift
[26/46] Compiling SystemPackage FilePathComponentView.swift
[27/46] Compiling SystemPackage FilePathComponents.swift
[28/46] Compiling SystemPackage FilePathParsing.swift
[29/46] Compiling SystemPackage RawBuffer.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 SystemPackage SystemString.swift
[35/46] Compiling SystemPackage FilePathTempPosix.swift
[36/46] Compiling SystemPackage FilePathTempWindows.swift
[37/46] Compiling SystemPackage FilePathWindows.swift
[38/46] Compiling SystemPackage Constants.swift
[39/46] Compiling SystemPackage Exports.swift
[40/46] Compiling SystemPackage Mocking.swift
[41/46] Emitting module Logging
[42/46] Compiling Logging Logging.swift
[43/46] Compiling EventSource AsyncSequence+Events.swift
[44/46] Compiling EventSource AsyncEventsSequence.swift
[45/46] Emitting module EventSource
[46/46] Compiling EventSource EventSource.swift
[47/65] Compiling MCP Resources.swift
[48/65] Compiling MCP Server.swift
[49/66] Compiling MCP Tools.swift
[50/66] Compiling MCP Value.swift
[51/66] Compiling MCP Versioning.swift
[52/66] Compiling MCP Lifecycle.swift
[53/66] Compiling MCP Messages.swift
[54/66] Emitting module MCP
[55/66] Compiling MCP Error.swift
[56/66] Compiling MCP ID.swift
[57/66] Compiling MCP Client.swift
[58/66] Compiling MCP Sampling.swift
[59/66] Compiling MCP Data+Extensions.swift
[60/66] Compiling MCP Prompts.swift
[61/66] Compiling MCP UnitInterval.swift
[62/66] Compiling MCP Ping.swift
[63/66] Compiling MCP Transport.swift
[64/66] Compiling MCP HTTPClientTransport.swift
[65/66] Compiling MCP NetworkTransport.swift
[66/66] Compiling MCP StdioTransport.swift
Build complete! (10.09s)
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/loopwork-ai/eventsource.git"
}
],
"manifest_display_name" : "mcp-swift-sdk",
"name" : "mcp-swift-sdk",
"path" : "/Users/admin/builder/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",
"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/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"
}
Done.