Build Information
Successful build of mcp-swift-sdk, reference 0.12.1 (a0ae21), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 02:49:20 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modelcontextprotocol/swift-sdk.git
Reference: 0.12.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/modelcontextprotocol/swift-sdk
* tag 0.12.1 -> FETCH_HEAD
HEAD is now at a0ae212 Improvements and fixes (#223)
Cloned https://github.com/modelcontextprotocol/swift-sdk.git
Revision (git rev-parse @):
a0ae212ebf6eab5f754c3129608bc5557637e605
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Provisioning 29 / 40]
[Pre-planning 1 / 926]
[Planning deferred tasks]
[167 / 356]
[170 / 356]
[187 / 364] EventSource
[194 / 394] CNIOWASI
[200 / 398] Atomics
[212 / 449]
[223 / 469]
[249 / 481]
[256 / 504]
[264 / 504]
[273 / 504] InternalCollectionsUtilities
[283 / 504] SpanPreview
[290 / 504] CNIOLLHTTP
[301 / 504] CNIODarwin
[310 / 506]
[320 / 519] _NIODataStructures
[327 / 519]
[333 / 519]
[352 / 519] NIOConcurrencyHelpers
[368 / 519]
[371 / 519]
[374 / 519]
[375 / 519]
[388 / 519]
[392 / 519] NIOConcurrencyHelpers
[396 / 519] NIOConcurrencyHelpers
[398 / 519] NIOConcurrencyHelpers
[403 / 519] Logging
[405 / 519] Logging
[412 / 519] InternalCollectionsUtilities
[418 / 519] _NIOBase64
[420 / 520] SpanPreview
[433 / 525] SpanPreview
[441 / 536] EventSource
[449 / 536] EventSource
[457 / 536] EventSource
[458 / 536] EventSource-product
[462 / 537] DequeModule
[462 / 537] MCP
[467 / 553]
[473 / 553] MCP
[476 / 553] DequeModule
[478 / 553] DequeModule
[484 / 553] MCP
[488 / 553] DequeModule
[489 / 554] MCP
[498 / 555] MCP
[504 / 567] NIOCore
[506 / 569] CNIOAtomics
[509 / 569] mcp-everything-client-product
[510 / 569] mcp-everything-client-product
[511 / 569] mcp-everything-client-product
[514 / 569] mcp-everything-client-product
[516 / 569] MCP
[516 / 569] NIOCore
[516 / 569] MCP
[520 / 569] mcp-everything-client-product
[522 / 569] NIOCore
[532 / 571] NIOEmbedded
[536 / 575] NIOPosix
[549 / 591] NIOEmbedded
[557 / 591] NIOPosix
[558 / 591] NIOPosix
[559 / 591] NIOEmbedded
[560 / 591] NIOPosix
[567 / 592] NIO
[576 / 594]
[577 / 595] NIOHTTP1
[588 / 607] NIOHTTP1
[589 / 607] NIOHTTP1
[598 / 608] NIOHTTP1
[598 / 608] mcp-everything-server-product
[602 / 611] mcp-everything-server-product
[603 / 611] mcp-everything-server-product
[604 / 611] NIOPosix
[608 / 611] NIOHTTP1
[609 / 611] mcp-everything-server-product
Build complete! (17.58 sec)
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (1.36s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/8165] Fetching swift-log
[2/8468] Fetching swift-log, eventsource
[353/15420] Fetching swift-log, eventsource, swift-system
[2367/19249] Fetching swift-log, eventsource, swift-system, swift-docc-symbolkit
[19181/105340] Fetching swift-log, eventsource, swift-system, swift-docc-symbolkit, swift-nio
Fetched https://github.com/apple/swift-system.git (1.58s)
[13158/98388] Fetching swift-log, eventsource, swift-docc-symbolkit, swift-nio
Fetched https://github.com/apple/swift-log.git (11.79s)
Fetched https://github.com/mattt/eventsource.git (11.79s)
Fetched https://github.com/apple/swift-nio.git (11.79s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit (11.79s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (12.53s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.67s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1881] Fetching swift-atomics
[1431/29583] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (2.70s)
Fetched https://github.com/apple/swift-collections.git (2.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.65s)
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at main (647c708)
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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
/Users/admin/builder/spi-builder-workspace/Sources/MCP/Base/Transports/NetworkTransport.swift:548:62: [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m529 |[0;0m guard let self = self else { return }
[0;36m530 |[0;0m
[0;36m531 |[0;0m Task { @MainActor in
[0;36m|[0;0m |- [1;39mnote: [1;39m'self' implicitly strongly captured here[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'self' as a capture list item to silence[0;0m
[0;36m532 |[0;0m if !sendContinuationResumed.flag {
[0;36m533 |[0;0m sendContinuationResumed.flag = true
[0;36m:[0;0m
[0;36m546 |[0;0m
[0;36m547 |[0;0m // Schedule connection restart
[0;36m548 |[0;0m Task { [weak self] in // Operate on self's executor
[0;36m|[0;0m |- [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mexplicitly assign the capture list item to silence[0;0m
[0;36m549 |[0;0m guard let self = self else { return }
[0;36m550 |[0;0m
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"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"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.65.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.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"
]
}
},
{
"name" : "mcp-everything-server",
"targets" : [
"MCPConformanceServer"
],
"type" : {
"executable" : null
}
},
{
"name" : "mcp-everything-client",
"targets" : [
"MCPConformanceClient"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MCPTests",
"module_type" : "SwiftTarget",
"name" : "MCPTests",
"path" : "Tests/MCPTests",
"product_dependencies" : [
"SystemPackage",
"Logging",
"EventSource"
],
"sources" : [
"Base64DataTests.swift",
"CancellationTests.swift",
"ClientTests.swift",
"CompletionTests.swift",
"ElicitationTests.swift",
"HTTPClientTransportTests.swift",
"HTTPServerTransportTests.swift",
"Helpers/MockTransport.swift",
"IDTests.swift",
"InMemoryTransportTests.swift",
"LoggingTests.swift",
"MetaFieldsTests.swift",
"MockResponses.swift",
"NetworkTransportTests.swift",
"NotificationTests.swift",
"OAuthAuthorizationCodeFlowTests.swift",
"OAuthAuthorizationTests.swift",
"OAuthAuthorizerTests.swift",
"OAuthClientRegistrarTests.swift",
"OAuthComponentTestHelpers.swift",
"OAuthDiscoveryClientTests.swift",
"OAuthTestScenarios.swift",
"OAuthTokenEndpointClientTests.swift",
"OAuthURLValidatorTests.swift",
"ProgressTests.swift",
"PromptTests.swift",
"RequestTests.swift",
"ResourceTests.swift",
"ResponseTests.swift",
"RootsTests.swift",
"RoundtripTests.swift",
"SamplingTests.swift",
"ServerTests.swift",
"StdioTransportTests.swift",
"ToolTests.swift",
"UnitIntervalTests.swift",
"VersioningTests.swift"
],
"target_dependencies" : [
"MCP"
],
"type" : "test"
},
{
"c99name" : "MCPConformanceServer",
"module_type" : "SwiftTarget",
"name" : "MCPConformanceServer",
"path" : "Sources/MCPConformance/Server",
"product_dependencies" : [
"Logging",
"NIOCore",
"NIOPosix",
"NIOHTTP1"
],
"product_memberships" : [
"mcp-everything-server"
],
"sources" : [
"HTTPApp.swift",
"main.swift"
],
"target_dependencies" : [
"MCP"
],
"type" : "executable"
},
{
"c99name" : "MCPConformanceClient",
"module_type" : "SwiftTarget",
"name" : "MCPConformanceClient",
"path" : "Sources/MCPConformance/Client",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"mcp-everything-client"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MCP"
],
"type" : "executable"
},
{
"c99name" : "MCP",
"module_type" : "SwiftTarget",
"name" : "MCP",
"path" : "Sources/MCP",
"product_dependencies" : [
"SystemPackage",
"Logging",
"EventSource"
],
"product_memberships" : [
"MCP",
"mcp-everything-server",
"mcp-everything-client"
],
"sources" : [
"Base/Authorization/OAuthAuthorizationCodeFlow.swift",
"Base/Authorization/OAuthAuthorizer.swift",
"Base/Authorization/OAuthClientRegistrar.swift",
"Base/Authorization/OAuthConfiguration.swift",
"Base/Authorization/OAuthConstants.swift",
"Base/Authorization/OAuthDiscovery.swift",
"Base/Authorization/OAuthDiscoveryClient.swift",
"Base/Authorization/OAuthErrors.swift",
"Base/Authorization/OAuthModels.swift",
"Base/Authorization/OAuthTokenEndpointClient.swift",
"Base/Authorization/OAuthURLValidator.swift",
"Base/Authorization/OAuthWWWAuthenticateParser.swift",
"Base/Authorization/PKCE.swift",
"Base/Authorization/TokenStorage.swift",
"Base/Error.swift",
"Base/ID.swift",
"Base/Icon.swift",
"Base/Lifecycle.swift",
"Base/Messages.swift",
"Base/PendingRequest.swift",
"Base/Transport.swift",
"Base/Transports/HTTPClientTransport.swift",
"Base/Transports/HTTPServer/HTTPRequestValidation.swift",
"Base/Transports/HTTPServer/HTTPServerTypes.swift",
"Base/Transports/HTTPServer/StatefulHTTPServerTransport.swift",
"Base/Transports/HTTPServer/StatelessHTTPServerTransport.swift",
"Base/Transports/InMemoryTransport.swift",
"Base/Transports/NetworkTransport.swift",
"Base/Transports/StdioTransport.swift",
"Base/UnitInterval.swift",
"Base/Utilities/Cancellation.swift",
"Base/Utilities/Ping.swift",
"Base/Utilities/Progress.swift",
"Base/Utilities/RequestContext.swift",
"Base/Value.swift",
"Base/Versioning.swift",
"Client/Client.swift",
"Client/Elicitation.swift",
"Client/Roots.swift",
"Client/Sampling.swift",
"Extensions/Data+Extensions.swift",
"Server/Completion.swift",
"Server/Logging.swift",
"Server/Prompts.swift",
"Server/Resources.swift",
"Server/Server.swift",
"Server/Tools.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Done.