Build Information
Failed to build SwiftAutoGUI, reference 0.20.0 (d83fb0), with Swift 6.2 for Wasm on 17 Apr 2026 06:22:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NakaokaRei/SwiftAutoGUI.git
Reference: 0.20.0
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/NakaokaRei/SwiftAutoGUI
* tag 0.20.0 -> FETCH_HEAD
HEAD is now at d83fb0a Merge pull request #85 from NakaokaRei/feature/migrate-to-responses-api
Cloned https://github.com/NakaokaRei/SwiftAutoGUI.git
Revision (git rev-parse @):
d83fb0a68e849048753353678788f96aad4a16bc
SUCCESS checkout https://github.com/NakaokaRei/SwiftAutoGUI.git at 0.20.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/NakaokaRei/SwiftAutoGUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/yeatse/opencv-spm.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/364] Fetching opencv-spm
[365/2641] Fetching opencv-spm, swift-docc-plugin
[593/20164] Fetching opencv-spm, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/yeatse/opencv-spm.git from cache (0.47s)
[8060/19800] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (0.47s)
[6309/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.86s)
Computing version for https://github.com/yeatse/opencv-spm.git
Computed https://github.com/yeatse/opencv-spm.git at 4.13.0 (1.36s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.54s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
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.6
Creating working copy for https://github.com/yeatse/opencv-spm.git
Working copy of https://github.com/yeatse/opencv-spm.git resolved at 4.13.0
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Downloading binary artifact https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip
[16375/200350637] Downloading https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip
Downloaded https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip (21.24s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/17] Write sources
[9/17] Write swift-version-24593BA9C3E375BF.txt
[11/21] Emitting module ArgumentParserToolInfo
[12/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/22] Wrapping AST for ArgumentParserToolInfo for debugging
[15/68] Compiling ArgumentParser Foundation.swift
[16/68] Compiling ArgumentParser Mutex.swift
[17/68] Compiling ArgumentParser Platform.swift
[18/68] Compiling ArgumentParser SequenceExtensions.swift
[19/68] Compiling ArgumentParser StringExtensions.swift
[20/68] Compiling ArgumentParser SwiftExtensions.swift
[21/74] Emitting module opencv2_dependencies
[22/74] Compiling opencv2_dependencies Stub.swift
[23/75] Wrapping AST for opencv2-dependencies for debugging
[25/91] Compiling SwiftAutoGUI SwiftAutoGUI.swift
[26/91] Compiling ArgumentParser AsyncParsableCommand.swift
[27/91] Compiling ArgumentParser CommandConfiguration.swift
[28/91] Compiling ArgumentParser CommandGroup.swift
[29/91] Compiling ArgumentParser EnumerableFlag.swift
[30/91] Compiling ArgumentParser ExpressibleByArgument.swift
[31/91] Compiling ArgumentParser ParsableArguments.swift
[32/91] Compiling ArgumentParser InputOrigin.swift
[33/91] Compiling ArgumentParser Name.swift
[34/91] Compiling ArgumentParser Parsed.swift
[35/91] Compiling ArgumentParser ParsedValues.swift
[36/91] Compiling ArgumentParser ParserError.swift
[37/91] Compiling ArgumentParser SplitArguments.swift
[38/91] Compiling ArgumentParser Tree.swift
[39/91] Compiling ArgumentParser CodingKeyValidator.swift
[40/91] Compiling ArgumentParser NonsenseFlagsValidator.swift
[41/91] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/91] Compiling ArgumentParser PositionalArgumentsValidator.swift
[43/91] Compiling ArgumentParser UniqueNamesValidator.swift
[44/91] Compiling SwiftAutoGUI Keycode.swift
[45/91] Compiling SwiftAutoGUI OpenAIBackend.swift
[46/91] Compiling SwiftAutoGUI ImageRecognition.swift
[47/91] Compiling SwiftAutoGUI KeyboardLayout.swift
[48/91] Compiling SwiftAutoGUI OpenAIVisionBackend.swift
[49/91] Compiling SwiftAutoGUI ScreenContext.swift
[50/91] Compiling SwiftAutoGUI Screenshot.swift
[51/91] Compiling SwiftAutoGUI Dialog.swift
[52/91] Compiling SwiftAutoGUI FoundationModelsBackend.swift
[53/91] Compiling SwiftAutoGUI Action.swift
[54/91] Compiling SwiftAutoGUI ActionGenerating.swift
[55/91] Compiling SwiftAutoGUI ActionGenerator.swift
[56/91] Compiling SwiftAutoGUI Agent.swift
[57/91] Compiling SwiftAutoGUI AppleScript.swift
[58/91] Emitting module ArgumentParser
[59/91] Compiling ArgumentParser DumpHelpGenerator.swift
[60/91] Compiling ArgumentParser HelpCommand.swift
[61/91] Compiling ArgumentParser HelpGenerator.swift
[62/91] Compiling ArgumentParser MessageInfo.swift
[63/91] Compiling ArgumentParser UsageGenerator.swift
[64/91] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/93] Emitting module SwiftAutoGUI
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
[68/93] Compiling SwiftAutoGUI TweeningFunction.swift
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
[69/93] Compiling SwiftAutoGUI VisionActionGenerating.swift
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
[70/93] Compiling ArgumentParser ParsableCommand.swift
[71/93] Compiling ArgumentParser ArgumentDecoder.swift
[72/93] Compiling ArgumentParser ArgumentDefinition.swift
[73/93] Compiling ArgumentParser ArgumentSet.swift
[74/93] Compiling ArgumentParser CommandParser.swift
[75/93] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
[78/94] Wrapping AST for ArgumentParser for debugging
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
/host/spi-builder-workspace/Sources/SwiftAutoGUI/Action.swift:2:8: error: no such module 'AppKit'
1 | import Foundation
2 | import AppKit
| `- error: no such module 'AppKit'
3 |
4 | /// Represents an automation action that can be executed.
BUILD FAILURE 6.2 wasm