Build Information
Failed to build SwiftAutoGUI, reference 0.20.0 (d83fb0), with Swift 6.3 for Wasm on 17 Apr 2026 06:08:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.3-latest swift build --swift-sdk swift-6.3-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.3
Building package at path: $PWD
https://github.com/NakaokaRei/SwiftAutoGUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-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/364] Fetching opencv-spm
[365/2641] Fetching opencv-spm, swift-docc-plugin
[616/20164] Fetching opencv-spm, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (1.14s)
[15434/17887] Fetching opencv-spm, swift-argument-parser
Fetched https://github.com/yeatse/opencv-spm.git from cache (1.44s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.45s)
Computing version for https://github.com/yeatse/opencv-spm.git
Computed https://github.com/yeatse/opencv-spm.git at 4.13.0 (2.64s)
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.49s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.85s)
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 (1.11s)
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
[897/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 (24.17s)
[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 opencv2_dependencies Stub.swift
[17/74] Emitting module opencv2_dependencies
[18/75] Compiling ArgumentParser Tree.swift
[19/75] Compiling ArgumentParser CodingKeyValidator.swift
[20/75] Compiling ArgumentParser NonsenseFlagsValidator.swift
[21/75] Compiling ArgumentParser ParsableArgumentsValidation.swift
[22/75] Compiling ArgumentParser PositionalArgumentsValidator.swift
[23/75] Compiling ArgumentParser UniqueNamesValidator.swift
[24/75] Wrapping AST for opencv2-dependencies for debugging
[26/91] Compiling ArgumentParser Foundation.swift
[27/91] Compiling ArgumentParser Mutex.swift
[28/91] Compiling ArgumentParser Platform.swift
[29/91] Compiling ArgumentParser SequenceExtensions.swift
[30/91] Compiling ArgumentParser StringExtensions.swift
[31/91] Compiling ArgumentParser SwiftExtensions.swift
[32/91] Compiling SwiftAutoGUI SwiftAutoGUI.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 SwiftAutoGUI Agent.swift
[39/91] Compiling SwiftAutoGUI AppleScript.swift
[40/91] Compiling SwiftAutoGUI Action.swift
[41/91] Compiling SwiftAutoGUI ActionGenerating.swift
[42/91] Compiling SwiftAutoGUI ActionGenerator.swift
[43/91] Compiling SwiftAutoGUI Dialog.swift
[44/91] Compiling SwiftAutoGUI FoundationModelsBackend.swift
[45/91] Compiling ArgumentParser ParentCommand.swift
[46/91] Compiling ArgumentParser AsyncParsableCommand.swift
[47/91] Compiling ArgumentParser CommandConfiguration.swift
[48/91] Compiling ArgumentParser CommandGroup.swift
[49/91] Compiling ArgumentParser EnumerableFlag.swift
[50/91] Compiling ArgumentParser ExpressibleByArgument.swift
[51/91] Compiling ArgumentParser ParsableArguments.swift
[52/91] Compiling ArgumentParser DumpHelpGenerator.swift
[53/91] Compiling ArgumentParser HelpCommand.swift
[54/91] Compiling ArgumentParser HelpGenerator.swift
[55/91] Compiling ArgumentParser MessageInfo.swift
[56/91] Compiling ArgumentParser UsageGenerator.swift
[57/91] Compiling ArgumentParser CollectionExtensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/91] 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.
[59/93] Compiling SwiftAutoGUI Keycode.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.
[60/93] Compiling SwiftAutoGUI OpenAIBackend.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.
[63/93] Compiling SwiftAutoGUI ImageRecognition.swift
[64/93] Compiling SwiftAutoGUI KeyboardLayout.swift
[67/93] Compiling SwiftAutoGUI OpenAIVisionBackend.swift
[68/93] Compiling SwiftAutoGUI ScreenContext.swift
[69/93] Compiling SwiftAutoGUI Screenshot.swift
[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.
/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.
[83/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.
[84/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.
[85/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.
BUILD FAILURE 6.3 wasm