The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AppMCP, reference main (ad0156), with Swift 6.2 (beta) for macOS (SPM) on 13 Jul 2025 15:05:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/app-mcp.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/1amageek/app-mcp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ad0156f Add keyboard input handling and testing functionality
Cloned https://github.com/1amageek/app-mcp.git
Revision (git rev-parse @):
ad0156febd6d4b4fc73e92ff2c603ec45f0b76d6
SUCCESS checkout https://github.com/1amageek/app-mcp.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/1amageek/app-mcp.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/20] Write sources
[10/20] Write appmcpd-entitlement.plist
[11/20] Write sources
[15/20] Compiling CSystem shims.c
[16/20] Write swift-version-1EA4D86E10B52AF.txt
[18/69] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/69] Emitting module ArgumentParserToolInfo
[20/115] Compiling Logging MetadataProvider.swift
[21/115] Compiling ArgumentParser Option.swift
[22/115] Compiling ArgumentParser OptionGroup.swift
[23/115] Compiling ArgumentParser AsyncParsableCommand.swift
[24/118] Compiling ArgumentParser CommandConfiguration.swift
[25/118] Compiling ArgumentParser CommandGroup.swift
[26/118] Compiling ArgumentParser EnumerableFlag.swift
[27/118] Compiling ArgumentParser ExpressibleByArgument.swift
[28/118] Compiling ArgumentParser ParsableArguments.swift
[29/118] Compiling ArgumentParser InputKey.swift
[30/118] Emitting module SystemPackage
[31/118] Compiling ArgumentParser InputOrigin.swift
[32/118] Compiling ArgumentParser Name.swift
[33/118] Compiling ArgumentParser Parsed.swift
[34/118] Compiling ArgumentParser ParsedValues.swift
[35/118] Compiling ArgumentParser ParsableCommand.swift
[36/118] Compiling ArgumentParser ArgumentDecoder.swift
[37/118] Compiling ArgumentParser Errors.swift
[38/118] Compiling ArgumentParser Flag.swift
[39/118] Compiling ArgumentParser NameSpecification.swift
[40/118] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/118] Compiling ArgumentParser CompletionsGenerator.swift
[42/118] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/118] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/118] Compiling ArgumentParser Argument.swift
[45/118] Compiling ArgumentParser ArgumentDiscussion.swift
[46/118] Compiling ArgumentParser ArgumentHelp.swift
[47/118] Compiling ArgumentParser ArgumentVisibility.swift
[48/118] Compiling ArgumentParser CompletionKind.swift
[49/118] Compiling Logging LogHandler.swift
[50/118] Compiling Logging Locks.swift
[51/118] Emitting module Logging
[52/118] Compiling Logging Logging.swift
[53/118] Compiling SystemPackage Util+StringArray.swift
[54/118] Compiling SystemPackage Util.swift
[55/118] Compiling SystemPackage UtilConsumers.swift
[56/118] Compiling ArgumentParser SequenceExtensions.swift
[57/118] Compiling ArgumentParser StringExtensions.swift
[58/118] Compiling ArgumentParser SwiftExtensions.swift
[59/118] Compiling ArgumentParser Tree.swift
[60/118] Compiling ArgumentParser CodingKeyValidator.swift
[66/122] Compiling ArgumentParser NonsenseFlagsValidator.swift
[67/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[68/122] Compiling ArgumentParser PositionalArgumentsValidator.swift
[69/122] Compiling ArgumentParser UniqueNamesValidator.swift
[75/122] Emitting module ArgumentParser
[76/122] Compiling ArgumentParser MessageInfo.swift
[77/122] Compiling ArgumentParser UsageGenerator.swift
[78/122] Compiling ArgumentParser CollectionExtensions.swift
[79/122] Compiling ArgumentParser Mutex.swift
[80/122] Compiling ArgumentParser Platform.swift
[101/122] Compiling ArgumentParser ParserError.swift
[102/122] Compiling ArgumentParser SplitArguments.swift
[103/122] Compiling ArgumentParser DumpHelpGenerator.swift
[104/122] Compiling ArgumentParser HelpCommand.swift
[105/122] Compiling ArgumentParser HelpGenerator.swift
[106/122] Emitting module EventSource
[107/122] Compiling EventSource AsyncSequence+Events.swift
[108/122] Compiling EventSource EventSource.swift
[109/122] Compiling EventSource AsyncEventsSequence.swift
[110/141] Emitting module AXUI
[111/141] Compiling AXUI Role.swift
[112/141] Compiling AXUI AXQueryMatcher.swift
[113/141] Compiling AXUI AIElementConverter.swift
[114/141] Compiling AXUI AIElement.swift
[115/141] Compiling AXUI AIElementEncoder.swift
[116/141] Compiling AXUI AXElement.swift
[117/141] Compiling AXUI AXQuery.swift
[118/141] Compiling MCP Value.swift
[119/141] Compiling MCP Versioning.swift
[120/142] Compiling AXUI AIFormatHelpers.swift
[121/142] Compiling AXUI AXDumper.swift
[122/142] Compiling MCP Tools.swift
[123/158] Compiling MCP Sampling.swift
[124/158] Compiling MCP Server.swift
[125/158] Compiling MCP Prompts.swift
[126/158] Compiling MCP Resources.swift
[127/158] Compiling AppPilot Roles.swift
[128/158] Compiling AppPilot Snapshot.swift
[129/158] Compiling AppPilot WaitSpecs.swift
[130/158] Compiling AppPilot AccessibilityDriver.swift
[131/158] Compiling MCP UnitInterval.swift
[132/158] Compiling MCP Ping.swift
[133/158] Compiling AppPilot AccessibilityTypes.swift
[134/158] Compiling AppPilot ActionResult.swift
[135/158] Compiling AppPilot Extensions.swift
[136/158] Compiling AppPilot Geometry.swift
[137/158] Emitting module MCP
[138/158] Compiling AppPilot ApplicationInfo.swift
[139/158] Compiling AppPilot CompositionInput.swift
[140/158] Compiling AppPilot ScreenDriver.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppPilot/Sources/AppPilot/Driver/ScreenDriver.swift:81:24: error: static property 'didBootstrapCGS' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
 79 |
 80 |     // MARK: CGS bootstrap (fixes CGS_REQUIRE_INIT)
 81 |     private static var didBootstrapCGS = false
    |                        |- error: static property 'didBootstrapCGS' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
    |                        |- note: convert 'didBootstrapCGS' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'didBootstrapCGS' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static func bootstrapCGSIfNeeded() {
 83 |         guard !didBootstrapCGS else { return }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[143/159] Compiling AppPilot Errors.swift
[144/159] Compiling AppPilot CGEventDriver.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/159] Compiling AppPilot Identifiers.swift
[150/159] Compiling AppPilot Input.swift
[153/159] Compiling AppPilot AppPilot.swift
[154/159] Emitting module AppPilot
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppPilot/Sources/AppPilot/Driver/ScreenDriver.swift:81:24: error: static property 'didBootstrapCGS' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
 79 |
 80 |     // MARK: CGS bootstrap (fixes CGS_REQUIRE_INIT)
 81 |     private static var didBootstrapCGS = false
    |                        |- error: static property 'didBootstrapCGS' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
    |                        |- note: convert 'didBootstrapCGS' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'didBootstrapCGS' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static func bootstrapCGSIfNeeded() {
 83 |         guard !didBootstrapCGS else { return }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
Fetching https://github.com/1amageek/AppPilot.git
[1/651] Fetching apppilot
Fetched https://github.com/1amageek/AppPilot.git from cache (1.29s)
Fetching https://github.com/1amageek/AXUI.git
[1/340] Fetching axui
Fetched https://github.com/1amageek/AXUI.git from cache (0.69s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1876] Fetching swift-sdk
[152/3970] Fetching swift-sdk, swift-docc-plugin
[1956/19494] Fetching swift-sdk, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.95s)
[521/17618] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.46s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.46s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.9.0 (1.90s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/loopwork-ai/eventsource.git
[1/4657] Fetching swift-system
[141/4759] Fetching swift-system, eventsource
[845/8613] Fetching swift-system, eventsource, swift-log
Fetched https://github.com/apple/swift-system.git from cache (1.10s)
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
Fetched https://github.com/loopwork-ai/eventsource.git from cache (1.10s)
Computing version for https://github.com/loopwork-ai/eventsource.git
Computed https://github.com/loopwork-ai/eventsource.git at 1.1.1 (1.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.09s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.10s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.43s)
Creating working copy for https://github.com/1amageek/AXUI.git
Working copy of https://github.com/1amageek/AXUI.git resolved at main (d1bd5ba)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/1amageek/AppPilot.git
Working copy of https://github.com/1amageek/AppPilot.git resolved at main (70e3acf)
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.9.0
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.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/loopwork-ai/eventsource.git
Working copy of https://github.com/loopwork-ai/eventsource.git resolved at 1.1.1
BUILD FAILURE 6.2 macosSpm