The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-mcp-gui, reference 0.1.0 (8902cb), with Swift 6.0 for macOS (SPM) on 6 Feb 2026 06:21:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NakaokaRei/swift-mcp-gui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/14] Write sources
[0/14] Write swift-mcp-gui-entitlement.plist
[0/14] Write sources
[8/14] Compiling CSystem shims.c
[9/14] Copying opencv2.framework
[10/14] Write swift-version-5BDAB9E9C0126B9D.txt
[12/53] Emitting module SystemPackage
[13/56] Compiling SystemPackage FilePathTempPosix.swift
[14/56] Compiling SystemPackage FilePathTempWindows.swift
[15/56] Compiling SystemPackage FilePathWindows.swift
[16/56] Compiling SystemPackage Util+StringArray.swift
[17/56] Compiling SystemPackage Util.swift
[18/56] Compiling SystemPackage UtilConsumers.swift
[19/56] Compiling SystemPackage FileHelpers.swift
[20/56] Compiling SystemPackage FileOperations.swift
[21/56] Compiling SystemPackage FilePath.swift
[22/56] Compiling SystemPackage FilePathString.swift
[23/56] Compiling SystemPackage FilePathSyntax.swift
[24/56] Compiling SystemPackage FilePathTemp.swift
[25/56] Compiling SystemPackage RawBuffer.swift
[26/56] Compiling SystemPackage Syscalls.swift
[27/56] Compiling SystemPackage WindowsSyscallAdapters.swift
[28/56] Compiling SystemPackage MachPort.swift
[29/56] Compiling SystemPackage PlatformString.swift
[30/56] Compiling SystemPackage SystemString.swift
[31/56] Compiling Logging MetadataProvider.swift
[32/56] Compiling SystemPackage FilePathComponentView.swift
[33/56] Compiling SystemPackage FilePathComponents.swift
[34/56] Compiling SystemPackage FilePathParsing.swift
[35/56] Compiling SystemPackage Errno.swift
[36/56] Compiling SystemPackage ErrnoWindows.swift
[37/56] Compiling SystemPackage FileDescriptor.swift
[38/56] Compiling SystemPackage FilePermissions.swift
[39/56] Compiling SystemPackage Backcompat.swift
[40/56] Compiling SystemPackage CInterop.swift
[41/56] Compiling SystemPackage Constants.swift
[42/56] Compiling SystemPackage Exports.swift
[43/56] Compiling SystemPackage Mocking.swift
[44/56] Compiling Logging Logging.swift
[45/56] Compiling Logging Locks.swift
[46/56] Compiling Logging LogHandler.swift
[47/56] Emitting module Logging
[48/56] Emitting module opencv2_dependencies
[49/56] Compiling opencv2_dependencies Stub.swift
[50/65] Compiling EventSource AsyncSequence+Events.swift
[51/65] Compiling EventSource EventSource.swift
[52/65] Compiling EventSource AsyncEventsSequence.swift
[53/65] Emitting module EventSource
[54/84] Emitting module MCP
[55/84] Compiling MCP Error.swift
[56/84] Compiling MCP ID.swift
[57/84] Compiling MCP Transport.swift
[58/84] Compiling MCP HTTPClientTransport.swift
[59/86] Compiling MCP Prompts.swift
[60/86] Compiling MCP Resources.swift
[61/86] Compiling MCP Lifecycle.swift
[62/86] Compiling MCP Messages.swift
[63/86] Compiling MCP Server.swift
[64/86] Compiling MCP Tools.swift
[65/86] Compiling MCP Ping.swift
[66/86] Compiling MCP Value.swift
[67/86] Compiling MCP Versioning.swift
[68/86] Compiling MCP Client.swift
[69/86] Compiling MCP InMemoryTransport.swift
[70/86] Compiling MCP NetworkTransport.swift
[71/86] Compiling MCP Sampling.swift
[72/86] Compiling MCP Data+Extensions.swift
[73/86] Compiling MCP StdioTransport.swift
[74/86] Compiling MCP UnitInterval.swift
[75/86] Compiling SwiftAutoGUI Screenshot.swift
[76/86] Compiling SwiftAutoGUI ImageRecognition.swift
[77/86] Compiling SwiftAutoGUI Keycode.swift
[78/86] Compiling SwiftAutoGUI Dialog.swift
[79/86] Compiling SwiftAutoGUI AppleScript.swift
[80/86] Compiling SwiftAutoGUI SwiftAutoGUI.swift
[81/86] Compiling SwiftAutoGUI TweeningFunction.swift
[82/86] Emitting module SwiftAutoGUI
<module-includes>:1:9: note: in file included from <module-includes>:1:
  1 | #import "Headers/opencv2.h"
    |         `- note: in file included from <module-includes>:1:
  2 | #import "Headers/MatOfRect2d.h"
  3 | #import "Headers/MatOfFloat4.h"
<module-includes>:1:9: note: in file included from <module-includes>:1:
  1 | #import "Headers/opencv2.h"
    |         `- note: in file included from <module-includes>:1:
  2 | #import "Headers/MatOfRect2d.h"
  3 | #import "Headers/MatOfFloat4.h"
