Build Information
Failed to build ChattyCLI, reference 1.0.7 (10ee51
), with Swift 6.1 for Android on 29 May 2025 17:58:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/polpielladev/chatty-cli.git
Reference: 1.0.7
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/polpielladev/chatty-cli
* tag 1.0.7 -> FETCH_HEAD
HEAD is now at 10ee517 Changes workflow to manual
Cloned https://github.com/polpielladev/chatty-cli.git
Revision (git rev-parse @):
10ee517d263c86b81360504efacc6e4bae01289d
SUCCESS checkout https://github.com/polpielladev/chatty-cli.git at 1.0.7
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/polpielladev/chatty-cli.git
https://github.com/polpielladev/chatty-cli.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "openai-streaming-completions-swift",
"requirement" : {
"exact" : [
"1.0.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nate-parrott/openai-streaming-completions-swift.git"
},
{
"identity" : "ansiterminal",
"requirement" : {
"exact" : [
"0.0.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pakLebah/ANSITerminal.git"
},
{
"identity" : "clack-swift",
"requirement" : {
"revision" : [
"0d95ad488a21047dc36a9c0ac7f54338ce0c88ca"
]
},
"type" : "sourceControl",
"url" : "https://github.com/polpielladev/clack-swift"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"exact" : [
"1.2.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "keychainaccess",
"requirement" : {
"exact" : [
"4.2.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess"
}
],
"manifest_display_name" : "ChattyCLI",
"name" : "ChattyCLI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "chatty",
"targets" : [
"ChattyCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ChattyCLI",
"module_type" : "SwiftTarget",
"name" : "ChattyCLI",
"path" : "Sources/ChattyCLI",
"product_dependencies" : [
"OpenAIStreamingCompletions",
"ANSITerminal",
"Clack",
"ArgumentParser",
"KeychainAccess"
],
"product_memberships" : [
"chatty"
],
"sources" : [
"ChattyCLI.swift",
"Commands/Auth.swift",
"Commands/Chat.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/polpielladev/clack-swift
[1/94] Fetching clack-swift
Fetched https://github.com/polpielladev/clack-swift from cache (0.26s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/pakLebah/ANSITerminal.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/nate-parrott/openai-streaming-completions-swift.git
[1/94] Fetching ansiterminal
[77/250] Fetching ansiterminal, openai-streaming-completions-swift
[226/4636] Fetching ansiterminal, openai-streaming-completions-swift, keychainaccess
[3998/20015] Fetching ansiterminal, openai-streaming-completions-swift, keychainaccess, swift-argument-parser
Fetched https://github.com/nate-parrott/openai-streaming-completions-swift.git from cache (0.79s)
[19534/19859] Fetching ansiterminal, keychainaccess, swift-argument-parser
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.81s)
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (1.06s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.07s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (4.67s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.61s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.77s)
Computing version for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Computed https://github.com/nate-parrott/openai-streaming-completions-swift.git at 1.0.1 (0.63s)
Creating working copy for https://github.com/pakLebah/ANSITerminal.git
Working copy of https://github.com/pakLebah/ANSITerminal.git resolved at 0.0.3
Creating working copy for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Working copy of https://github.com/nate-parrott/openai-streaming-completions-swift.git resolved at 1.0.1
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.2
Creating working copy for https://github.com/polpielladev/clack-swift
Working copy of https://github.com/polpielladev/clack-swift resolved at 0d95ad488a21047dc36a9c0ac7f54338ce0c88ca
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[8/18] Write swift-version-24593BA9C3E375BF.txt
[10/34] Emitting module ArgumentParserToolInfo
[11/34] Compiling ANSITerminal ansiAttribute.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 |
[12/34] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/34] Emitting module ANSITerminal
/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 |
[14/34] Compiling ANSITerminal ANSITerminal.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/34] 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 |
[16/34] Compiling ANSITerminal ansiKeyboard.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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write swift-version-24593BA9C3E375BF.txt
[3/27] 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 |
[4/27] Compiling ANSITerminal ansiAttribute.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 |
[5/27] Compiling ANSITerminal ansiKeyboard.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 |
[6/27] Compiling ANSITerminal ANSITerminal.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/27] Emitting module ANSITerminal
/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 |
[8/27] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android