Build Information
Failed to build AppPilot, reference 2.0.0 (985bf4), with Swift 6.3 for macOS (SPM) on 23 Apr 2026 08:48:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/1amageek/AXUI.git
[1/389] Fetching axui
Fetched https://github.com/1amageek/AXUI.git from cache (0.77s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/17464] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.72s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (2.40s)
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.5.1
Creating working copy for https://github.com/1amageek/AXUI.git
Working copy of https://github.com/1amageek/AXUI.git resolved at main (b371f36)
========================================
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": "apppilot",
"name": "AppPilot",
"url": "https://github.com/1amageek/AppPilot.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AppPilot",
"traits": [
"default"
],
"dependencies": [
{
"identity": "axui",
"name": "AXUI",
"url": "https://github.com/1amageek/AXUI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AXUI",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/1amageek/AppPilot.git
[1/691] Fetching apppilot
Fetched https://github.com/1amageek/AppPilot.git from cache (1.09s)
Fetching https://github.com/1amageek/AXUI.git from cache
Fetched https://github.com/1amageek/AXUI.git from cache (0.47s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.16s)
Creating working copy for https://github.com/1amageek/AXUI.git
Working copy of https://github.com/1amageek/AXUI.git resolved at main (dfed226)
Creating working copy for https://github.com/1amageek/AppPilot.git
Working copy of https://github.com/1amageek/AppPilot.git resolved at 2.0.0 (985bf4c)
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.7.1
warning: '.resolve-product-dependencies': dependency 'apppilot' is not used by any target
Found 1 product dependencies
- AXUI
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/1amageek/AppPilot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
[5/8] Emitting module AXUI
[6/8] Compiling AXUI AXParser.swift
[7/8] Compiling AXUI AXConverter.swift
[8/8] Compiling AXUI AXDumper.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/15] Compiling AppPilot Errors.swift
[10/15] Compiling AppPilot CGEventDriver.swift
[11/15] Compiling AppPilot AccessibilityDriver.swift
[12/15] Compiling AppPilot Types.swift
[13/15] Emitting module AppPilot
/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>
[14/15] Compiling AppPilot AppPilot.swift
[15/15] 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>
BUILD FAILURE 6.3 macosSpm