Build Information
Failed to build SwiftPrompt, reference main (e3484d
), with Swift 6.1 for Android on 28 May 2025 18:20:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CheekyGhost-Labs/SwiftPrompt.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/CheekyGhost-Labs/SwiftPrompt
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e3484d9 Merge pull request #5 from CheekyGhost-Labs/develop
Cloned https://github.com/CheekyGhost-Labs/SwiftPrompt.git
Revision (git rev-parse @):
e3484d9323a1f780ac53047efb5191261d36f5de
SUCCESS checkout https://github.com/CheekyGhost-Labs/SwiftPrompt.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/CheekyGhost-Labs/SwiftPrompt.git
https://github.com/CheekyGhost-Labs/SwiftPrompt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-tools-support-core",
"requirement" : {
"exact" : [
"0.4.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "ansiterminal",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pakLebah/ANSITerminal"
}
],
"manifest_display_name" : "SwiftPrompt",
"name" : "SwiftPrompt",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SwiftPrompt",
"targets" : [
"SwiftPrompt"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftPromptExample",
"targets" : [
"SwiftPromptExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftPromptTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPromptTests",
"path" : "Tests/SwiftPromptTests",
"sources" : [
"SwiftPromptTests.swift"
],
"target_dependencies" : [
"SwiftPrompt"
],
"type" : "test"
},
{
"c99name" : "SwiftPromptExample",
"module_type" : "SwiftTarget",
"name" : "SwiftPromptExample",
"path" : "Sources/SwiftPromptExample",
"product_memberships" : [
"SwiftPromptExample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftPrompt"
],
"type" : "executable"
},
{
"c99name" : "SwiftPrompt",
"module_type" : "SwiftTarget",
"name" : "SwiftPrompt",
"path" : "Sources/SwiftPrompt",
"product_dependencies" : [
"Rainbow",
"SwiftToolsSupport-auto",
"ANSITerminal"
],
"product_memberships" : [
"SwiftPrompt",
"SwiftPromptExample"
],
"sources" : [
"Internal/Prompts/InputPrompt.swift",
"Internal/Prompts/OptionSetPrompt.swift",
"Internal/Utility/ANSIIChar.swift",
"Internal/Utility/OptionSetState.swift",
"Internal/Utility/PromptUtils.swift",
"Internal/Utility/ValidationResult.swift",
"Public/Entities/PromptOption.swift",
"SwiftPrompt.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/pakLebah/ANSITerminal
[1/94] Fetching ansiterminal
[6/1290] Fetching ansiterminal, rainbow
[1244/8054] Fetching ansiterminal, rainbow, swift-tools-support-core
Fetched https://github.com/onevcat/Rainbow.git from cache (0.47s)
Fetched https://github.com/pakLebah/ANSITerminal from cache (0.47s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.47s)
Computing version for https://github.com/pakLebah/ANSITerminal
Computed https://github.com/pakLebah/ANSITerminal at 0.0.3 (3.40s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.4.0 (0.68s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.10s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (2.18s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/pakLebah/ANSITerminal
Working copy of https://github.com/pakLebah/ANSITerminal resolved at 0.0.3
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.4.0
Building for debugging...
[0/22] Write sources
[8/22] Compiling TSCclibc process.c
[9/22] Compiling CSystem shims.c
[10/22] Compiling TSCclibc libc.c
[11/22] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/61] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
[14/61] Compiling ANSITerminal ansiScreen.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[15/61] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
[16/61] Compiling SystemPackage FilePathSyntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:21:8: error: no such module 'Glibc'
19 | #elseif os(Linux) || os(FreeBSD) || os(Android)
20 | import CSystem
21 | import Glibc
| `- error: no such module 'Glibc'
22 | #elseif os(Windows)
23 | import CSystem
[17/61] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:21:8: error: no such module 'Glibc'
19 | #elseif os(Linux) || os(FreeBSD) || os(Android)
20 | import CSystem
21 | import Glibc
| `- error: no such module 'Glibc'
22 | #elseif os(Windows)
23 | import CSystem
[18/61] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:21:8: error: no such module 'Glibc'
19 | #elseif os(Linux) || os(FreeBSD) || os(Android)
20 | import CSystem
21 | import Glibc
| `- error: no such module 'Glibc'
22 | #elseif os(Windows)
23 | import CSystem
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/39] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
[3/39] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
BUILD FAILURE 6.1 android