The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-mcp-gui, reference master (25d483), with Swift 6.3 for macOS (SPM) on 31 Aug 2026 07:02:23 UTC.

Swift 6 data race errors: 0

Build Command

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

Build 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
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/NakaokaRei/SwiftAutoGUI.git
Fetching https://github.com/apple/swift-log.git
[1/2011] Fetching swiftautogui
[22/3886] Fetching swiftautogui, swift-atomics
[23/11858] Fetching swiftautogui, swift-atomics, swift-log
[295/18712] Fetching swiftautogui, swift-atomics, swift-log, swift-system
[1402/22470] Fetching swiftautogui, swift-atomics, swift-log, swift-system, swift-sdk
[3960/49467] Fetching swiftautogui, swift-atomics, swift-log, swift-system, swift-sdk, swift-collections
[24293/135150] Fetching swiftautogui, swift-atomics, swift-log, swift-system, swift-sdk, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (8.61s)
Fetched https://github.com/NakaokaRei/SwiftAutoGUI.git from cache (8.61s)
Fetched https://github.com/apple/swift-log.git from cache (8.61s)
Fetched https://github.com/apple/swift-system.git from cache (8.61s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (8.61s)
Fetched https://github.com/apple/swift-atomics.git from cache (8.61s)
Fetched https://github.com/apple/swift-nio.git from cache (8.61s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/mattt/eventsource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.92s)
[1/18615] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.86s)
Creating working copy for https://github.com/apple/swift-collections.git
Creating working copy for https://github.com/apple/swift-system.git
Creating working copy for https://github.com/mattt/eventsource.git
Creating working copy for https://github.com/apple/swift-argument-parser.git
Creating working copy for https://github.com/apple/swift-log.git
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Creating working copy for https://github.com/NakaokaRei/SwiftAutoGUI.git
Creating working copy for https://github.com/apple/swift-nio.git
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Working copy of https://github.com/NakaokaRei/SwiftAutoGUI.git resolved at 0.30.0
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-mcp-gui",
      "name": "swift-mcp-gui",
      "url": "https://github.com/NakaokaRei/swift-mcp-gui.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-mcp-gui",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/NakaokaRei/swift-mcp-gui.git
