The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-mcp-gui, reference 0.1.0 (8902cb), with Swift 6.1 for Linux on 6 Feb 2026 06:25:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NakaokaRei/swift-mcp-gui.git
Reference: 0.1.0
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/NakaokaRei/swift-mcp-gui
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 8902cbc Merge pull request #24 from NakaokaRei/feature/capture-output-format
Cloned https://github.com/NakaokaRei/swift-mcp-gui.git
Revision (git rev-parse @):
8902cbc20e4ae7aee8adf34005ae560b28730490
SUCCESS checkout https://github.com/NakaokaRei/swift-mcp-gui.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NakaokaRei/swift-mcp-gui.git
https://github.com/NakaokaRei/swift-mcp-gui.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/modelcontextprotocol/swift-sdk.git"
    },
    {
      "identity" : "swiftautogui",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NakaokaRei/SwiftAutoGUI.git"
    }
  ],
  "manifest_display_name" : "swift-mcp-gui",
  "name" : "swift-mcp-gui",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-mcp-gui",
      "targets" : [
        "swift-mcp-gui"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_mcp_guiTests",
      "module_type" : "SwiftTarget",
      "name" : "swift-mcp-guiTests",
      "path" : "Tests/swift-mcp-guiTests",
      "sources" : [
        "Tools/AppleScriptToolsTests.swift",
        "Tools/KeyboardToolsTests.swift",
        "Tools/MouseToolsTests.swift",
        "Tools/ScreenToolsTests.swift",
        "Utilities/ParameterParserTests.swift"
      ],
      "target_dependencies" : [
        "swift-mcp-gui"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swift_mcp_gui",
      "module_type" : "SwiftTarget",
      "name" : "swift-mcp-gui",
      "path" : "Sources/swift-mcp-gui",
      "product_dependencies" : [
        "MCP",
        "SwiftAutoGUI"
      ],
      "product_memberships" : [
        "swift-mcp-gui"
      ],
      "sources" : [
        "Extensions/Server+Extension.swift",
        "Server/MCPServer.swift",
        "Tools/AppleScript/ExecuteAppleScriptFileTool.swift",
        "Tools/AppleScript/ExecuteAppleScriptTool.swift",
        "Tools/Keyboard/SendKeysTool.swift",
        "Tools/Mouse/MouseClickTool.swift",
        "Tools/Mouse/MoveMouseTool.swift",
        "Tools/Screen/CaptureRegionTool.swift",
        "Tools/Screen/CaptureScreenTool.swift",
        "Tools/Screen/GetPixelColorTool.swift",
        "Tools/Screen/GetScreenSizeTool.swift",
        "Tools/Screen/SaveScreenshotTool.swift",
        "Tools/Screen/ScrollTool.swift",
        "Tools/ToolRegistry.swift",
        "Utilities/ParameterParser.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/NakaokaRei/SwiftAutoGUI.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/1057] Fetching swiftautogui
[1058/3859] Fetching swiftautogui, swift-sdk
Fetched https://github.com/NakaokaRei/SwiftAutoGUI.git from cache (1.21s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.21s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (1.91s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/199] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.17s)
[1/5899] Fetching swift-log
[5900/11451] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (1.67s)
Computing version for https://github.com/NakaokaRei/SwiftAutoGUI.git
Computed https://github.com/NakaokaRei/SwiftAutoGUI.git at 0.13.0 (4.37s)
Fetching https://github.com/yeatse/opencv-spm.git
[1/364] Fetching opencv-spm
Fetched https://github.com/yeatse/opencv-spm.git from cache (0.44s)
Computing version for https://github.com/yeatse/opencv-spm.git
Computed https://github.com/yeatse/opencv-spm.git at 4.13.0 (1.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.94s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.03s)
Creating working copy for https://github.com/NakaokaRei/SwiftAutoGUI.git
Working copy of https://github.com/NakaokaRei/SwiftAutoGUI.git resolved at 0.13.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.3.0
Creating working copy for https://github.com/yeatse/opencv-spm.git
Working copy of https://github.com/yeatse/opencv-spm.git resolved at 4.13.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.10.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.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.9.1
Downloading binary artifact https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip
[1397/200350637] Downloading https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip
Downloaded https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip (21.74s)
Building for debugging...
[0/16] Write sources
[6/16] Write swift-version-24593BA9C3E375BF.txt
[7/16] Compiling CSystem shims.c
[9/54] Emitting module SystemPackage
[10/58] Compiling SystemPackage Errno.swift
[11/58] Compiling SystemPackage ErrnoWindows.swift
[12/58] Compiling SystemPackage FileDescriptor.swift
[13/58] Compiling SystemPackage FileHelpers.swift
[14/58] Compiling SystemPackage FileOperations.swift
[15/58] Compiling Logging MetadataProvider.swift
[16/58] Compiling Logging Locks.swift
[17/58] Emitting module Logging
[18/58] Compiling Logging Logging.swift
[19/58] Compiling Logging LogHandler.swift
[20/58] Compiling SystemPackage Syscalls.swift
[21/58] Compiling SystemPackage WindowsSyscallAdapters.swift
[22/58] Compiling SystemPackage MachPort.swift
[23/58] Compiling SystemPackage PlatformString.swift
[24/59] Compiling SystemPackage Constants.swift
[25/59] Compiling SystemPackage Exports.swift
[26/59] Compiling SystemPackage Mocking.swift
[27/59] Compiling SystemPackage RawBuffer.swift
[29/59] Compiling SystemPackage FilePathWindows.swift
[30/59] Compiling SystemPackage FilePermissions.swift
[31/59] Compiling SystemPackage IOCompletion.swift
[32/59] Compiling SystemPackage IORequest.swift
[33/59] Compiling SystemPackage FilePathSyntax.swift
[34/59] Compiling SystemPackage FilePathTemp.swift
[35/59] Compiling SystemPackage FilePathTempPosix.swift
[36/59] Compiling SystemPackage FilePathTempWindows.swift
[37/59] Compiling SystemPackage FilePath.swift
[38/59] Compiling SystemPackage FilePathComponentView.swift
[39/59] Compiling SystemPackage FilePathComponents.swift
[40/59] Compiling SystemPackage FilePathParsing.swift
[41/59] Compiling SystemPackage FilePathString.swift
[42/59] Compiling SystemPackage IORing.swift
[43/59] Compiling SystemPackage RawIORequest.swift
[44/59] Compiling SystemPackage Backcompat.swift
[45/59] Compiling SystemPackage CInterop.swift
[45/59] Wrapping AST for Logging for debugging
[47/59] Compiling SystemPackage SystemString.swift
[48/59] Compiling SystemPackage Util+StringArray.swift
[49/59] Compiling SystemPackage Util.swift
[50/59] Compiling SystemPackage UtilConsumers.swift
[52/60] Emitting module opencv2_dependencies
[53/60] Compiling opencv2_dependencies Stub.swift
[54/61] Wrapping AST for SystemPackage for debugging
[55/61] Wrapping AST for opencv2-dependencies for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/88] Emitting module SwiftAutoGUI
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[58/89] Compiling SwiftAutoGUI Action.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[59/89] Compiling SwiftAutoGUI AppleScript.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[60/89] Compiling SwiftAutoGUI TweeningFunction.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[61/89] Emitting module MCP
[62/91] Compiling MCP Messages.swift
[63/91] Compiling MCP Transport.swift
[64/91] Compiling MCP HTTPClientTransport.swift
[65/91] Compiling MCP Error.swift
[66/91] Compiling MCP ID.swift
[67/91] Compiling MCP Lifecycle.swift
[68/91] Compiling MCP Server.swift
[69/91] Compiling MCP Tools.swift
[70/91] Compiling MCP Versioning.swift
[71/91] Compiling MCP Client.swift
[72/91] Compiling MCP Prompts.swift
[73/91] Compiling MCP Resources.swift
[74/91] Compiling MCP InMemoryTransport.swift
[75/91] Compiling MCP NetworkTransport.swift
[76/91] Compiling MCP StdioTransport.swift
[77/91] Compiling MCP Sampling.swift
[78/91] Compiling MCP Data+Extensions.swift
[79/91] Compiling MCP UnitInterval.swift
[80/91] Compiling MCP Ping.swift
[81/91] Compiling MCP Value.swift
[82/92] Wrapping AST for MCP for debugging
[84/92] Compiling SwiftAutoGUI SwiftAutoGUI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[85/92] Compiling SwiftAutoGUI Keycode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[86/92] Compiling SwiftAutoGUI Screenshot.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[87/92] Compiling SwiftAutoGUI Dialog.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[88/92] Compiling SwiftAutoGUI ImageRecognition.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/45] Emitting module opencv2_dependencies
[3/45] Compiling opencv2_dependencies Stub.swift
[4/47] Compiling Logging MetadataProvider.swift
[6/48] Emitting module Logging
[7/55] Compiling SystemPackage FilePathWindows.swift
[8/55] Compiling SystemPackage FilePermissions.swift
[9/55] Compiling SystemPackage IOCompletion.swift
[10/55] Compiling SystemPackage IORequest.swift
[11/59] Compiling SystemPackage Syscalls.swift
[12/59] Compiling SystemPackage WindowsSyscallAdapters.swift
[13/59] Compiling SystemPackage MachPort.swift
[14/59] Compiling SystemPackage PlatformString.swift
[15/59] Compiling SystemPackage FilePathSyntax.swift
[16/59] Compiling SystemPackage FilePathTemp.swift
[17/59] Compiling SystemPackage FilePathTempPosix.swift
[18/59] Compiling SystemPackage FilePathTempWindows.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/59] Emitting module SwiftAutoGUI
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[20/60] Compiling SwiftAutoGUI Action.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[21/60] Compiling SwiftAutoGUI AppleScript.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[22/60] Compiling SystemPackage IORing.swift
[23/60] Compiling SystemPackage RawIORequest.swift
[24/60] Compiling SystemPackage Backcompat.swift
[25/60] Compiling SystemPackage CInterop.swift
[26/60] Compiling Logging LogHandler.swift
[27/60] Compiling SystemPackage Constants.swift
[28/60] Compiling SystemPackage Exports.swift
[29/60] Compiling SystemPackage Mocking.swift
[30/60] Compiling SystemPackage RawBuffer.swift
[31/60] Compiling Logging Locks.swift
[32/60] Compiling Logging Logging.swift
[33/61] Compiling SwiftAutoGUI TweeningFunction.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[35/61] Emitting module SystemPackage
[36/61] Compiling SystemPackage Errno.swift
[37/61] Compiling SystemPackage ErrnoWindows.swift
[38/61] Compiling SystemPackage FileDescriptor.swift
[39/61] Compiling SystemPackage FileHelpers.swift
[40/61] Compiling SystemPackage FileOperations.swift
[41/61] Compiling SystemPackage FilePath.swift
[42/61] Compiling SystemPackage FilePathComponentView.swift
[43/61] Compiling SystemPackage FilePathComponents.swift
[44/61] Compiling SystemPackage FilePathParsing.swift
[45/61] Compiling SystemPackage FilePathString.swift
[46/61] Compiling SystemPackage SystemString.swift
[47/61] Compiling SystemPackage Util+StringArray.swift
[48/61] Compiling SystemPackage Util.swift
[49/61] Compiling SystemPackage UtilConsumers.swift
[51/79] Emitting module MCP
[52/81] Compiling MCP Messages.swift
[53/81] Compiling MCP Transport.swift
[54/81] Compiling MCP HTTPClientTransport.swift
[55/81] Compiling MCP Error.swift
[56/81] Compiling MCP ID.swift
[57/81] Compiling MCP Lifecycle.swift
[58/81] Compiling MCP Prompts.swift
[59/81] Compiling MCP Resources.swift
[60/81] Compiling MCP Server.swift
[61/81] Compiling MCP Tools.swift
[62/81] Compiling MCP Versioning.swift
[63/81] Compiling MCP Client.swift
[64/81] Compiling MCP UnitInterval.swift
[65/81] Compiling MCP Ping.swift
[66/81] Compiling MCP Value.swift
[67/81] Compiling MCP InMemoryTransport.swift
[68/81] Compiling MCP NetworkTransport.swift
[69/81] Compiling MCP StdioTransport.swift
[70/81] Compiling MCP Sampling.swift
[71/81] Compiling MCP Data+Extensions.swift
[73/81] Compiling SwiftAutoGUI ImageRecognition.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[74/81] Compiling SwiftAutoGUI Dialog.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[75/81] Compiling SwiftAutoGUI Screenshot.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[76/81] Compiling SwiftAutoGUI SwiftAutoGUI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
[77/81] Compiling SwiftAutoGUI Keycode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAutoGUI/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
  1 | import Foundation
  2 | import AppKit
    |        `- error: no such module 'AppKit'
  3 |
  4 | /// Represents an automation action that can be executed.
BUILD FAILURE 6.1 linux