The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppPilot, reference 2.0.0 (985bf4), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 16:31:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/1amageek/AppPilot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] AXUI
[36 / 117]
[39 / 117]
[47 / 117]
[49 / 117]
[50 / 117]
[55 / 117]
[58 / 117]
[61 / 117]
[66 / 117]
[69 / 117]
[71 / 117]
[72 / 117]
[82 / 117]
[84 / 117]
[85 / 117]
[87 / 117]
[89 / 117]
[100 / 117] AXUI
[101 / 117] AXUI
[107 / 118] AXUI
[107 / 118] AppPilot
[111 / 136]
[112 / 136]
[114 / 136] AXUI
[118 / 136]
[119 / 136]
[120 / 136]
[127 / 136] AppPilot
Fetching https://github.com/1amageek/AXUI.git
[1/389] Fetching axui
Fetched https://github.com/1amageek/AXUI.git (1.01s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (2.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (2.67s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/1amageek/AXUI.git
Working copy of https://github.com/1amageek/AXUI.git resolved at main (dfed226)
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                        |- 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>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/AccessibilityDriver.swift /Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/CGEventDriver.swift /Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Driver/ScreenDriver.swift /Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Pilot/AppPilot.swift /Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Support/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Support/Types.swift -target arm64-apple-macos15.0 -disable-cross-import-overlay-search -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Modules/ScreenCaptureKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Modules/ScreenCaptureKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AppPilot -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AppPilot.build/Debug/AppPilot-t.build/Objects-normal/arm64/AppPilot.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm