Build Information
Failed to build mcp-swift-sdk, reference main (a0ae21), with Swift 6.0 for macOS (SPM) on 29 Apr 2026 17:49:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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 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 main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-5BDAB9E9C0126B9D.txt
[5/6] Compiling CSystem shims.c
[7/45] Emitting module SystemPackage
[8/48] Compiling SystemPackage Errno.swift
[9/48] Compiling SystemPackage ErrnoWindows.swift
[10/48] Compiling SystemPackage FileDescriptor.swift
[11/48] Compiling SystemPackage FilePathTempPosix.swift
[12/48] Compiling SystemPackage FilePathTempWindows.swift
[13/48] Compiling SystemPackage FilePathWindows.swift
[14/48] Compiling SystemPackage Util+StringArray.swift
[15/48] Compiling SystemPackage Util.swift
[16/48] Compiling SystemPackage UtilConsumers.swift
[17/48] Compiling SystemPackage RawBuffer.swift
[18/48] Compiling SystemPackage Syscalls.swift
[19/48] Compiling SystemPackage WindowsSyscallAdapters.swift
[20/48] Compiling SystemPackage FilePermissions.swift
[21/48] Compiling SystemPackage Backcompat.swift
[22/48] Compiling SystemPackage CInterop.swift
[23/48] Compiling SystemPackage FileHelpers.swift
[24/48] Compiling SystemPackage FileOperations.swift
[25/48] Compiling SystemPackage FilePath.swift
[26/48] Compiling SystemPackage MachPort.swift
[27/48] Compiling SystemPackage PlatformString.swift
[28/48] Compiling SystemPackage SystemString.swift
[29/48] Compiling SystemPackage FilePathComponentView.swift
[30/48] Compiling SystemPackage FilePathComponents.swift
[31/48] Compiling SystemPackage FilePathParsing.swift
[32/48] Compiling SystemPackage FilePathString.swift
[33/48] Compiling SystemPackage FilePathSyntax.swift
[34/48] Compiling SystemPackage FilePathTemp.swift
[35/48] Compiling SystemPackage Constants.swift
[36/48] Compiling SystemPackage Exports.swift
[37/48] Compiling SystemPackage Mocking.swift
[38/48] Compiling Logging LogEvent.swift
[39/48] Compiling Logging MetadataProvider.swift
[40/48] Emitting module Logging
[41/48] Compiling Logging LogHandler.swift
[42/48] Compiling Logging Logging.swift
[43/48] Compiling Logging Locks.swift
[44/48] Compiling EventSource AsyncEventsSequence.swift
[45/48] Emitting module EventSource
[46/48] Compiling EventSource AsyncSequence+Events.swift
[47/48] Compiling EventSource EventSource.swift
[48/48] Compiling EventSource EventSource+AsyncHTTPClient.swift
[49/92] Compiling MCP Transport.swift
/Users/admin/builder/spi-builder-workspace/Sources/MCP/Base/Transports/HTTPClientTransport.swift:485:31: error: missing argument for parameter 'of' in call
483 | let timeout = self.sseInitializationTimeout
484 | do {
485 | try await withThrowingTaskGroup { group in
| `- error: missing argument for parameter 'of' in call
486 | group.addTask {
487 | try await Task.sleep(for: .seconds(timeout))
_Concurrency.withThrowingTaskGroup:3:24: note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withThrowingTaskGroup<ChildTaskResult, GroupResult>(of childTaskResultType: ChildTaskResult.Type, returning returnType: GroupResult.Type = GroupResult.self, isolation: isolated (any Actor)? = #isolation, body: (inout ThrowingTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult) async rethrows -> GroupResult where ChildTaskResult : Sendable
| `- note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
[50/92] Compiling MCP HTTPClientTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/MCP/Base/Transports/HTTPClientTransport.swift:485:31: error: missing argument for parameter 'of' in call
483 | let timeout = self.sseInitializationTimeout
484 | do {
485 | try await withThrowingTaskGroup { group in
| `- error: missing argument for parameter 'of' in call
486 | group.addTask {
487 | try await Task.sleep(for: .seconds(timeout))
_Concurrency.withThrowingTaskGroup:3:24: note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withThrowingTaskGroup<ChildTaskResult, GroupResult>(of childTaskResultType: ChildTaskResult.Type, returning returnType: GroupResult.Type = GroupResult.self, isolation: isolated (any Actor)? = #isolation, body: (inout ThrowingTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult) async rethrows -> GroupResult where ChildTaskResult : Sendable
| `- note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
[51/92] Compiling MCP HTTPRequestValidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MCP/Base/Transports/HTTPClientTransport.swift:485:31: error: missing argument for parameter 'of' in call
483 | let timeout = self.sseInitializationTimeout
484 | do {
485 | try await withThrowingTaskGroup { group in
| `- error: missing argument for parameter 'of' in call
486 | group.addTask {
487 | try await Task.sleep(for: .seconds(timeout))
_Concurrency.withThrowingTaskGroup:3:24: note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withThrowingTaskGroup<ChildTaskResult, GroupResult>(of childTaskResultType: ChildTaskResult.Type, returning returnType: GroupResult.Type = GroupResult.self, isolation: isolated (any Actor)? = #isolation, body: (inout ThrowingTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult) async rethrows -> GroupResult where ChildTaskResult : Sendable
| `- note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
[52/92] Compiling MCP HTTPServerTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/MCP/Base/Transports/HTTPClientTransport.swift:485:31: error: missing argument for parameter 'of' in call
483 | let timeout = self.sseInitializationTimeout
484 | do {
485 | try await withThrowingTaskGroup { group in
| `- error: missing argument for parameter 'of' in call
486 | group.addTask {
487 | try await Task.sleep(for: .seconds(timeout))
_Concurrency.withThrowingTaskGroup:3:24: note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withThrowingTaskGroup<ChildTaskResult, GroupResult>(of childTaskResultType: ChildTaskResult.Type, returning returnType: GroupResult.Type = GroupResult.self, isolation: isolated (any Actor)? = #isolation, body: (inout ThrowingTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult) async rethrows -> GroupResult where ChildTaskResult : Sendable
| `- note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
[53/92] Compiling MCP StatefulHTTPServerTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/MCP/Base/Transports/HTTPClientTransport.swift:485:31: error: missing argument for parameter 'of' in call
483 | let timeout = self.sseInitializationTimeout
484 | do {
485 | try await withThrowingTaskGroup { group in
| `- error: missing argument for parameter 'of' in call
486 | group.addTask {
487 | try await Task.sleep(for: .seconds(timeout))
_Concurrency.withThrowingTaskGroup:3:24: note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withThrowingTaskGroup<ChildTaskResult, GroupResult>(of childTaskResultType: ChildTaskResult.Type, returning returnType: GroupResult.Type = GroupResult.self, isolation: isolated (any Actor)? = #isolation, body: (inout ThrowingTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult) async rethrows -> GroupResult where ChildTaskResult : Sendable
| `- note: 'withThrowingTaskGroup(of:returning:isolation:body:)' declared here
[54/96] Emitting module MCP
[55/96] Compiling MCP Cancellation.swift
[56/96] Compiling MCP Ping.swift
[57/96] Compiling MCP Progress.swift
[58/96] Compiling MCP RequestContext.swift
[59/96] Compiling MCP Value.swift
[60/96] Compiling MCP OAuthDiscovery.swift
[61/96] Compiling MCP OAuthDiscoveryClient.swift
[62/96] Compiling MCP OAuthErrors.swift
[63/96] Compiling MCP OAuthModels.swift
[64/96] Compiling MCP OAuthTokenEndpointClient.swift
[65/96] Compiling MCP OAuthURLValidator.swift
[66/96] Compiling MCP OAuthWWWAuthenticateParser.swift
[67/96] Compiling MCP PKCE.swift
[68/96] Compiling MCP TokenStorage.swift
[69/96] Compiling MCP Error.swift
[70/96] Compiling MCP OAuthAuthorizationCodeFlow.swift
[71/96] Compiling MCP OAuthAuthorizer.swift
[72/96] Compiling MCP OAuthClientRegistrar.swift
[73/96] Compiling MCP OAuthConfiguration.swift
[74/96] Compiling MCP OAuthConstants.swift
[75/96] Compiling MCP Versioning.swift
[76/96] Compiling MCP Client.swift
[77/96] Compiling MCP Elicitation.swift
[78/96] Compiling MCP Roots.swift
[79/96] Compiling MCP StatelessHTTPServerTransport.swift
[80/96] Compiling MCP InMemoryTransport.swift
[81/96] Compiling MCP NetworkTransport.swift
[82/96] Compiling MCP StdioTransport.swift
[83/96] Compiling MCP UnitInterval.swift
[84/96] Compiling MCP ID.swift
[85/96] Compiling MCP Icon.swift
[86/96] Compiling MCP Lifecycle.swift
[87/96] Compiling MCP Messages.swift
[88/96] Compiling MCP PendingRequest.swift
[89/96] Compiling MCP Sampling.swift
[90/96] Compiling MCP Data+Extensions.swift
[91/96] Compiling MCP Completion.swift
[92/96] Compiling MCP Logging.swift
[93/96] Compiling MCP Prompts.swift
[94/96] Compiling MCP Resources.swift
[95/96] Compiling MCP Server.swift
[96/96] Compiling MCP Tools.swift
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[609/12674] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
Fetched https://github.com/apple/swift-system.git from cache (1.23s)
Fetched https://github.com/mattt/eventsource.git from cache (1.23s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.46s)
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.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.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
BUILD FAILURE 6.0 macosSpm