Build Information
Failed to build shortcuts-mcp-server, reference 1.0.2 (7fb7a7
), with Swift 6.2 (beta) for Android on 24 Jun 2025 03:35:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/artemnovichkov/shortcuts-mcp-server.git
Reference: 1.0.2
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
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 7fb7a7b Update README.md
Cloned https://github.com/artemnovichkov/shortcuts-mcp-server.git
Revision (git rev-parse @):
7fb7a7b637698c39e1204a017272325cafbfdbed
SUCCESS checkout https://github.com/artemnovichkov/shortcuts-mcp-server.git at 1.0.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/1041] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.39s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/1856] Fetching swift-sdk
[688/6292] Fetching swift-sdk, swift-system
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.36s)
Fetched https://github.com/apple/swift-system from cache (0.40s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.52s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.9.0 (0.48s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.94s)
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (1038151)
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
Building for debugging...
[0/15] Write sources
[5/15] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/15] Compiling CSystem shims.c
[7/15] Compiling _SubprocessCShims process_shims.c
[9/48] Compiling SystemPackage MachPort.swift
[10/48] Compiling SystemPackage PlatformString.swift
[11/48] Compiling SystemPackage SystemString.swift
[12/51] Compiling SystemPackage FilePathParsing.swift
[13/51] Compiling SystemPackage FilePathString.swift
[14/51] Compiling SystemPackage FilePathSyntax.swift
[15/51] Compiling SystemPackage FilePathTemp.swift
[16/51] Compiling SystemPackage Errno.swift
[17/51] Compiling SystemPackage ErrnoWindows.swift
[18/51] Compiling SystemPackage FileDescriptor.swift
[19/51] Compiling SystemPackage FileHelpers.swift
[20/51] Emitting module SystemPackage
[21/51] Compiling SystemPackage FileOperations.swift
[22/51] Compiling SystemPackage FilePath.swift
[23/51] Compiling SystemPackage FilePathComponentView.swift
[24/51] Compiling SystemPackage FilePathComponents.swift
[25/51] Compiling SystemPackage Util+StringArray.swift
[26/51] Compiling SystemPackage Util.swift
[27/51] Compiling SystemPackage UtilConsumers.swift
[28/51] Compiling SystemPackage Mocking.swift
[29/51] Compiling SystemPackage RawBuffer.swift
[30/51] Compiling SystemPackage Syscalls.swift
[31/51] Compiling SystemPackage WindowsSyscallAdapters.swift
[32/51] Compiling Logging LogHandler.swift
[33/51] Compiling Logging MetadataProvider.swift
[34/51] Compiling Logging Locks.swift
[35/51] Emitting module Logging
[36/51] Compiling SystemPackage FilePathTempPosix.swift
[37/51] Compiling SystemPackage FilePathTempWindows.swift
[38/51] Compiling SystemPackage FilePathWindows.swift
[39/51] Compiling SystemPackage FilePermissions.swift
[40/51] Compiling SystemPackage Backcompat.swift
[41/51] Compiling SystemPackage CInterop.swift
[42/51] Compiling SystemPackage Constants.swift
[43/51] Compiling SystemPackage Exports.swift
[45/52] Compiling Logging Logging.swift
[45/53] Wrapping AST for SystemPackage for debugging
[47/70] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/88] Emitting module Subprocess
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
[50/90] Compiling MCP HTTPClientTransport.swift
[51/90] Compiling MCP Versioning.swift
[52/90] Compiling MCP Messages.swift
[53/90] Compiling MCP Transport.swift
[54/90] Compiling MCP Error.swift
[55/90] Compiling MCP ID.swift
[56/90] Compiling MCP Lifecycle.swift
[57/90] Compiling MCP Resources.swift
[58/90] Compiling Subprocess Span+SubprocessFoundation.swift
[59/90] Compiling Subprocess Teardown.swift
[60/90] Compiling MCP NetworkTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[61/90] Compiling MCP StdioTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[62/90] Compiling MCP UnitInterval.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[64/92] Compiling MCP Client.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/92] Emitting module MCP
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[71/92] Compiling MCP Server.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[72/92] Compiling MCP Tools.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
[73/92] Compiling MCP Prompts.swift
[74/92] Compiling MCP Ping.swift
[75/92] Compiling MCP Value.swift
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
[80/92] Compiling MCP Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
3 |
4 | #if !os(Linux)
5 | import EventSource
| `- error: no such module 'EventSource'
6 | #endif
7 |
BUILD FAILURE 6.2 android