Build Information
Failed to build ContrastKit, reference main (bb19e2), with Swift 6.2 for Wasm on 6 Sep 2026 05:49:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/ContrastKit.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/markbattistella/ContrastKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bb19e27 2026-09-05
Cloned https://github.com/markbattistella/ContrastKit.git
Revision (git rev-parse @):
bb19e27d8782f9738710505b7dcb98b001ee6b2f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/ContrastKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/markbattistella/ContrastKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module ContrastKit
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[4/14] Compiling ContrastKit Example+SwiftUI.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[5/14] Compiling ContrastKit Color+Helpers.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[6/14] Compiling ContrastKit UIColor+Ext.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[7/14] Compiling ContrastKit PreviewTesting.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[8/14] Compiling ContrastKit ContrastLevel.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[9/14] Compiling ContrastKit ColorLevelStyle.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[10/14] Compiling ContrastKit Color+Ext.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[11/14] Compiling ContrastKit Color+Traits.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[12/14] Compiling ContrastKit ColorLevel.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[13/14] Compiling ContrastKit AgnosticColor.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
[14/14] Compiling ContrastKit Color+Convenience.swift
/host/spi-builder-workspace/Sources/ContrastKit/Internal/Color+Helpers.swift:7:8: error: no such module 'SwiftUI'
5 | //
6 |
7 | import SwiftUI
| `- error: no such module 'SwiftUI'
8 |
9 | // MARK: - Internal APIs
BUILD FAILURE 6.2 wasm