Build Information
Failed to build SwiftAutoGUI, reference master (4799fb), with Swift 6.2 for Wasm on 21 Apr 2026 20:38:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4799fb4 Merge pull request #88 from NakaokaRei/dependabot/github_actions/actions/upload-pages-artifact-5
Cloned https://github.com/NakaokaRei/SwiftAutoGUI.git
Revision (git rev-parse @):
4799fb4077243efb6fae58b4e2849aebf646e894
SUCCESS checkout https://github.com/NakaokaRei/SwiftAutoGUI.git at master
========================================
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-4609320-0":/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/yeatse/opencv-spm.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
[1/2277] Fetching swift-docc-plugin
[93/2641] Fetching swift-docc-plugin, opencv-spm
[616/20088] Fetching swift-docc-plugin, opencv-spm, swift-argument-parser
Fetched https://github.com/yeatse/opencv-spm.git from cache (1.20s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.21s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.21s)
Computing version for https://github.com/yeatse/opencv-spm.git
Computed https://github.com/yeatse/opencv-spm.git at 4.13.0 (1.80s)
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.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3673] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.13s)
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
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
Downloading binary artifact https://github.com/yeatse/opencv-spm/releases/download/4.13.0/opencv2.xcframework.zip
[870/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 (20.47s)
[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] Emitting module ArgumentParser
[16/74] Compiling ArgumentParser Foundation.swift
[17/74] Compiling ArgumentParser Mutex.swift
[18/74] Compiling ArgumentParser Platform.swift
[19/74] Compiling ArgumentParser SequenceExtensions.swift
[20/74] Compiling ArgumentParser StringExtensions.swift
[21/74] Compiling ArgumentParser SwiftExtensions.swift
[22/74] Compiling ArgumentParser ParentCommand.swift
[23/74] Compiling ArgumentParser AsyncParsableCommand.swift
[24/74] Compiling ArgumentParser CommandConfiguration.swift
[25/74] Compiling ArgumentParser CommandGroup.swift
[26/74] Compiling ArgumentParser EnumerableFlag.swift
[27/74] Compiling ArgumentParser ExpressibleByArgument.swift
[28/74] Compiling ArgumentParser ParsableArguments.swift
[29/74] Emitting module opencv2_dependencies
[30/74] Compiling opencv2_dependencies Stub.swift
[31/75] Wrapping AST for opencv2-dependencies for debugging
[33/91] Compiling ArgumentParser Tree.swift
[34/91] Compiling ArgumentParser CodingKeyValidator.swift
[35/91] Compiling ArgumentParser NonsenseFlagsValidator.swift
[36/91] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/91] Compiling ArgumentParser PositionalArgumentsValidator.swift
[38/91] Compiling ArgumentParser UniqueNamesValidator.swift
[39/91] Compiling SwiftAutoGUI Action.swift
[40/91] Compiling SwiftAutoGUI ActionGenerating.swift
[41/91] Compiling SwiftAutoGUI ActionGenerator.swift
[42/91] Compiling SwiftAutoGUI Agent.swift
[43/91] Compiling SwiftAutoGUI AppleScript.swift
[44/91] Compiling SwiftAutoGUI Dialog.swift
[45/91] Compiling SwiftAutoGUI FoundationModelsBackend.swift
[46/91] Compiling SwiftAutoGUI ImageRecognition.swift
[47/91] Compiling SwiftAutoGUI KeyboardLayout.swift
[48/91] Compiling SwiftAutoGUI Keycode.swift
[49/91] Compiling SwiftAutoGUI OpenAIBackend.swift
[50/91] Compiling SwiftAutoGUI OpenAIVisionBackend.swift
[51/91] Compiling SwiftAutoGUI ScreenContext.swift
[52/91] Compiling SwiftAutoGUI Screenshot.swift
[53/91] Compiling ArgumentParser DumpHelpGenerator.swift
[54/91] Compiling ArgumentParser HelpCommand.swift
[55/91] Compiling ArgumentParser HelpGenerator.swift
[56/91] Compiling ArgumentParser MessageInfo.swift
[57/91] Compiling ArgumentParser UsageGenerator.swift
[58/91] Compiling ArgumentParser CollectionExtensions.swift
[59/91] Compiling ArgumentParser InputOrigin.swift
[60/91] Compiling ArgumentParser Name.swift
[61/91] Compiling ArgumentParser Parsed.swift
[62/91] Compiling ArgumentParser ParsedValues.swift
[63/91] Compiling ArgumentParser ParserError.swift
[64/91] Compiling ArgumentParser SplitArguments.swift
[65/91] Compiling ArgumentParser ParsableCommand.swift
[66/91] Compiling ArgumentParser ArgumentDecoder.swift
[67/91] Compiling ArgumentParser ArgumentDefinition.swift
[68/91] Compiling ArgumentParser ArgumentSet.swift
[69/91] Compiling ArgumentParser CommandParser.swift
[70/91] Compiling ArgumentParser InputKey.swift
[71/92] 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/94] 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.
[81/94] 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.
[82/94] 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.
/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.
[88/94] Compiling SwiftAutoGUI SwiftAutoGUI.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.
/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