Build Information
Failed to build emu, reference master (47d171), with Swift 6.1 for Android on 27 May 2025 07:47:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/limethaw/emu.git
Reference: master
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/limethaw/emu
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 47d1712 Switching to Github Actions for CI
Cloned https://github.com/limethaw/emu.git
Revision (git rev-parse @):
47d1712e2a3daebc6cd41c2bb45ccba7d998ec3b
SUCCESS checkout https://github.com/limethaw/emu.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/limethaw/emu.git
https://github.com/limethaw/emu.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "emu",
"name" : "emu",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "emu",
"targets" : [
"emu"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "threadsafe",
"module_type" : "SwiftTarget",
"name" : "threadsafe",
"path" : "Sources/threadsafe",
"product_memberships" : [
"emu"
],
"sources" : [
"algorithms/Atomic.swift",
"datastructures/Lock.swift"
],
"type" : "library"
},
{
"c99name" : "functionalTests",
"module_type" : "SwiftTarget",
"name" : "functionalTests",
"path" : "Tests/functionalTests",
"sources" : [
"datastructures/AVLTreeTest.swift"
],
"target_dependencies" : [
"functional"
],
"type" : "test"
},
{
"c99name" : "functional",
"module_type" : "SwiftTarget",
"name" : "functional",
"path" : "Sources/functional",
"product_memberships" : [
"emu"
],
"sources" : [
"algorithms/Atomic.swift",
"datastructures/AVLTree.swift"
],
"type" : "library"
},
{
"c99name" : "emuTests",
"module_type" : "SwiftTarget",
"name" : "emuTests",
"path" : "Tests/emuTests",
"sources" : [
"algorithms/BFSTests.swift",
"algorithms/FordFulkersonTests.swift",
"algorithms/InsertionSortTests.swift",
"algorithms/QuicksortTests.swift",
"datastructures/MatrixTests.swift",
"datastructures/QueueTests.swift",
"datastructures/StackTests.swift"
],
"target_dependencies" : [
"emu"
],
"type" : "test"
},
{
"c99name" : "emu",
"module_type" : "SwiftTarget",
"name" : "emu",
"path" : "Sources/emu",
"product_dependencies" : [
"Rainbow"
],
"product_memberships" : [
"emu"
],
"sources" : [
"Util.swift",
"algorithms/BFS.swift",
"algorithms/FordFulkerson.swift",
"algorithms/InsertionSort.swift",
"algorithms/Quicksort.swift",
"datastructures/Matrix.swift",
"datastructures/Queue.swift",
"datastructures/Stack.swift"
],
"target_dependencies" : [
"functional",
"threadsafe"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.38s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.92s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/22] Compiling functional Atomic.swift
[7/22] Emitting module functional
[8/22] Compiling functional AVLTree.swift
[9/23] Compiling threadsafe Atomic.swift
[10/23] Compiling threadsafe Lock.swift
[11/23] Emitting module threadsafe
[14/24] Compiling Rainbow Style.swift
[15/25] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/25] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[17/25] Compiling Rainbow StringGenerator.swift
[18/25] Compiling Rainbow XcodeColorsSupport.swift
[19/25] Compiling Rainbow Rainbow.swift
[20/25] Compiling Rainbow BackgroundColor.swift
[21/25] Compiling Rainbow CodesParser.swift
[22/25] Compiling Rainbow Color.swift
[23/25] Compiling Rainbow ControlCode.swift
[24/25] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[25/25] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling threadsafe Lock.swift
[3/18] Emitting module functional
[4/18] Emitting module threadsafe
[5/18] Compiling threadsafe Atomic.swift
[6/19] Compiling functional Atomic.swift
[7/19] Compiling functional AVLTree.swift
[8/20] Compiling Rainbow Style.swift
[10/21] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/21] Compiling Rainbow Rainbow.swift
[12/21] Compiling Rainbow StringGenerator.swift
[13/21] Compiling Rainbow BackgroundColor.swift
[14/21] Compiling Rainbow CodesParser.swift
[15/21] Compiling Rainbow Color.swift
[16/21] Compiling Rainbow ControlCode.swift
[17/21] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[18/21] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[19/21] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[21/21] Compiling Rainbow XcodeColorsSupport.swift
BUILD FAILURE 6.1 android