The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TerminalUI, reference main (39fff2), with Swift 6.3 for Wasm on 23 Apr 2026 06:09:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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.3
Building package at path:  $PWD
https://github.com/chriseidhof/TerminalUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-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/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
[6/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
[7/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
[8/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
[9/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
[10/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
[11/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
[12/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
[13/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
[14/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
[15/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
[16/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
[17/25] 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
[18/25] 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
[19/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
[20/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
[21/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
BUILD FAILURE 6.3 wasm