Build Information
Successful build of swift-mcp-gui, reference master (25d483), with Swift 6.2 for macOS (SPM) on 31 Aug 2026 07:01:29 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NakaokaRei/swift-mcp-gui.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NakaokaRei/swift-mcp-gui
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 25d4833 Merge pull request #53 from NakaokaRei/dependabot/swift/github.com/nakaokarei/swiftautogui-0.30.0
Cloned https://github.com/NakaokaRei/swift-mcp-gui.git
Revision (git rev-parse @):
25d48331a335b2eb9558eddc712e360f58dc1e22
SUCCESS checkout https://github.com/NakaokaRei/swift-mcp-gui.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/NakaokaRei/swift-mcp-gui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/16] Write sources
[7/16] Copying TemplateMatching.metallib
[7/16] Write swift-mcp-gui-entitlement.plist
[11/16] Compiling CSystem shims.c
[12/16] Write swift-version--3CB7CFEC50E0D141.txt
[14/71] Compiling SystemPackage FilePathParsing.swift
[15/71] Compiling SystemPackage FilePathString.swift
[16/71] Compiling SystemPackage FilePathSyntax.swift
[17/71] Compiling SystemPackage FilePathTemp.swift
[18/74] Compiling Logging LoggingSystem.swift
[19/75] Compiling SystemPackage Errno.swift
[20/75] Compiling SystemPackage ErrnoWindows.swift
[21/75] Compiling SystemPackage FileDescriptor.swift
[22/75] Compiling SystemPackage FileHelpers.swift
[23/75] Compiling SystemPackage FileOperations.swift
[24/75] Compiling SystemPackage FilePath.swift
[25/75] Compiling SystemPackage FilePathComponentView.swift
[26/75] Compiling SystemPackage FilePathComponents.swift
[27/75] Compiling Logging LogHandler.swift
[28/75] Compiling Logging LogEvent.swift
[29/75] Compiling Logging Logger+Attributes.swift
[30/75] Emitting module SystemPackage
[31/75] Compiling Logging Logger.swift
[32/75] Compiling Logging Logger+With.swift
[33/75] Compiling SystemPackage Util.swift
[34/75] Compiling SystemPackage UtilConsumers.swift
[35/75] Compiling SystemPackage WinSDK+Overlay.swift
[36/75] Compiling Logging MetadataProvider.swift
[37/75] Emitting module Logging
[38/75] Compiling SystemPackage Exports.swift
[39/75] Compiling SystemPackage Mocking.swift
[40/75] Compiling SystemPackage RawBuffer.swift
[41/75] Compiling SystemPackage PlatformString.swift
[42/75] Compiling SystemPackage SystemString.swift
[43/75] Compiling SystemPackage Util+StringArray.swift
[44/75] Compiling SystemPackage Syscalls.swift
[45/75] Compiling SystemPackage WindowsSyscallAdapters.swift
[46/75] Compiling SystemPackage MachPort.swift
[47/75] Compiling SystemPackage FileFlags.swift
[48/75] Compiling SystemPackage FileMode.swift
[49/75] Compiling SystemPackage FileType.swift
[50/75] Compiling SystemPackage Identifiers.swift
[51/75] Compiling SystemPackage Stat.swift
[52/75] Compiling SystemPackage Backcompat.swift
[53/75] Compiling SystemPackage CInterop.swift
[54/75] Compiling SystemPackage Constants.swift
[55/75] Compiling Logging SwiftLogNoOpLogHandler.swift
[56/75] Compiling Logging Locks.swift
[59/75] Compiling SystemPackage FilePathTempPosix.swift
[60/75] Compiling SystemPackage FilePathTempWindows.swift
[61/75] Compiling SystemPackage FilePathWindows.swift
[62/75] Compiling SystemPackage FilePermissions.swift
[63/75] Compiling EventSource AsyncSequence+Events.swift
[64/75] Compiling EventSource AsyncEventsSequence.swift
[65/75] Emitting module EventSource
[66/75] Compiling EventSource EventSource.swift
[67/75] Compiling EventSource EventSource+AsyncHTTPClient.swift
[68/119] Compiling ImageRecognition NonMaximumSuppression.swift
[69/119] Emitting module ImageRecognition
[70/119] Compiling ImageRecognition ImageConversion.swift
[71/119] Compiling ImageRecognition TemplateMatcher.swift
[72/119] Compiling ImageRecognition resource_bundle_accessor.swift
[73/143] Compiling MCP ID.swift
[74/143] Compiling MCP Icon.swift
[75/143] Compiling MCP Lifecycle.swift
[76/143] Compiling MCP Messages.swift
[77/143] Compiling MCP PendingRequest.swift
[78/147] Compiling SwiftAutoGUI ActionGenerating.swift
[79/147] Compiling SwiftAutoGUI ActionGenerator.swift
[80/147] Compiling SwiftAutoGUI FoundationModelsBackend.swift
[81/147] Compiling SwiftAutoGUI VisionActionGenerating.swift
[82/147] Compiling SwiftAutoGUI AXAction.swift
[83/147] Compiling MCP Transport.swift
[84/147] Compiling MCP HTTPClientTransport.swift
[85/147] Compiling MCP HTTPRequestValidation.swift
[86/147] Compiling MCP HTTPServerTypes.swift
[87/147] Compiling MCP StatefulHTTPServerTransport.swift
[88/147] Compiling MCP Cancellation.swift
[89/147] Compiling MCP Ping.swift
[90/147] Compiling MCP Progress.swift
[91/147] Compiling MCP RequestContext.swift
[92/147] Compiling MCP Value.swift
[93/147] Compiling MCP Versioning.swift
[94/147] Compiling MCP Client.swift
[95/147] Compiling MCP Elicitation.swift
[96/147] Compiling MCP Roots.swift
[97/147] Compiling SwiftAutoGUI SwiftAutoGUI.swift
[98/147] Compiling SwiftAutoGUI Agent.swift
[99/147] Compiling SwiftAutoGUI AgentActionExecutor.swift
[100/147] Compiling SwiftAutoGUI AgentAutomationBackend.swift
[101/147] Compiling MCP Error.swift
[102/147] Compiling SwiftAutoGUI AXAttributes.swift
[103/147] Compiling SwiftAutoGUI AXSearch.swift
[104/147] Compiling SwiftAutoGUI AXTypes.swift
[105/147] Compiling SwiftAutoGUI Action.swift
[106/147] Compiling SwiftAutoGUI TweeningFunction.swift
[107/147] Emitting module MCP
[108/147] Compiling SwiftAutoGUI ImageRecognition.swift
[109/147] Compiling SwiftAutoGUI KeyboardLayout.swift
[110/147] Compiling SwiftAutoGUI Keycode.swift
[111/147] Compiling SwiftAutoGUI Screenshot.swift
[112/147] Compiling SwiftAutoGUI AppControl.swift
[113/147] Compiling SwiftAutoGUI OpenAIBackend.swift
[114/147] Compiling SwiftAutoGUI OpenAIVisionBackend.swift
[115/147] Compiling SwiftAutoGUI ScreenContext.swift
[116/147] Compiling SwiftAutoGUI InputEvent.swift
[117/147] Emitting module SwiftAutoGUI
[121/149] Compiling MCP Prompts.swift
[122/149] Compiling MCP Resources.swift
[123/149] Compiling MCP Server.swift
[124/149] Compiling MCP Tools.swift
[131/149] Compiling SwiftAutoGUI AppleScript.swift
[132/149] Compiling SwiftAutoGUI Dialog.swift
[147/166] Compiling swift_mcp_gui ToolRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/ToolRegistry.swift:15:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
13 | func execute(name: String, arguments: Value) async throws -> CallTool.Result {
14 | guard let handler = toolHandlers[name] else {
15 | return .init(content: [.text("Unknown tool: \(name)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
16 | }
17 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[148/166] Compiling swift_mcp_gui ParameterParser.swift
[149/167] Compiling swift_mcp_gui GetScreenContextTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetScreenContextTool.swift:74:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | }
73 |
74 | return .init(content: [.text(output)], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetScreenSizeTool.swift:18:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
16 | registry.registerTool(definition: tool) { _ in
17 | let screenSize = SwiftAutoGUI.size()
18 | return .init(content: [.text("Screen size: {\"width\": \(screenSize.width), \"height\": \(screenSize.height)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
19 | }
20 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[150/167] Compiling swift_mcp_gui GetScreenSizeTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetScreenContextTool.swift:74:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | }
73 |
74 | return .init(content: [.text(output)], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetScreenSizeTool.swift:18:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
16 | registry.registerTool(definition: tool) { _ in
17 | let screenSize = SwiftAutoGUI.size()
18 | return .init(content: [.text("Screen size: {\"width\": \(screenSize.width), \"height\": \(screenSize.height)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
19 | }
20 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[151/167] Compiling swift_mcp_gui SaveScreenshotTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:71:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
69 |
70 | guard let image = screenshot else {
71 | return .init(content: [.text("Failed to capture screenshot")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:93:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
91 | guard let tiffData = scaledImage.tiffRepresentation,
92 | let bitmapRep = NSBitmapImageRep(data: tiffData) else {
93 | return .init(content: [.text("Failed to convert screenshot")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:111:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
109 |
110 | guard let data = imageData else {
111 | return .init(content: [.text("Failed to encode image")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:117:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
115 | do {
116 | try data.write(to: URL(fileURLWithPath: filename))
117 | return .init(content: [.text("{\"success\": true, \"filename\": \"\(filename)\"}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
118 | } catch {
119 | return .init(content: [.text("Failed to save file: \(error.localizedDescription)")], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:119:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
117 | return .init(content: [.text("{\"success\": true, \"filename\": \"\(filename)\"}")], isError: false)
118 | } catch {
119 | return .init(content: [.text("Failed to save file: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:123:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
121 |
122 | } catch {
123 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/ScrollTool.swift:37:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | SwiftAutoGUI.hscroll(clicks: clicks)
36 | default:
37 | return .init(content: [.text("Invalid scroll direction. Must be 'up', 'down', 'left', or 'right'")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/ScrollTool.swift:40:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
38 | }
39 |
40 | return .init(content: [.text("Scrolled \(direction) by \(clicks) clicks")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
41 | } catch {
42 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/ScrollTool.swift:42:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
40 | return .init(content: [.text("Scrolled \(direction) by \(clicks) clicks")], isError: false)
41 | } catch {
42 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
43 | }
44 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[152/167] Compiling swift_mcp_gui ScrollTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:71:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
69 |
70 | guard let image = screenshot else {
71 | return .init(content: [.text("Failed to capture screenshot")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:93:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
91 | guard let tiffData = scaledImage.tiffRepresentation,
92 | let bitmapRep = NSBitmapImageRep(data: tiffData) else {
93 | return .init(content: [.text("Failed to convert screenshot")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:111:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
109 |
110 | guard let data = imageData else {
111 | return .init(content: [.text("Failed to encode image")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:117:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
115 | do {
116 | try data.write(to: URL(fileURLWithPath: filename))
117 | return .init(content: [.text("{\"success\": true, \"filename\": \"\(filename)\"}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
118 | } catch {
119 | return .init(content: [.text("Failed to save file: \(error.localizedDescription)")], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:119:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
117 | return .init(content: [.text("{\"success\": true, \"filename\": \"\(filename)\"}")], isError: false)
118 | } catch {
119 | return .init(content: [.text("Failed to save file: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/SaveScreenshotTool.swift:123:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
121 |
122 | } catch {
123 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/ScrollTool.swift:37:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | SwiftAutoGUI.hscroll(clicks: clicks)
36 | default:
37 | return .init(content: [.text("Invalid scroll direction. Must be 'up', 'down', 'left', or 'right'")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/ScrollTool.swift:40:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
38 | }
39 |
40 | return .init(content: [.text("Scrolled \(direction) by \(clicks) clicks")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
41 | } catch {
42 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/ScrollTool.swift:42:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
40 | return .init(content: [.text("Scrolled \(direction) by \(clicks) clicks")], isError: false)
41 | } catch {
42 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
43 | }
44 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[153/167] Compiling swift_mcp_gui SendKeysTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:62:49: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
60 | case "0": keyCollection.append(.zero)
61 | default:
62 | return .init(content: [.text("Unknown key: \(keyString)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:67:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
65 |
66 | if keyCollection.isEmpty {
67 | return .init(content: [.text("No keys specified")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:71:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
69 |
70 | await SwiftAutoGUI.sendKeyShortcut(keyCollection)
71 | return .init(content: [.text("Sent key combination: \(keysArray.joined(separator: "+"))")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | } catch {
73 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:73:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
71 | return .init(content: [.text("Sent key combination: \(keysArray.joined(separator: "+"))")], isError: false)
72 | } catch {
73 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MouseClickTool.swift:31:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | SwiftAutoGUI.rightClick()
30 | default:
31 | return .init(content: [.text("Invalid button type. Must be 'left' or 'right'")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MouseClickTool.swift:34:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
32 | }
33 |
34 | return .init(content: [.text("\(button) click performed")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | } catch {
36 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MouseClickTool.swift:36:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
34 | return .init(content: [.text("\(button) click performed")], isError: false)
35 | } catch {
36 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
37 | }
38 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[154/167] Compiling swift_mcp_gui MouseClickTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:62:49: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
60 | case "0": keyCollection.append(.zero)
61 | default:
62 | return .init(content: [.text("Unknown key: \(keyString)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:67:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
65 |
66 | if keyCollection.isEmpty {
67 | return .init(content: [.text("No keys specified")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:71:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
69 |
70 | await SwiftAutoGUI.sendKeyShortcut(keyCollection)
71 | return .init(content: [.text("Sent key combination: \(keysArray.joined(separator: "+"))")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | } catch {
73 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Keyboard/SendKeysTool.swift:73:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
71 | return .init(content: [.text("Sent key combination: \(keysArray.joined(separator: "+"))")], isError: false)
72 | } catch {
73 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MouseClickTool.swift:31:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | SwiftAutoGUI.rightClick()
30 | default:
31 | return .init(content: [.text("Invalid button type. Must be 'left' or 'right'")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MouseClickTool.swift:34:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
32 | }
33 |
34 | return .init(content: [.text("\(button) click performed")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | } catch {
36 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MouseClickTool.swift:36:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
34 | return .init(content: [.text("\(button) click performed")], isError: false)
35 | } catch {
36 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
37 | }
38 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[155/167] Compiling swift_mcp_gui CaptureScreenTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:38:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
36 |
37 | guard let screenshot = try? await SwiftAutoGUI.screenshot() else {
38 | return .init(content: [.text("Failed to capture screen")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:46:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
44 |
45 | guard let cgImage = screenshot.cgImage(forProposedRect: nil, context: nil, hints: nil) else {
46 | return .init(content: [.text("Failed to get CGImage")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:61:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
59 |
60 | guard let bitmap = bitmapRep else {
61 | return .init(content: [.text("Failed to create bitmap")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:76:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
74 | // Use JPEG compression with specified quality
75 | guard let jpegData = bitmap.representation(using: .jpeg, properties: [.compressionFactor: quality]) else {
76 | return .init(content: [.text("Failed to convert screenshot to JPEG")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:89:22: warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | let base64String = jpegData.base64EncodedString()
88 | return .init(content: [
89 | .image(data: base64String, mimeType: "image/jpeg", metadata: nil)
| `- warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
90 | ], isError: false)
91 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:95:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
93 | try jpegData.write(to: filePath)
94 | } catch {
95 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
96 | }
97 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:97:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
95 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
96 | }
97 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
98 | }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetPixelColorTool.swift:28:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
26 |
27 | guard let color = try? await SwiftAutoGUI.pixel(x: x, y: y) else {
28 | return .init(content: [.text("Failed to get pixel color at (\(x), \(y))")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetPixelColorTool.swift:37:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | let alpha = Int(color.alphaComponent * 255)
36 |
37 | return .init(content: [.text("Pixel color at (\(x), \(y)): {\"red\": \(red), \"green\": \(green), \"blue\": \(blue), \"alpha\": \(alpha)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
38 | } catch {
39 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetPixelColorTool.swift:39:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
37 | return .init(content: [.text("Pixel color at (\(x), \(y)): {\"red\": \(red), \"green\": \(green), \"blue\": \(blue), \"alpha\": \(alpha)}")], isError: false)
38 | } catch {
39 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
40 | }
41 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[156/167] Compiling swift_mcp_gui GetPixelColorTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:38:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
36 |
37 | guard let screenshot = try? await SwiftAutoGUI.screenshot() else {
38 | return .init(content: [.text("Failed to capture screen")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:46:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
44 |
45 | guard let cgImage = screenshot.cgImage(forProposedRect: nil, context: nil, hints: nil) else {
46 | return .init(content: [.text("Failed to get CGImage")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:61:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
59 |
60 | guard let bitmap = bitmapRep else {
61 | return .init(content: [.text("Failed to create bitmap")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:76:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
74 | // Use JPEG compression with specified quality
75 | guard let jpegData = bitmap.representation(using: .jpeg, properties: [.compressionFactor: quality]) else {
76 | return .init(content: [.text("Failed to convert screenshot to JPEG")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:89:22: warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | let base64String = jpegData.base64EncodedString()
88 | return .init(content: [
89 | .image(data: base64String, mimeType: "image/jpeg", metadata: nil)
| `- warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
90 | ], isError: false)
91 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:95:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
93 | try jpegData.write(to: filePath)
94 | } catch {
95 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
96 | }
97 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureScreenTool.swift:97:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
95 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
96 | }
97 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
98 | }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetPixelColorTool.swift:28:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
26 |
27 | guard let color = try? await SwiftAutoGUI.pixel(x: x, y: y) else {
28 | return .init(content: [.text("Failed to get pixel color at (\(x), \(y))")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetPixelColorTool.swift:37:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | let alpha = Int(color.alphaComponent * 255)
36 |
37 | return .init(content: [.text("Pixel color at (\(x), \(y)): {\"red\": \(red), \"green\": \(green), \"blue\": \(blue), \"alpha\": \(alpha)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
38 | } catch {
39 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/GetPixelColorTool.swift:39:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
37 | return .init(content: [.text("Pixel color at (\(x), \(y)): {\"red\": \(red), \"green\": \(green), \"blue\": \(blue), \"alpha\": \(alpha)}")], isError: false)
38 | } catch {
39 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
40 | }
41 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[157/167] Compiling swift_mcp_gui Server+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Server/MCPServer.swift:46:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
44 | await server.withMethodHandler(CallTool.self) { [weak self] params in
45 | guard let self = self else {
46 | return .init(content: [.text("Server not available")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Server/MCPServer.swift:59:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
57 | return try await self.toolRegistry.execute(name: params.name, arguments: argumentsValue)
58 | } catch {
59 | return .init(content: [.text("Error executing tool: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
60 | }
61 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[158/167] Compiling swift_mcp_gui MCPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Server/MCPServer.swift:46:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
44 | await server.withMethodHandler(CallTool.self) { [weak self] params in
45 | guard let self = self else {
46 | return .init(content: [.text("Server not available")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Server/MCPServer.swift:59:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
57 | return try await self.toolRegistry.execute(name: params.name, arguments: argumentsValue)
58 | } catch {
59 | return .init(content: [.text("Error executing tool: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
60 | }
61 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[159/167] Emitting module swift_mcp_gui
[160/167] Compiling swift_mcp_gui ExecuteAppleScriptFileTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptFileTool.swift:28:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
26 |
27 | if let resultString = result {
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | } else {
30 | return .init(content: [.text("AppleScript file executed successfully (no result returned): \(path)")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptFileTool.swift:30:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
29 | } else {
30 | return .init(content: [.text("AppleScript file executed successfully (no result returned): \(path)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptFileTool.swift:33:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
33 | return .init(content: [.text("Failed to execute AppleScript file: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptTool.swift:28:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
26 |
27 | if let resultString = result {
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | } else {
30 | return .init(content: [.text("AppleScript executed successfully (no result returned)")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptTool.swift:30:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
29 | } else {
30 | return .init(content: [.text("AppleScript executed successfully (no result returned)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptTool.swift:33:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
33 | return .init(content: [.text("Failed to execute AppleScript: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
34 | }
35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[161/167] Compiling swift_mcp_gui ExecuteAppleScriptTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptFileTool.swift:28:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
26 |
27 | if let resultString = result {
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | } else {
30 | return .init(content: [.text("AppleScript file executed successfully (no result returned): \(path)")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptFileTool.swift:30:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
29 | } else {
30 | return .init(content: [.text("AppleScript file executed successfully (no result returned): \(path)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptFileTool.swift:33:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
33 | return .init(content: [.text("Failed to execute AppleScript file: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptTool.swift:28:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
26 |
27 | if let resultString = result {
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
29 | } else {
30 | return .init(content: [.text("AppleScript executed successfully (no result returned)")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptTool.swift:30:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
28 | return .init(content: [.text("AppleScript Result: \(resultString)")], isError: false)
29 | } else {
30 | return .init(content: [.text("AppleScript executed successfully (no result returned)")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/AppleScript/ExecuteAppleScriptTool.swift:33:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
31 | }
32 | } catch {
33 | return .init(content: [.text("Failed to execute AppleScript: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
34 | }
35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[162/167] Compiling swift_mcp_gui MoveMouseTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MoveMouseTool.swift:32:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
30 | duration: 1.0 / 60.0
31 | )
32 | return .init(content: [.text("Mouse moved to (\(x), \(y))")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
33 | } catch {
34 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MoveMouseTool.swift:34:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
32 | return .init(content: [.text("Mouse moved to (\(x), \(y))")], isError: false)
33 | } catch {
34 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:63:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
61 |
62 | guard let screenshot = try? await SwiftAutoGUI.screenshot(region: region) else {
63 | return .init(content: [.text("Failed to capture screen region")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:71:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
69 |
70 | guard let cgImage = screenshot.cgImage(forProposedRect: nil, context: nil, hints: nil) else {
71 | return .init(content: [.text("Failed to get CGImage")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:86:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 |
85 | guard let bitmap = bitmapRep else {
86 | return .init(content: [.text("Failed to create bitmap")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:101:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
99 | // Use JPEG compression with specified quality
100 | guard let jpegData = bitmap.representation(using: .jpeg, properties: [.compressionFactor: quality]) else {
101 | return .init(content: [.text("Failed to convert screenshot to JPEG")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
102 | }
103 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:114:22: warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
112 | let base64String = jpegData.base64EncodedString()
113 | return .init(content: [
114 | .image(data: base64String, mimeType: "image/jpeg", metadata: nil)
| `- warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
115 | ], isError: false)
116 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:120:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
118 | try jpegData.write(to: filePath)
119 | } catch {
120 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
121 | }
122 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:122:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
120 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
121 | }
122 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
123 | }
124 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:125:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
123 | }
124 | } catch {
125 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
126 | }
127 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[163/167] Compiling swift_mcp_gui CaptureRegionTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MoveMouseTool.swift:32:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
30 | duration: 1.0 / 60.0
31 | )
32 | return .init(content: [.text("Mouse moved to (\(x), \(y))")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
33 | } catch {
34 | return .init(content: [.text(error.localizedDescription)], isError: true)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Mouse/MoveMouseTool.swift:34:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
32 | return .init(content: [.text("Mouse moved to (\(x), \(y))")], isError: false)
33 | } catch {
34 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:63:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
61 |
62 | guard let screenshot = try? await SwiftAutoGUI.screenshot(region: region) else {
63 | return .init(content: [.text("Failed to capture screen region")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:71:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
69 |
70 | guard let cgImage = screenshot.cgImage(forProposedRect: nil, context: nil, hints: nil) else {
71 | return .init(content: [.text("Failed to get CGImage")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:86:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 |
85 | guard let bitmap = bitmapRep else {
86 | return .init(content: [.text("Failed to create bitmap")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:101:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
99 | // Use JPEG compression with specified quality
100 | guard let jpegData = bitmap.representation(using: .jpeg, properties: [.compressionFactor: quality]) else {
101 | return .init(content: [.text("Failed to convert screenshot to JPEG")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
102 | }
103 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:114:22: warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
112 | let base64String = jpegData.base64EncodedString()
113 | return .init(content: [
114 | .image(data: base64String, mimeType: "image/jpeg", metadata: nil)
| `- warning: 'image(data:mimeType:metadata:)' is deprecated: Use .image(data:mimeType:annotations:_meta:) instead. [#DeprecatedDeclaration]
115 | ], isError: false)
116 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:120:45: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
118 | try jpegData.write(to: filePath)
119 | } catch {
120 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
121 | }
122 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:122:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
120 | return .init(content: [.text("Failed to save screenshot: \(error.localizedDescription)")], isError: true)
121 | }
122 | return .init(content: [.text("{\"path\": \"\(filePath.path)\", \"width\": \(scaledWidth), \"height\": \(scaledHeight)}")], isError: false)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
123 | }
124 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/swift-mcp-gui/Tools/Screen/CaptureRegionTool.swift:125:41: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
123 | }
124 | } catch {
125 | return .init(content: [.text(error.localizedDescription)], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
126 | }
127 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[164/167] Compiling swift_mcp_gui main.swift
[164/167] Write Objects.LinkFileList
[165/167] Linking swift-mcp-gui
[166/167] Applying swift-mcp-gui
Build complete! (46.22s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/NakaokaRei/SwiftAutoGUI.git
[1/2011] Fetching swiftautogui
[62/5769] Fetching swiftautogui, swift-sdk
Fetched https://github.com/NakaokaRei/SwiftAutoGUI.git from cache (1.64s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.64s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (2.24s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
[1/303] Fetching eventsource
[14/8275] Fetching eventsource, swift-log
[351/15129] Fetching eventsource, swift-log, swift-system
[14971/100812] Fetching eventsource, swift-log, swift-system, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (2.26s)
[27721/92840] Fetching eventsource, swift-system, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (9.13s)
Fetched https://github.com/mattt/eventsource.git from cache (9.13s)
Fetched https://github.com/apple/swift-nio.git from cache (9.13s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (9.72s)
Computing version for https://github.com/NakaokaRei/SwiftAutoGUI.git
Computed https://github.com/NakaokaRei/SwiftAutoGUI.git at 0.30.0 (0.54s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/18615] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.01s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (2.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.3 (0.87s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[733/28872] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (3.83s)
Fetched https://github.com/apple/swift-collections.git from cache (3.83s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.64s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/NakaokaRei/SwiftAutoGUI.git
Working copy of https://github.com/NakaokaRei/SwiftAutoGUI.git resolved at 0.30.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.6.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.15.0
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.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.101.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-sdk",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/modelcontextprotocol/swift-sdk.git"
},
{
"identity" : "swiftautogui",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.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" : "26.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/GUITestConfiguration.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/GetScreenContextTool.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.2"
}
Done.