Build Information
Failed to build LegoKit, reference main (f63fad), with Swift 6.1 for Wasm on 30 May 2025 05:58:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/octree/legokit.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/octree/legokit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f63fad1 🐛 bugfix: Visible items were not updated while data changed
Cloned https://github.com/octree/legokit.git
Revision (git rev-parse @):
f63fad109fb7b90489f296a4d0d5efc21a658603
SUCCESS checkout https://github.com/octree/legokit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/octree/legokit.git
https://github.com/octree/legokit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "LegoKit",
"name" : "LegoKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "LegoKit",
"targets" : [
"LegoKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LegoKitTests",
"module_type" : "SwiftTarget",
"name" : "LegoKitTests",
"path" : "Tests/LegoKitTests",
"sources" : [
"LegoKitTests.swift"
],
"target_dependencies" : [
"LegoKit"
],
"type" : "test"
},
{
"c99name" : "LegoKit",
"module_type" : "SwiftTarget",
"name" : "LegoKit",
"path" : "Sources/LegoKit",
"product_memberships" : [
"LegoKit"
],
"sources" : [
"Core/Core.swift",
"Core/ItemBuilder.swift",
"Core/Lego.swift",
"Core/LegoRenderer.swift",
"Core/Section.swift",
"Core/SectionBuilder.swift",
"State/Binding.swift",
"State/LegoContainer.swift",
"State/LegoPublished.swift",
"State/ObservableObject.swift",
"State/State.swift",
"State/StateObject.swift",
"Utils/CFRunLoop+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling LegoKit Core.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[4/15] Compiling LegoKit ItemBuilder.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[5/16] Compiling LegoKit StateObject.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[6/16] Compiling LegoKit State.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Emitting module LegoKit
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[8/16] Compiling LegoKit Lego.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[9/16] Compiling LegoKit LegoRenderer.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[10/16] Compiling LegoKit Binding.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[11/16] Compiling LegoKit LegoContainer.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[12/16] Compiling LegoKit Section.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[13/16] Compiling LegoKit SectionBuilder.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[14/16] Compiling LegoKit LegoPublished.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[15/16] Compiling LegoKit ObservableObject.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[16/16] Compiling LegoKit CFRunLoop+Extensions.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/14] Compiling LegoKit StateObject.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[3/15] Compiling LegoKit CFRunLoop+Extensions.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] Emitting module LegoKit
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[5/15] Compiling LegoKit State.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[6/15] Compiling LegoKit Section.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[7/15] Compiling LegoKit SectionBuilder.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[8/15] Compiling LegoKit Binding.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[9/15] Compiling LegoKit LegoContainer.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[10/15] Compiling LegoKit Lego.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[11/15] Compiling LegoKit LegoRenderer.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[12/15] Compiling LegoKit Core.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[13/15] Compiling LegoKit ItemBuilder.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[14/15] Compiling LegoKit LegoPublished.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
[15/15] Compiling LegoKit ObservableObject.swift
/host/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
25 | // THE SOFTWARE.
26 |
27 | import UIKit
| `- error: no such module 'UIKit'
28 |
29 | public struct AnyID: Hashable, Sendable, Equatable {
BUILD FAILURE 6.1 wasm