Build Information
Failed to build TerminalUI, reference main (39fff2), with Swift 6.2 for Android on 19 Jun 2025 21:17:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/chriseidhof/TerminalUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-8C5A4AE7A8CE2BA.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 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
[6/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
[7/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
[8/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
[9/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
[10/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
[11/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
[12/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
[13/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
[14/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
[15/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
[16/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
[17/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
[18/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
[19/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
[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
BUILD FAILURE 6.2 android