The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HarnessKit, reference 1.0 (46dd22), with Swift 6.2 for Wasm on 22 Apr 2026 19:05:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SzpakKamil/HarnessKit.git
Reference: 1.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/SzpakKamil/HarnessKit
 * branch            1.0        -> FETCH_HEAD
 * [new branch]      1.0        -> origin/1.0
HEAD is now at 46dd22c chore:  removed harness kit transform from harnesskit
Cloned https://github.com/SzpakKamil/HarnessKit.git
Revision (git rev-parse @):
46dd22c9b49a872b17105e546062e003651a6218
SUCCESS checkout https://github.com/SzpakKamil/HarnessKit.git at 1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SzpakKamil/HarnessKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/25] Emitting module HarnessKit
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
[7/25] Compiling HarnessKit HarnessView.swift
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
[8/25] Compiling HarnessKit ResizeWindow.swift
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
[9/25] Compiling HarnessKitScreenshots ScreenshotMetadata.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[10/26] Compiling HarnessKitScreenshots ScreenshotShadow.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[11/26] Compiling HarnessKitScreenshots TargetOS.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[12/26] Compiling HarnessKit PathComponent.swift
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
[13/26] Compiling HarnessKitScreenshots ScreenshotResolution.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[14/26] Compiling HarnessKitScreenshots Screenshot.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[15/26] Compiling HarnessKitScreenshots ScreenshotAppearance.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[16/26] Compiling HarnessKitScreenshots ScreenshotBackground.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[17/26] Compiling HarnessKitScreenshots ScreenshotConfig.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[18/26] Compiling HarnessKit HarnessPreview.swift
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
[19/26] Compiling HarnessKit PathFolder.swift
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
[20/26] Compiling HarnessKit PathProject.swift
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
[21/26] Compiling HarnessKit PathResolver.swift
/host/spi-builder-workspace/Sources/HarnessKit/HarnessPreview.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/26] Emitting module HarnessKitScreenshots
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[23/26] Compiling HarnessKitScreenshots CropRect.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[24/26] Compiling HarnessKitScreenshots ExportPath.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[25/26] Compiling HarnessKitScreenshots FillMode.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
[26/26] Compiling HarnessKitScreenshots ScreenOrientation.swift
/host/spi-builder-workspace/Sources/HarnessKitScreenshots/ScreenOrientation.swift:2:8: error: no such module 'SwiftUI'
 1 | import Foundation
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 |
 4 | public enum ScreenOrientation: String, Identifiable, CaseIterable, Sendable, Codable {
BUILD FAILURE 6.2 wasm