Build Information
Failed to build swiftui-theming, reference main (5cce71), with Swift 6.1 for Wasm on 10 Mar 2026 17:46:19 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexanderwe/swiftui-theming.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/alexanderwe/swiftui-theming
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5cce711 chore: formatting and linting
Cloned https://github.com/alexanderwe/swiftui-theming.git
Revision (git rev-parse @):
5cce711c816fae87ea076bebd861a2ee759eedda
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/alexanderwe/swiftui-theming.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexanderwe/swiftui-theming.git
https://github.com/alexanderwe/swiftui-theming.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swiftui-theming",
"name" : "swiftui-theming",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "visionos",
"version" : "2.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Theming",
"targets" : [
"Theming"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ThemingTests",
"module_type" : "SwiftTarget",
"name" : "ThemingTests",
"path" : "Tests/ThemingTests",
"sources" : [
"Mocks.swift",
"ThemeColorTests.swift",
"ThemeFontTests.swift",
"ThemeManagerTests.swift"
],
"target_dependencies" : [
"Theming"
],
"type" : "test"
},
{
"c99name" : "Theming",
"module_type" : "SwiftTarget",
"name" : "Theming",
"path" : "Sources/Theming",
"product_memberships" : [
"Theming"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Theming/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Extensions/EnvironmentValues+Theming.swift",
"Extensions/PreviewTrait+Theming.swift",
"Theme+Colors/ThemeColor.swift",
"Theme+Colors/ThemeColorStyle.swift",
"Theme+Fonts/ThemeFont.swift",
"Theme.swift",
"ThemeManager.swift",
"ThemeTraits.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling Theming ThemeTraits.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[5/13] Compiling Theming Theme.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[6/13] Compiling Theming ThemeManager.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[7/13] Compiling Theming ThemeFont.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module Theming
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[9/13] Compiling Theming ThemeColorStyle.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[10/13] Compiling Theming ThemeColor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[11/13] Compiling Theming EnvironmentValues+Theming.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[12/13] Compiling Theming PreviewTrait+Theming.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[13/13] Compiling Theming resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling Theming ThemeTraits.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[3/11] Compiling Theming ThemeColorStyle.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[4/11] Compiling Theming ThemeFont.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[5/11] Compiling Theming Theme.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[6/11] Compiling Theming ThemeManager.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module Theming
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[8/11] Compiling Theming ThemeColor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[9/11] Compiling Theming EnvironmentValues+Theming.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[10/11] Compiling Theming PreviewTrait+Theming.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[11/11] Compiling Theming resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 | #if os(iOS) || os(visionOS)
10 | import UIKit
BUILD FAILURE 6.1 wasm