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 AppPilot, reference 2.0.0 (985bf4), with Swift 6.2 (beta) for macOS (SPM) on 14 Jul 2025 06:34: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/AppPilot.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/1amageek/AppPilot
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 985bf4c Add detailed UI element filtering and fallback strategies
Cloned https://github.com/1amageek/AppPilot.git
Revision (git rev-parse @):
985bf4c84fb55ceb7636ec202634f69ee97feab6
SUCCESS checkout https://github.com/1amageek/AppPilot.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/1amageek/AppPilot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/15] Emitting module AXUI
[7/15] Compiling AXUI Role.swift
[8/15] Compiling AXUI AXQuery.swift
[9/15] Compiling AXUI AXQueryMatcher.swift
[10/15] Compiling AXUI AXElement.swift
[11/15] Compiling AXUI AIElement.swift
[12/15] Compiling AXUI AIElementConverter.swift
[13/15] Compiling AXUI AXDumper.swift
[14/15] Compiling AXUI AIElementEncoder.swift
[15/15] Compiling AXUI AIFormatHelpers.swift
[16/22] Compiling AppPilot Types.swift
[17/22] Compiling AppPilot AppPilot.swift
[18/22] Compiling AppPilot Errors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/22] Emitting module AppPilot
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:448:66: error: cannot find type 'AXProperties' in scope
446 |     // MARK: - Helper Methods for Improved Element Discovery
447 |
448 |     private func convertAXPropertiesToUIElements(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int = 0) throws -> [UIElement] {
    |                                                                  `- error: cannot find type 'AXProperties' in scope
449 |         var elements: [UIElement] = []
450 |
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:467:66: error: cannot find type 'AXProperties' in scope
465 |     }
466 |
467 |     private func createUIElementFromAXProperties(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int) -> UIElement? {
    |                                                                  `- error: cannot find type 'AXProperties' in scope
468 |         guard let roleString = axProperties.role else { return nil }
469 |
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:706:62: error: cannot find type 'AXProperties' in scope
704 |     }
705 |
706 |     private func buildUITreeFromAXProperties(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int, maxDepth: Int) throws -> UIElementTree {
    |                                                              `- error: cannot find type 'AXProperties' in scope
707 |         guard depth <= maxDepth else {
708 |             // Return empty tree for elements beyond max depth
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:734:73: error: cannot find type 'AXProperties' in scope
732 |     }
733 |
734 |     private func createUIElementFromAXPropertiesForTree(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int) -> UIElement {
    |                                                                         `- error: cannot find type 'AXProperties' in scope
735 |         let roleString = axProperties.role ?? "AXUnknown"
736 |         let role = ElementRole(rawValue: roleString) ?? .unknown
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/ScreenDriver.swift:79:24: error: static property 'didBootstrapCGS' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
 77 |
 78 |     // MARK: CGS bootstrap (fixes CGS_REQUIRE_INIT)
 79 |     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
 80 |     private static func bootstrapCGSIfNeeded() {
 81 |         guard !didBootstrapCGS else { return }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[20/22] Compiling AppPilot CGEventDriver.swift
[21/22] Compiling AppPilot ScreenDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/ScreenDriver.swift:79:24: error: static property 'didBootstrapCGS' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
 77 |
 78 |     // MARK: CGS bootstrap (fixes CGS_REQUIRE_INIT)
 79 |     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
 80 |     private static func bootstrapCGSIfNeeded() {
 81 |         guard !didBootstrapCGS else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/ScreenDriver.swift:156:22: warning: no calls to throwing functions occur within 'try' expression
154 |
155 |         // Build SCContentFilter on the main actor to avoid CGS_REQUIRE_INIT
156 |         let filter = try await MainActor.run {
    |                      `- warning: no calls to throwing functions occur within 'try' expression
157 |             SCContentFilter(desktopIndependentWindow: targetWindow)
158 |         }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[22/22] Compiling AppPilot AccessibilityDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:448:66: error: cannot find type 'AXProperties' in scope
446 |     // MARK: - Helper Methods for Improved Element Discovery
447 |
448 |     private func convertAXPropertiesToUIElements(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int = 0) throws -> [UIElement] {
    |                                                                  `- error: cannot find type 'AXProperties' in scope
449 |         var elements: [UIElement] = []
450 |
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:467:66: error: cannot find type 'AXProperties' in scope
465 |     }
466 |
467 |     private func createUIElementFromAXProperties(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int) -> UIElement? {
    |                                                                  `- error: cannot find type 'AXProperties' in scope
468 |         guard let roleString = axProperties.role else { return nil }
469 |
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:706:62: error: cannot find type 'AXProperties' in scope
704 |     }
705 |
706 |     private func buildUITreeFromAXProperties(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int, maxDepth: Int) throws -> UIElementTree {
    |                                                              `- error: cannot find type 'AXProperties' in scope
707 |         guard depth <= maxDepth else {
708 |             // Return empty tree for elements beyond max depth
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:734:73: error: cannot find type 'AXProperties' in scope
732 |     }
733 |
734 |     private func createUIElementFromAXPropertiesForTree(_ axProperties: AXProperties, windowHandle: WindowHandle, bundleId: String, windowIndex: Int, depth: Int) -> UIElement {
    |                                                                         `- error: cannot find type 'AXProperties' in scope
735 |         let roleString = axProperties.role ?? "AXUnknown"
736 |         let role = ElementRole(rawValue: roleString) ?? .unknown
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:195:32: error: cannot find 'AXParser' in scope
193 |
194 |         // Parse AX dump and convert to UIElements with improved filtering
195 |         let axProperties = try AXParser.parse(content: axDump)
    |                                `- error: cannot find 'AXParser' in scope
196 |         let uiElements = try convertAXPropertiesToUIElements(axProperties, windowHandle: windowHandle, bundleId: bundleId, windowIndex: windowIndex)
197 |
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:677:16: error: cannot convert return expression of type '[AXElement]' to return type 'String'
675 |
676 |         // Return the AX dump as is for now
677 |         return axDump
    |                `- error: cannot convert return expression of type '[AXElement]' to return type 'String'
678 |     }
679 |
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift:701:32: error: cannot find 'AXParser' in scope
699 |         // Get hierarchical AX dump
700 |         let axDump = try AXDumper.dumpWindow(bundleIdentifier: bundleId, windowIndex: windowIndex)
701 |         let axProperties = try AXParser.parse(content: axDump)
    |                                `- error: cannot find 'AXParser' in scope
702 |
703 |         return try buildUITreeFromAXProperties(axProperties, windowHandle: window, bundleId: bundleId, windowIndex: windowIndex, depth: 0, maxDepth: maxDepth)
Fetching https://github.com/1amageek/AXUI.git
[1/340] Fetching axui
Fetched https://github.com/1amageek/AXUI.git from cache (0.68s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15524] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.96s)
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
BUILD FAILURE 6.2 macosSpm