Build Information
Failed to build AppMCP, reference main (ad0156
), with Swift 6.2 (beta) for Wasm on 13 Jul 2025 15:06:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/1amageek/app-mcp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/1amageek/AppPilot.git
[1/651] Fetching apppilot
Fetched https://github.com/1amageek/AppPilot.git from cache (0.40s)
Fetching https://github.com/1amageek/AXUI.git
[1/340] Fetching axui
Fetched https://github.com/1amageek/AXUI.git from cache (0.27s)
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/2094] Fetching swift-docc-plugin
[211/3970] Fetching swift-docc-plugin, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.36s)
[1/15524] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (0.84s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.84s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.9.0 (1.27s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
[1/3854] Fetching swift-log
[1235/8511] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.58s)
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.18s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.27s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.29s)
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.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.69s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
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
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/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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
[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/26] Write sources
[13/26] Compiling CSystem shims.c
[14/26] Write swift-version-24593BA9C3E375BF.txt
[16/70] Emitting module ArgumentParserToolInfo
[17/70] Compiling AXUI AXElement.swift
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
[18/71] Compiling AXUI AXDumper.swift
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/71] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[20/74] Emitting module Logging
[21/74] Compiling SystemPackage MachPort.swift
[22/74] Compiling SystemPackage PlatformString.swift
[23/74] Compiling SystemPackage SystemString.swift
[24/74] Compiling SystemPackage Errno.swift
[25/74] Compiling SystemPackage ErrnoWindows.swift
[26/74] Compiling SystemPackage FileDescriptor.swift
[27/74] Compiling SystemPackage FileHelpers.swift
[28/74] Compiling SystemPackage FileOperations.swift
[29/74] Compiling SystemPackage FilePath.swift
[30/74] Compiling SystemPackage FilePathComponentView.swift
[31/74] Compiling SystemPackage FilePathComponents.swift
[32/74] Compiling AXUI AXQuery.swift
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
[33/74] Compiling AXUI AXQueryMatcher.swift
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/74] Emitting module AXUI
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
[35/74] Compiling AXUI AIFormatHelpers.swift
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
[36/74] Compiling AXUI AIElementEncoder.swift
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
[39/74] Compiling AXUI Role.swift
/host/spi-builder-workspace/.build/checkouts/AXUI/Sources/AXUI/AIElement.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// AI-optimized representation of an accessibility element
[40/74] Compiling SystemPackage FilePathParsing.swift
[41/74] Compiling SystemPackage FilePathString.swift
[42/74] Compiling SystemPackage FilePathSyntax.swift
[43/74] Compiling SystemPackage FilePathTemp.swift
[44/74] Compiling Logging Locks.swift
[45/74] Compiling Logging LogHandler.swift
BUILD FAILURE 6.2 wasm