Build Information
Failed to build AppPilot, reference main (70e3ac
), with Swift 6.2 (beta) for macOS (SPM) on 14 Jul 2025 06:34:36 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/1amageek/AppPilot
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 70e3acf Move screenshot save location to /tmp
Cloned https://github.com/1amageek/AppPilot.git
Revision (git rev-parse @):
70e3acf51ee32bce524fb78e01ea78dc0aaddaf7
SUCCESS checkout https://github.com/1amageek/AppPilot.git at main
========================================
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] Compiling AXUI AXQueryMatcher.swift
[7/15] Compiling AXUI Role.swift
[8/15] Compiling AXUI AXElement.swift
[9/15] Compiling AXUI AXQuery.swift
[10/15] Compiling AXUI AIFormatHelpers.swift
[11/15] Emitting module AXUI
[12/15] Compiling AXUI AIElementEncoder.swift
[13/15] Compiling AXUI AIElementConverter.swift
[14/15] Compiling AXUI AXDumper.swift
[15/15] Compiling AXUI AIElement.swift
[16/31] Compiling AppPilot ScreenDriver.swift
/Users/admin/builder/spi-builder-workspace/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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/32] Emitting module AppPilot
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Core/Extensions.swift:29:46: warning: conformance of 'AXElement' to protocol 'Sendable' was already stated in the type's module 'AXUI'
27 | // MARK: - AXElement Extensions for Internal Use
28 |
29 | extension AXElement: @retroactive @unchecked Sendable {
| `- warning: conformance of 'AXElement' to protocol 'Sendable' was already stated in the type's module 'AXUI'
30 | /// The screen bounds of this element as CGRect
31 | public var cgBounds: CGRect {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AXElement.swift:6:15: note: 'AXElement' declares conformance to protocol 'Sendable' here
4 |
5 |
6 | public struct AXElement: Codable, @unchecked Sendable {
| `- note: 'AXElement' declares conformance to protocol 'Sendable' here
7 | // Generated ID
8 | public let id: String
/Users/admin/builder/spi-builder-workspace/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>
[18/32] Compiling AppPilot Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Core/Extensions.swift:29:46: warning: conformance of 'AXElement' to protocol 'Sendable' was already stated in the type's module 'AXUI'
27 | // MARK: - AXElement Extensions for Internal Use
28 |
29 | extension AXElement: @retroactive @unchecked Sendable {
| `- warning: conformance of 'AXElement' to protocol 'Sendable' was already stated in the type's module 'AXUI'
30 | /// The screen bounds of this element as CGRect
31 | public var cgBounds: CGRect {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AXElement.swift:6:15: note: 'AXElement' declares conformance to protocol 'Sendable' here
4 |
5 |
6 | public struct AXElement: Codable, @unchecked Sendable {
| `- note: 'AXElement' declares conformance to protocol 'Sendable' here
7 | // Generated ID
8 | public let id: String
[19/32] Compiling AppPilot Geometry.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppPilot/Core/Extensions.swift:29:46: warning: conformance of 'AXElement' to protocol 'Sendable' was already stated in the type's module 'AXUI'
27 | // MARK: - AXElement Extensions for Internal Use
28 |
29 | extension AXElement: @retroactive @unchecked Sendable {
| `- warning: conformance of 'AXElement' to protocol 'Sendable' was already stated in the type's module 'AXUI'
30 | /// The screen bounds of this element as CGRect
31 | public var cgBounds: CGRect {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AXElement.swift:6:15: note: 'AXElement' declares conformance to protocol 'Sendable' here
4 |
5 |
6 | public struct AXElement: Codable, @unchecked Sendable {
| `- note: 'AXElement' declares conformance to protocol 'Sendable' here
7 | // Generated ID
8 | public let id: String
[20/32] Compiling AppPilot Identifiers.swift
[21/32] Compiling AppPilot Input.swift
[22/32] Compiling AppPilot Errors.swift
[23/32] Compiling AppPilot CGEventDriver.swift
[24/32] Compiling AppPilot WaitSpecs.swift
[25/32] Compiling AppPilot AccessibilityDriver.swift
[26/32] Compiling AppPilot Roles.swift
[27/32] Compiling AppPilot Snapshot.swift
[28/32] Compiling AppPilot ApplicationInfo.swift
[29/32] Compiling AppPilot CompositionInput.swift
[30/32] Compiling AppPilot AppPilot.swift
[31/32] Compiling AppPilot AccessibilityTypes.swift
[32/32] Compiling AppPilot ActionResult.swift
Fetching https://github.com/1amageek/AXUI.git
[1/340] Fetching axui
Fetched https://github.com/1amageek/AXUI.git from cache (0.73s)
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.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (2.02s)
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