[83/86] Compiling SwiftAutoGUI Action.swift
[84/102] Compiling swift_mcp_gui SendKeysTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:70:30: warning: 'sendKeyShortcut' is deprecated: Use the async version of sendKeyShortcut instead
68 |                 }
69 |
70 |                 SwiftAutoGUI.sendKeyShortcut(keyCollection)
   |                              `- warning: 'sendKeyShortcut' is deprecated: Use the async version of sendKeyShortcut instead
71 |                 return .init(content: [.text("Sent key combination: \(keysArray.joined(separator: "+"))")], isError: false)
72 |             } catch {
[85/102] Compiling swift_mcp_gui MouseClickTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:70:30: warning: 'sendKeyShortcut' is deprecated: Use the async version of sendKeyShortcut instead
68 |                 }
69 |
70 |                 SwiftAutoGUI.sendKeyShortcut(keyCollection)
   |                              `- warning: 'sendKeyShortcut' is deprecated: Use the async version of sendKeyShortcut instead
71 |                 return .init(content: [.text("Sent key combination: \(keysArray.joined(separator: "+"))")], isError: false)
72 |             } catch {
[86/103] Compiling swift_mcp_gui main.swift
[87/103] Compiling swift_mcp_gui ToolRegistry.swift
[88/103] Compiling swift_mcp_gui ExecuteAppleScriptFileTool.swift
[89/103] Compiling swift_mcp_gui ExecuteAppleScriptTool.swift
[90/103] Compiling swift_mcp_gui Server+Extension.swift
[91/103] Compiling swift_mcp_gui MCPServer.swift
[92/103] Compiling swift_mcp_gui ScrollTool.swift
[93/103] Compiling swift_mcp_gui CaptureScreenTool.swift
[94/103] Compiling swift_mcp_gui GetPixelColorTool.swift
[95/103] Compiling swift_mcp_gui GetScreenSizeTool.swift
[96/103] Compiling swift_mcp_gui SaveScreenshotTool.swift
[97/103] Emitting module swift_mcp_gui
[98/103] Compiling swift_mcp_gui MoveMouseTool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
  1 | #import "Headers/opencv2.h"
    |         `- note: in file included from <module-includes>:1:
  2 | #import "Headers/MatOfRect2d.h"
  3 | #import "Headers/MatOfFloat4.h"
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MoveMouseTool.swift:28:30: warning: 'move(to:)' is deprecated: Use move(to:duration:tweening:fps:) with duration: 0 for instant movement
26 |                 let y = try parser.parseDouble("y")
27 |
28 |                 SwiftAutoGUI.move(to: CGPoint(x: x, y: y))
   |                              `- warning: 'move(to:)' is deprecated: Use move(to:duration:tweening:fps:) with duration: 0 for instant movement
29 |                 return .init(content: [.text("Mouse moved to (\(x), \(y))")], isError: false)
30 |             } catch {
[99/103] Compiling swift_mcp_gui CaptureRegionTool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
  1 | #import "Headers/opencv2.h"
    |         `- note: in file included from <module-includes>:1:
  2 | #import "Headers/MatOfRect2d.h"
  3 | #import "Headers/MatOfFloat4.h"
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MoveMouseTool.swift:28:30: warning: 'move(to:)' is deprecated: Use move(to:duration:tweening:fps:) with duration: 0 for instant movement
26 |                 let y = try parser.parseDouble("y")
27 |
28 |                 SwiftAutoGUI.move(to: CGPoint(x: x, y: y))
   |                              `- warning: 'move(to:)' is deprecated: Use move(to:duration:tweening:fps:) with duration: 0 for instant movement
29 |                 return .init(content: [.text("Mouse moved to (\(x), \(y))")], isError: false)
30 |             } catch {
[100/103] Compiling swift_mcp_gui ParameterParser.swift
[100/103] Write Objects.LinkFileList
[101/103] Linking swift-mcp-gui
[102/103] Applying swift-mcp-gui
Build complete! (42.36s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/NakaokaRei/SwiftAutoGUI.git
[1/2802] Fetching swift-sdk
[30/3859] Fetching swift-sdk, swiftautogui
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.03s)
Fetched https://github.com/NakaokaRei/SwiftAutoGUI.git from cache (1.03s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (0.54s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
[1/199] Fetching eventsource
[200/5751] Fetching eventsource, swift-system
[201/11650] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (1.27s)
Fetched https://github.com/apple/swift-log.git from cache (1.27s)
Fetched https://github.com/mattt/eventsource.git from cache (1.27s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (0.42s)
Computing version for https://github.com/NakaokaRei/SwiftAutoGUI.git
Computed https://github.com/NakaokaRei/SwiftAutoGUI.git at 0.13.0 (3.07s)
Fetching https://github.com/yeatse/opencv-spm.git
[1/364] Fetching opencv-spm
Fetched https://github.com/yeatse/opencv-spm.git from cache (0.84s)
Computing version for https://github.com/yeatse/opencv-spm.git
Computed https://github.com/yeatse/opencv-spm.git at 4.13.0 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.46s)
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
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/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/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/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.3.0
[16375/200350637] Downloading https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip
Downloading binary artifact 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 (11.29s)
Build complete.
{
  "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" : "/Users/admin/builder/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"
}
Done.