[1/479] Fetching swift-mcp-gui
Fetched https://github.com/NakaokaRei/swift-mcp-gui.git from cache (0.98s)
Creating working copy for https://github.com/NakaokaRei/swift-mcp-gui.git
Working copy of https://github.com/NakaokaRei/swift-mcp-gui.git resolved at master (25d4833)
warning: '.resolve-product-dependencies': dependency 'swift-mcp-gui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/NakaokaRei/swift-mcp-gui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/34] Write sources
[5/34] Write swift-mcp-gui-entitlement.plist
[5/34] Write sources
[12/34] Copying TemplateMatching.metallib
[12/34] Write sources
[19/34] Compiling CNIOWindows WSAStartup.c
[20/34] Compiling CNIOWindows shim.c
[20/34] Compiling CSystem shims.c
[22/34] Compiling CNIOWASI CNIOWASI.c
[23/34] Compiling CNIOOpenBSD shim.c
[24/34] Compiling CNIOLinux shim.c
[25/34] Compiling CNIOLinux liburing_shims.c
[26/34] Write swift-version-69A768CDF2A0BEE1.txt
[27/57] Compiling _AtomicsShims.c
[28/117] Compiling CNIODarwin shim.c
[30/117] Compiling Atomics DoubleWord.swift
[31/117] Compiling Atomics ManagedAtomic.swift
[32/117] Compiling Atomics UnsafeAtomicLazyReference.swift
[33/117] Compiling Atomics IntegerOperations.swift
[34/118] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[35/118] Compiling Atomics AtomicValue.swift
[36/118] Compiling Atomics AtomicMemoryOrderings.swift
[39/118] Compiling Atomics ManagedAtomicLazyReference.swift
[40/118] Compiling Atomics UnsafeAtomic.swift
[41/119] Compiling _NIODataStructures _TinyArray.swift
[42/119] Compiling _NIODataStructures PriorityQueue.swift
[43/119] Compiling Logging MetadataProvider.swift
[46/119] Compiling Atomics AtomicInteger.swift
[47/119] Compiling Atomics AtomicOptionalWrappable.swift
[50/119] Compiling Atomics OptionalRawRepresentable.swift
[51/119] Compiling Atomics RawRepresentable.swift
[52/119] Compiling Atomics AtomicReference.swift
[53/119] Compiling Atomics AtomicStorage.swift
[54/119] Compiling Atomics AtomicBool.swift
[55/119] Compiling Atomics IntegerConformances.swift
[56/119] Emitting module InternalCollectionsUtilities
[57/119] Compiling Atomics PointerConformances.swift
[58/119] Compiling Atomics Primitives.native.swift
[59/119] Compiling Atomics Unmanaged extensions.swift
[60/119] Compiling _NIOBase64 Base64.swift
[61/119] Emitting module _NIOBase64
[62/119] Emitting module _NIODataStructures
[63/119] Compiling _NIODataStructures Heap.swift
[70/119] Compiling SystemPackage RawBuffer.swift
[71/119] Compiling SystemPackage Syscalls.swift
[72/119] Compiling SystemPackage WindowsSyscallAdapters.swift
[82/122] Emitting module SystemPackage
[86/156] Compiling ContainersPreview ContainerIterator.swift
[87/156] Compiling ContainersPreview DynamicContainer.swift
[88/156] Compiling ContainersPreview MutableContainer.swift
[89/156] Compiling ContainersPreview PermutableContainer.swift
[90/156] Compiling ContainersPreview Producer+Filter.swift
[91/156] Compiling ContainersPreview Producer+Map.swift
[92/156] Compiling ContainersPreview Producer+Reduce.swift
[93/159] Compiling ContainersPreview BidirectionalContainer.swift
[94/159] Compiling ContainersPreview Container+Filter.swift
[95/159] Compiling ContainersPreview Container+SpanwiseZip.swift
[96/159] Compiling ContainersPreview Container.swift
[97/159] Compiling ContainersPreview RandomAccessContainer.swift
[98/159] Compiling ContainersPreview RangeExpression2.swift
[99/159] Compiling ContainersPreview RangeReplaceableContainer.swift
[100/159] Compiling ContainersPreview Drain+Map.swift
[101/159] Compiling ContainersPreview Drain+Reduce.swift
[102/159] Compiling ContainersPreview Drain.swift
[103/159] Compiling ContainersPreview Producer+Collect.swift
[104/159] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[105/159] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[106/159] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[107/159] Compiling ContainersPreview BorrowingSequence.swift
[108/159] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[109/159] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[110/159] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[111/159] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[112/159] Compiling ContainersPreview Producer.swift
[113/159] Compiling ContainersPreview Borrow.swift
[114/159] Compiling ContainersPreview Box.swift
[115/159] Compiling ContainersPreview Inout.swift
[116/159] Compiling ContainersPreview InputSpan.swift
[117/159] Compiling ContainersPreview Shared.swift
[118/159] Emitting module ContainersPreview
[119/159] Compiling ContainersPreview OutputSpan+Extras.swift
[120/159] Compiling ContainersPreview TemporaryAllocation.swift
[121/159] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[122/159] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[123/159] Compiling Logging LogHandler.swift
[124/159] Compiling Logging LogEvent.swift
[125/159] Emitting module Logging
[126/159] Compiling Logging Logging.swift
[127/159] Compiling Logging Locks.swift
[146/159] Emitting module Atomics
[150/200] Compiling DequeModule RigidDeque+Consumption.swift
[151/200] Compiling DequeModule RigidDeque+Container.swift
[152/200] Compiling DequeModule RigidDeque+Descriptions.swift
[153/200] Compiling DequeModule RigidDeque+Equatable.swift
[154/200] Compiling DequeModule RigidDeque+Experimental.swift
[155/204] Compiling DequeModule RigidDeque+Hashable.swift
[156/204] Compiling DequeModule RigidDeque+Initializers.swift
[157/204] Compiling DequeModule RigidDeque+Insertions.swift
[158/204] Compiling DequeModule RigidDeque+Prepend.swift
[159/204] Compiling DequeModule UniqueDeque+Append.swift
[160/204] Compiling DequeModule UniqueDeque+Consumption.swift
[161/204] Compiling DequeModule UniqueDeque+Container.swift
[162/204] Compiling DequeModule UniqueDeque+Descriptions.swift
[163/204] Compiling DequeModule RigidDeque+Removals.swift
[164/204] Compiling DequeModule RigidDeque+Replacements.swift
[165/204] Compiling DequeModule RigidDeque+Testing.swift
[166/204] Compiling DequeModule RigidDeque.swift
[167/204] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[168/204] Compiling DequeModule Deque+Extras.swift
[169/204] Compiling DequeModule Deque+Hashable.swift
[170/204] Compiling DequeModule Deque+Testing.swift
[171/204] Compiling DequeModule Deque._Storage.swift
[172/204] Compiling DequeModule UniqueDeque+Insertions.swift
[173/204] Compiling DequeModule UniqueDeque+Prepend.swift
[174/204] Compiling DequeModule UniqueDeque+Removals.swift
[175/204] Compiling DequeModule UniqueDeque+Replacements.swift
[176/204] Compiling DequeModule Deque._UnsafeHandle.swift
[177/204] Compiling DequeModule Deque.swift
[178/204] Compiling DequeModule _DequeBuffer.swift
[179/204] Compiling DequeModule _DequeBufferHeader.swift
[180/204] Compiling DequeModule RigidDeque+Append.swift
[181/204] Compiling DequeModule UniqueDeque.swift
[182/204] Compiling DequeModule _DequeSlot.swift
[183/204] Compiling DequeModule _UnsafeDequeHandle.swift
[184/204] Compiling DequeModule _UnsafeDequeSegments.swift
[185/204] Compiling DequeModule UniqueDeque+Equatable.swift
[186/204] Compiling DequeModule UniqueDeque+Experimental.swift
[187/204] Compiling DequeModule UniqueDeque+Hashable.swift
[188/204] Compiling DequeModule UniqueDeque+Initializers.swift
[189/204] Compiling DequeModule Deque+Codable.swift
[190/204] Compiling DequeModule Deque+Collection.swift
[191/204] Compiling DequeModule Deque+CustomReflectable.swift
[192/204] Compiling DequeModule Deque+Descriptions.swift
[193/204] Compiling DequeModule Deque+Equatable.swift
[194/204] Emitting module DequeModule
[194/204] Compiling c-nioatomics.c
[196/204] Compiling ImageRecognition resource_bundle_accessor.swift
[197/204] Compiling ImageRecognition NonMaximumSuppression.swift
[198/204] Emitting module ImageRecognition
[199/204] Compiling ImageRecognition TemplateMatcher.swift
[200/204] Compiling ImageRecognition ImageConversion.swift
[200/228] Compiling c-atomics.c
[202/235] Compiling NIOConcurrencyHelpers atomics.swift
[203/235] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[204/235] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[205/235] Emitting module NIOConcurrencyHelpers
[206/235] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[207/235] Compiling NIOConcurrencyHelpers lock.swift
[208/235] Compiling NIOConcurrencyHelpers NIOLock.swift
[209/300] Compiling NIOCore MarkedCircularBuffer.swift
[210/300] Compiling NIOCore MulticastChannel.swift
[211/300] Compiling NIOCore NIOAny.swift
[212/300] Compiling NIOCore NIOCloseOnErrorHandler.swift
[213/300] Compiling NIOCore NIOCoreSendableMetatype.swift
[214/300] Compiling NIOCore NIODecodedAsyncSequence.swift
[215/300] Compiling NIOCore NIOLoopBound.swift
[216/307] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[217/307] Compiling NIOCore NIOScheduledCallback.swift
[218/307] Compiling NIOCore NIOSendable.swift
[219/307] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[220/307] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[221/307] Compiling NIOCore RecvByteBufferAllocator.swift
[222/307] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[223/307] Compiling NIOCore AddressedEnvelope.swift
[224/307] Compiling NIOCore AsyncAwaitSupport.swift
[225/307] Compiling NIOCore AsyncChannel.swift
[226/307] Compiling NIOCore AsyncChannelHandler.swift
[227/307] Compiling NIOCore AsyncChannelInboundStream.swift
[228/307] Compiling NIOCore AsyncChannelOutboundWriter.swift
[229/307] Compiling NIOCore NIOAsyncSequenceProducer.swift
[230/307] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[231/307] Compiling NIOCore ConvenienceOptionSupport.swift
[232/307] Compiling NIOCore DeadChannel.swift
[233/307] Compiling NIOCore DispatchQueue+WithFuture.swift
[234/307] Compiling NIOCore EventLoop+Deprecated.swift
[235/307] Compiling NIOCore EventLoop+SerialExecutor.swift
[236/307] Compiling NIOCore EventLoop.swift
[237/307] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[238/307] Compiling NIOCore EventLoopFuture+Deprecated.swift
[239/307] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[240/307] Compiling NIOCore EventLoopFuture.swift
[241/307] Compiling NIOCore FileDescriptor.swift
[242/307] Compiling NIOCore FileHandle.swift
[243/307] Compiling NIOCore FileRegion.swift
[244/307] Compiling NIOCore GlobalSingletons.swift
[245/307] Compiling NIOCore SocketAddresses.swift
[246/307] Compiling NIOCore SocketOptionProvider.swift
[247/307] Compiling NIOCore SystemCallHelpers.swift
[248/307] Compiling NIOCore TimeAmount+Duration.swift
[249/307] Compiling NIOCore TypeAssistedChannelHandler.swift
[250/307] Compiling NIOCore UniversalBootstrapSupport.swift
[251/307] Compiling NIOCore Utilities.swift
[252/307] Compiling NIOCore IO.swift
[253/307] Compiling NIOCore IOData.swift
[254/307] Compiling NIOCore IPProtocol.swift
[255/307] Compiling NIOCore IntegerBitPacking.swift
[256/307] Compiling NIOCore IntegerTypes.swift
[257/307] Compiling NIOCore Interfaces.swift
[258/307] Compiling NIOCore Linux.swift
[259/307] Compiling NIOCore ChannelHandler.swift
[260/307] Compiling NIOCore ChannelHandlers.swift
[261/307] Compiling NIOCore ChannelInvoker.swift
[262/307] Compiling NIOCore ChannelOption.swift
[263/307] Compiling NIOCore ChannelPipeline.swift
[264/307] Compiling NIOCore CircularBuffer.swift
[265/307] Compiling NIOCore Codec.swift
[266/307] Compiling NIOCore NIOAsyncWriter.swift
[267/307] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[268/307] Compiling NIOCore BSDSocketAPI.swift
[269/307] Compiling NIOCore ByteBuffer-aux.swift
[270/307] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[271/307] Compiling NIOCore ByteBuffer-conversions.swift
[272/307] Compiling NIOCore ByteBuffer-core.swift
[273/307] Compiling NIOCore ByteBuffer-hex.swift
[274/307] Compiling NIOCore ByteBuffer-int.swift
[275/307] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[276/307] Compiling NIOCore ByteBuffer-multi-int.swift
[277/307] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[278/307] Compiling NIOCore ByteBuffer-views.swift
[279/307] Compiling NIOCore Channel.swift
[280/307] Emitting module NIOCore
[281/312] Emitting module SwiftAutoGUI
[294/314] Compiling SwiftAutoGUI AppleScript.swift
[295/314] Compiling SwiftAutoGUI Dialog.swift
[307/314] Compiling EventSource AsyncEventsSequence.swift
[308/314] Compiling EventSource EventSource.swift
[309/314] Compiling EventSource EventSource+AsyncHTTPClient.swift
[310/314] Emitting module EventSource
[311/314] Compiling EventSource AsyncSequence+Events.swift
[312/358] Compiling MCP ID.swift
[313/358] Compiling MCP Icon.swift
[314/358] Compiling MCP Lifecycle.swift
[315/358] Compiling MCP Messages.swift
[316/358] Compiling MCP PendingRequest.swift
[317/358] Compiling MCP Cancellation.swift
[318/358] Compiling MCP Ping.swift
[319/358] Compiling MCP Progress.swift
[320/358] Compiling MCP RequestContext.swift
[321/358] Compiling MCP Value.swift
[322/362] Compiling MCP OAuthDiscovery.swift
[323/362] Compiling MCP OAuthDiscoveryClient.swift
[324/362] Compiling MCP OAuthErrors.swift
[325/362] Compiling MCP OAuthModels.swift
[326/362] Compiling MCP OAuthTokenEndpointClient.swift
[327/362] Emitting module MCP
[328/362] Compiling MCP OAuthURLValidator.swift
[329/362] Compiling MCP OAuthWWWAuthenticateParser.swift
[330/362] Compiling MCP PKCE.swift
[331/362] Compiling MCP TokenStorage.swift
[332/362] Compiling MCP Error.swift
[333/362] Compiling MCP OAuthAuthorizationCodeFlow.swift
[334/362] Compiling MCP OAuthAuthorizer.swift
[335/362] Compiling MCP OAuthClientRegistrar.swift
[336/362] Compiling MCP OAuthConfiguration.swift
[337/362] Compiling MCP OAuthConstants.swift
[338/362] Compiling MCP StatelessHTTPServerTransport.swift
[339/362] Compiling MCP InMemoryTransport.swift
[340/362] Compiling MCP NetworkTransport.swift
[341/362] Compiling MCP StdioTransport.swift
[342/362] Compiling MCP UnitInterval.swift
[343/362] Compiling MCP Versioning.swift
[344/362] Compiling MCP Client.swift
[345/362] Compiling MCP Elicitation.swift
[346/362] Compiling MCP Roots.swift
[347/362] Compiling MCP Transport.swift
[348/362] Compiling MCP HTTPClientTransport.swift
[349/362] Compiling MCP HTTPRequestValidation.swift
[350/362] Compiling MCP HTTPServerTypes.swift
[351/362] Compiling MCP StatefulHTTPServerTransport.swift
[352/362] Compiling MCP Sampling.swift
[353/362] Compiling MCP Data+Extensions.swift
[354/362] Compiling MCP Completion.swift
[355/362] Compiling MCP Logging.swift
[356/362] Compiling MCP Prompts.swift
[357/362] Compiling MCP Resources.swift
[358/362] Compiling MCP Server.swift
[359/362] Compiling MCP Tools.swift
[360/379] Compiling swift_mcp_gui ParameterParser.swift
[361/379] 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>
[362/380] 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>
[363/380] 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>
[364/380] 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>
[365/380] 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>
[366/380] 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>
[367/380] 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>
[368/380] 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>
[369/380] 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>
[370/380] Emitting module swift_mcp_gui
[371/380] 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>
[372/380] 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>
[373/380] 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>
[374/380] 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>
[375/380] 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>
[376/380] 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>
[377/380] Compiling swift_mcp_gui main.swift
[377/380] Write Objects.LinkFileList
[378/380] Linking swift-mcp-gui
[379/380] Applying swift-mcp-gui
Build complete! (28.20s)
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.