Build Information
Failed to build TerminalUI, reference main (39fff2), with Swift 6.1 for Wasm on 28 May 2025 11:15:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/chriseidhof/TerminalUI.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/chriseidhof/TerminalUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 39fff2e Update README.md
Cloned https://github.com/chriseidhof/TerminalUI.git
Revision (git rev-parse @):
39fff2eb0c83a223063ef06ddab43a6d5a900cec
SUCCESS checkout https://github.com/chriseidhof/TerminalUI.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/chriseidhof/TerminalUI.git
https://github.com/chriseidhof/TerminalUI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "TerminalUI",
"name" : "TerminalUI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TerminalUI",
"targets" : [
"TerminalUI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "sample",
"targets" : [
"sample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "terminal_uiTests",
"module_type" : "SwiftTarget",
"name" : "terminal-uiTests",
"path" : "Tests/terminal-uiTests",
"sources" : [
"GeometryTests.swift",
"RegressionTests.swift",
"TestingContexts.swift",
"TextTests.swift",
"VStackTests.swift",
"XCTestManifests.swift",
"ZStackTests.swift"
],
"target_dependencies" : [
"TerminalUI"
],
"type" : "test"
},
{
"c99name" : "sample",
"module_type" : "SwiftTarget",
"name" : "sample",
"path" : "Sources/sample",
"product_memberships" : [
"sample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"TerminalUI"
],
"type" : "executable"
},
{
"c99name" : "TerminalUI",
"module_type" : "SwiftTarget",
"name" : "TerminalUI",
"path" : "Sources/TerminalUI",
"product_memberships" : [
"TerminalUI",
"sample"
],
"sources" : [
"Alignment.swift",
"Border.swift",
"Color.swift",
"FixedFrame.swift",
"FlexibleFrame.swift",
"Geometry.swift",
"GeometryReader.swift",
"HStack.swift",
"Helpers.swift",
"Lowlevel.swift",
"OverlayBackground.swift",
"Padding.swift",
"RenderingContext.swift",
"Text.swift",
"VStack.swift",
"Views.swift",
"ZStack.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/23] Emitting module TerminalUI
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[5/23] Compiling TerminalUI FixedFrame.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[6/23] Compiling TerminalUI FlexibleFrame.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[7/25] Compiling TerminalUI Views.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[8/25] Compiling TerminalUI ZStack.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[9/25] Compiling TerminalUI Padding.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[10/25] Compiling TerminalUI RenderingContext.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[11/25] Compiling TerminalUI Text.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[12/25] Compiling TerminalUI VStack.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[13/25] Compiling TerminalUI Geometry.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[14/25] Compiling TerminalUI GeometryReader.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[15/25] Compiling TerminalUI Lowlevel.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[16/25] Compiling TerminalUI OverlayBackground.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[17/25] Compiling TerminalUI Alignment.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[18/25] Compiling TerminalUI Border.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[19/25] Compiling TerminalUI Color.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[20/25] Compiling TerminalUI HStack.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[21/25] Compiling TerminalUI Helpers.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/21] Emitting module TerminalUI
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[3/23] Compiling TerminalUI Lowlevel.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[4/23] Compiling TerminalUI OverlayBackground.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[5/23] Compiling TerminalUI HStack.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[6/23] Compiling TerminalUI Helpers.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[7/23] Compiling TerminalUI FixedFrame.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[8/23] Compiling TerminalUI FlexibleFrame.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[9/23] Compiling TerminalUI Alignment.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[10/23] Compiling TerminalUI Border.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[11/23] Compiling TerminalUI Color.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[12/23] Compiling TerminalUI Padding.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[13/23] Compiling TerminalUI RenderingContext.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[14/23] Compiling TerminalUI Text.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[15/23] Compiling TerminalUI VStack.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[16/23] Compiling TerminalUI Geometry.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[17/23] Compiling TerminalUI GeometryReader.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[18/23] Compiling TerminalUI Views.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
[19/23] Compiling TerminalUI ZStack.swift
/host/spi-builder-workspace/Sources/TerminalUI/Lowlevel.swift:8:8: error: no such module 'Darwin'
6 | //
7 |
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | // Taken from https://stackoverflow.com/questions/49748507/listening-to-stdin-in-swift
BUILD FAILURE 6.1 wasm