The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftTUI, reference 0.1.0 (75ae35), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 16:15:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rensbreur/SwiftTUI.git
Reference: 0.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/rensbreur/SwiftTUI
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 75ae35a Add Flags example
Cloned https://github.com/rensbreur/SwiftTUI.git
Revision (git rev-parse @):
75ae35af4115f87601657957e3332fc9eb5829d5
SUCCESS checkout https://github.com/rensbreur/SwiftTUI.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rensbreur/SwiftTUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/40] Compiling SwiftTUI Optional+View.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[4/40] Compiling SwiftTUI TupleView.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[5/40] Compiling SwiftTUI ViewBuilder.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[6/40] Compiling SwiftTUI _ConditionalView.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[7/40] Compiling SwiftTUI Button.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[8/45] Compiling SwiftTUI Color+View.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[9/45] Compiling SwiftTUI Spacer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[10/45] Compiling SwiftTUI Text.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[11/45] Compiling SwiftTUI TextField.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[12/45] Compiling SwiftTUI Node.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[13/45] Compiling SwiftTUI Control.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[14/45] Compiling SwiftTUI Window.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[15/45] Compiling SwiftTUI Node+logTree.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[16/45] Compiling SwiftTUI log.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[17/45] Compiling SwiftTUI Cell.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[18/45] Compiling SwiftTUI Color.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[19/45] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[20/45] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[21/45] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[22/45] Compiling SwiftTUI ArrowKeyParser.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[23/45] Compiling SwiftTUI SwiftTUI.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[24/45] Compiling SwiftTUI ControlMapper.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[25/45] Compiling SwiftTUI PrimitiveView.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[26/45] Compiling SwiftTUI View.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[27/45] Compiling SwiftTUI ViewContainer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[28/45] Compiling SwiftTUI ViewWrapper.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[29/45] Compiling SwiftTUI FixedFrame.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[30/45] Compiling SwiftTUI Padding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[31/45] Compiling SwiftTUI EmptyView.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[32/45] Compiling SwiftTUI ForEach.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[33/45] Compiling SwiftTUI Group.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[34/45] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[35/45] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[36/45] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[37/45] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[38/45] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[39/45] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[40/45] Compiling SwiftTUI Alignment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[41/45] Compiling SwiftTUI HStack.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[42/45] Compiling SwiftTUI VStack.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[43/45] Compiling SwiftTUI Background.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
[44/45] Compiling SwiftTUI Border.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/45] Emitting module SwiftTUI
/host/spi-builder-workspace/Sources/SwiftTUI/Controls/Control.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// The basic layout object that can be created by a node. Not every node will
BUILD FAILURE 6.2 wasm