Build Information
Failed to build shortcuts-mcp-server, reference main (185cc9), with Swift 6.3 for Linux on 16 Apr 2026 22:48:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/artemnovichkov/shortcuts-mcp-server.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/artemnovichkov/shortcuts-mcp-server
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 185cc9d Update README.md
Cloned https://github.com/artemnovichkov/shortcuts-mcp-server.git
Revision (git rev-parse @):
185cc9de98bfd7538ae764cc2dcebb0a4cdcc3a9
SUCCESS checkout https://github.com/artemnovichkov/shortcuts-mcp-server.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/artemnovichkov/shortcuts-mcp-server.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk
Fetching https://github.com/swiftlang/swift-subprocess
[1/3447] Fetching swift-sdk
[967/6342] Fetching swift-sdk, swift-subprocess
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.85s)
Fetched https://github.com/swiftlang/swift-subprocess from cache (0.85s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.12.0 (1.55s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[329/12483] Fetching eventsource, swift-system, swift-log
[12484/95645] Fetching eventsource, swift-system, swift-log, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (0.98s)
[7714/90044] Fetching eventsource, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.19s)
[3598/83433] Fetching eventsource, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (11.48s)
Fetched https://github.com/apple/swift-nio.git from cache (11.67s)
Computing version for https://github.com/swiftlang/swift-subprocess
Computed https://github.com/swiftlang/swift-subprocess at 0.4.0 (12.14s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.96s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/23552] Fetching swift-collections
[473/25372] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (2.69s)
Fetched https://github.com/apple/swift-collections.git from cache (2.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.14s)
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/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at 0.12.0
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at 0.4.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.12.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/15] Write sources
[5/15] Compiling CSystem shims.c
[6/15] Compiling _SubprocessCShims process_shims.c
[7/15] Write swift-version-24593BA9C3E375BF.txt
[9/52] Emitting module SystemPackage
[10/56] Compiling SystemPackage SystemString.swift
[11/56] Compiling SystemPackage Util+StringArray.swift
[12/56] Compiling SystemPackage Util.swift
[13/56] Compiling SystemPackage UtilConsumers.swift
[14/56] Compiling SystemPackage FilePathSyntax.swift
[15/56] Compiling SystemPackage FilePathTemp.swift
[16/56] Compiling SystemPackage FilePathTempPosix.swift
[17/56] Compiling SystemPackage FilePathTempWindows.swift
[18/56] Compiling SystemPackage Errno.swift
[19/56] Compiling SystemPackage ErrnoWindows.swift
[20/56] Compiling SystemPackage FileDescriptor.swift
[21/56] Compiling SystemPackage FileHelpers.swift
[22/56] Compiling SystemPackage FileOperations.swift
[23/56] Compiling SystemPackage FilePath.swift
[24/56] Compiling SystemPackage FilePathComponentView.swift
[25/56] Compiling SystemPackage FilePathComponents.swift
[26/56] Compiling SystemPackage FilePathParsing.swift
[27/56] Compiling SystemPackage FilePathString.swift
[28/56] Compiling Logging MetadataProvider.swift
[29/56] Emitting module Logging
[30/56] Compiling Logging Locks.swift
[31/56] Compiling Logging LogHandler.swift
[32/56] Compiling Logging Logging.swift
[33/56] Compiling Logging LogEvent.swift
[34/57] Wrapping AST for Logging for debugging
[36/57] Compiling SystemPackage Constants.swift
[37/57] Compiling SystemPackage Exports.swift
[38/57] Compiling SystemPackage Mocking.swift
[39/57] Compiling SystemPackage RawBuffer.swift
[40/57] Compiling SystemPackage Syscalls.swift
[41/57] Compiling SystemPackage WindowsSyscallAdapters.swift
[42/57] Compiling SystemPackage MachPort.swift
[43/57] Compiling SystemPackage PlatformString.swift
[44/57] Compiling SystemPackage FilePathWindows.swift
[45/57] Compiling SystemPackage FilePermissions.swift
[46/57] Compiling SystemPackage IOCompletion.swift
[47/57] Compiling SystemPackage IORequest.swift
[48/57] Compiling SystemPackage IORing.swift
[49/57] Compiling SystemPackage RawIORequest.swift
[50/57] Compiling SystemPackage Backcompat.swift
[51/57] Compiling SystemPackage CInterop.swift
[52/58] Wrapping AST for SystemPackage for debugging
[54/60] Emitting module Subprocess
[55/125] Emitting module MCP
[56/130] Compiling Subprocess Subprocess+Windows.swift
[57/130] Compiling Subprocess Result.swift
[58/130] Compiling Subprocess Span+Subprocess.swift
[59/130] Compiling Subprocess Teardown.swift
[60/130] Compiling Subprocess Thread.swift
[61/130] Compiling Subprocess Input+Foundation.swift
[62/130] Compiling Subprocess Output+Foundation.swift
[63/130] Compiling Subprocess Span+SubprocessFoundation.swift
[64/130] Compiling Subprocess API.swift
[65/130] Compiling Subprocess AsyncBufferSequence.swift
[66/130] Compiling Subprocess Buffer.swift
[70/130] Compiling Subprocess Configuration.swift
[71/130] Compiling Subprocess Error.swift
[72/130] Compiling Subprocess Execution.swift
[78/130] Compiling Subprocess AsyncIO+Dispatch.swift
[79/130] Compiling Subprocess Input.swift
[80/130] Compiling Subprocess Output.swift
[81/130] Compiling Subprocess Subprocess+BSD.swift
[82/130] Compiling MCP StatefulHTTPServerTransport.swift
[83/130] Compiling MCP StatelessHTTPServerTransport.swift
[84/130] Compiling MCP InMemoryTransport.swift
[85/130] Compiling MCP NetworkTransport.swift
[86/130] Compiling MCP StdioTransport.swift
[87/130] Compiling MCP UnitInterval.swift
[89/130] Compiling Subprocess AsyncIO+Linux.swift
[90/130] Compiling Subprocess AsyncIO+Windows.swift
[91/130] Compiling MCP PKCE.swift
[92/130] Compiling MCP TokenStorage.swift
[93/130] Compiling MCP Error.swift
[94/130] Compiling MCP ID.swift
[95/130] Compiling MCP Icon.swift
[96/130] Compiling MCP Lifecycle.swift
[97/130] Compiling Subprocess Subprocess+Darwin.swift
[98/130] Compiling Subprocess Subprocess+Linux.swift
[99/130] Compiling Subprocess Subprocess+Unix.swift
[115/131] Compiling MCP HTTPServerTypes.swift
[115/131] Wrapping AST for Subprocess for debugging
[117/131] Compiling MCP Logging.swift
[118/131] Compiling MCP Prompts.swift
[119/131] Compiling MCP Resources.swift
[120/131] Compiling MCP Server.swift
[121/131] Compiling MCP Tools.swift
[122/131] Compiling MCP Client.swift
[123/131] Compiling MCP Elicitation.swift
[124/131] Compiling MCP Roots.swift
[125/131] Compiling MCP Sampling.swift
[126/131] Compiling MCP Data+Extensions.swift
[127/131] Compiling MCP Completion.swift
[128/134] Wrapping AST for MCP for debugging
[130/134] Emitting module ShortcutsMCPServer
/host/spi-builder-workspace/Sources/main.swift:84:43: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
82 | do {
83 | let result = try await call(tool: tool, params: params)
84 | return CallTool.Result(content: [.text(result)], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
85 | } catch {
86 | return CallTool.Result(content: [.text(error.localizedDescription)], isError: true)
/host/spi-builder-workspace/Sources/main.swift:86:43: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | return CallTool.Result(content: [.text(result)], isError: false)
85 | } catch {
86 | return CallTool.Result(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | }
88 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[131/134] Compiling ShortcutsMCPServer main.swift
/host/spi-builder-workspace/Sources/main.swift:84:43: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
82 | do {
83 | let result = try await call(tool: tool, params: params)
84 | return CallTool.Result(content: [.text(result)], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
85 | } catch {
86 | return CallTool.Result(content: [.text(error.localizedDescription)], isError: true)
/host/spi-builder-workspace/Sources/main.swift:86:43: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | return CallTool.Result(content: [.text(result)], isError: false)
85 | } catch {
86 | return CallTool.Result(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | }
88 | }
/host/spi-builder-workspace/Sources/main.swift:193:48: error: value of type 'String' has no member 'stringValue'
191 |
192 | func getParam(name: String, params: GetPrompt.Parameters) throws -> String {
193 | guard let value = params.arguments?[name]?.stringValue else {
| `- error: value of type 'String' has no member 'stringValue'
194 | throw MCPError.invalidParams("Missing parameter: \(name)")
195 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 linux