Build Information
Failed to build LocalLLMClient, reference 0.4.6 (ff3a9e), with Swift 6.2 for Android on 27 Nov 2025 17:15:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: 0.4.6
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/tattn/LocalLLMClient
* tag 0.4.6 -> FETCH_HEAD
HEAD is now at ff3a9ee Merge pull request #85 from james-333i/fix/mlx-dependencies
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out '9a3ea685b937c0f0cbfda2e50004ea54bf187512'
Submodule 'Sources/LlamaClientExperimentalC/exclude/llama.cpp' (https://github.com/ggml-org/llama.cpp.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp'
Cloning into '/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp'...
Cloned https://github.com/tattn/LocalLLMClient.git
Revision (git rev-parse @):
ff3a9ee35d6136224aadf9346ded5aad2382a3be
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at 0.4.6
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/tattn/LocalLLMClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/huggingface/swift-jinja
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax
[1/783] Fetching swift-jinja
[135/17643] Fetching swift-jinja, swift-argument-parser
[11069/90626] Fetching swift-jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.17s)
[15380/73766] Fetching swift-jinja, swift-syntax
Fetched https://github.com/huggingface/swift-jinja from cache (10.43s)
Fetched https://github.com/swiftlang/swift-syntax from cache (10.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (11.35s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.81s)
Computing version for https://github.com/huggingface/swift-jinja
Computed https://github.com/huggingface/swift-jinja at 2.0.2 (0.66s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.89s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
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.4.0
Creating working copy for https://github.com/huggingface/swift-jinja
Working copy of https://github.com/huggingface/swift-jinja resolved at 2.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.76s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/64] Write sources
[2/64] Copying json.gbnf
[3/64] Write sources
[7/64] Compiling LocalLLMClientLlamaC utils.cpp
[8/64] Compiling LocalLLMClientLlamaC clip.cpp
[9/64] Compiling LocalLLMClientLlamaC mtmd.cpp
[10/64] Compiling common.cpp
[11/64] Compiling chat-parser.cpp
[12/64] Compiling log.cpp
[13/64] Compiling LocalLLMClientLlamaC clip.cpp
[14/64] Compiling chat-parser.cpp
[15/64] Write sources
[20/64] Write swift-version--6B0C4D200E742BB1.txt
[20/64] Write sources
[20/64] Copying json.gbnf
[20/64] Write sources
[26/64] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[27/71] Compiling LocalLLMClientLlamaC utils.cpp
[28/78] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[29/84] Compiling regex-partial.cpp
[31/84] Emitting module LocalLLMClientUtility
[32/100] Emitting module InternalCollectionsUtilities
[33/102] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[34/102] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[35/102] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[36/102] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[37/102] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[38/102] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[39/102] Compiling InternalCollectionsUtilities _SortedCollection.swift
[40/102] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[41/102] Compiling InternalCollectionsUtilities Debugging.swift
[42/102] Compiling InternalCollectionsUtilities Descriptions.swift
[43/102] Compiling LocalLLMClientUtility Globs.swift
[44/102] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[45/102] Compiling InternalCollectionsUtilities Integer rank.swift
[46/102] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[47/102] Compiling InternalCollectionsUtilities UInt+reversed.swift
[48/102] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[49/102] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[50/102] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[51/103] Compiling LocalLLMClientMacrosPlugin ToolArgumentEnumMacro.swift
[52/103] Emitting module LocalLLMClientMacrosPlugin
[54/103] Compiling LocalLLMClientMacrosPlugin ToolMacro.swift
[54/103] Compiling json-partial.cpp
[56/158] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[57/158] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[58/158] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[59/158] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[60/158] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[61/158] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[62/158] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[63/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[64/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[65/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[66/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[67/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[68/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[69/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[70/165] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[71/165] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[72/165] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[73/165] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[74/165] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[75/165] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[76/165] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[77/165] Compiling OrderedCollections OrderedDictionary+Values.swift
[78/165] Compiling LocalLLMClientUtility Lock.swift
[79/165] Compiling OrderedCollections OrderedDictionary.swift
[80/165] Compiling OrderedCollections OrderedSet+Codable.swift
[81/165] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[82/165] Compiling OrderedCollections OrderedSet+Descriptions.swift
[83/165] Compiling OrderedCollections OrderedSet+Diffing.swift
[84/165] Compiling OrderedCollections OrderedSet+Equatable.swift
[85/165] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[86/165] Compiling OrderedCollections OrderedSet+Hashable.swift
[87/165] Compiling OrderedCollections OrderedSet+Initializers.swift
[88/165] Compiling OrderedCollections OrderedSet+Insertions.swift
[89/165] Compiling OrderedCollections OrderedSet+Invariants.swift
[90/165] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[91/165] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[92/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[93/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[94/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[95/165] Compiling OrderedCollections OrderedDictionary+Codable.swift
[96/165] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[97/165] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[98/165] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[99/165] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[100/165] Compiling OrderedCollections OrderedDictionary+Elements.swift
[101/165] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[102/165] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[103/165] Compiling LocalLLMClientUtility URL+.swift
[104/165] Compiling LocalLLMClientMacrosPlugin LocalLLMClientMacrosPlugin.swift
[105/165] Compiling LocalLLMClientMacrosPlugin ToolArgumentMacro.swift
[106/165] Compiling LocalLLMClientMacrosPlugin ToolArgumentsMacro.swift
[108/166] Compiling LocalLLMClientUtility FileDownloader.swift
[109/166] Compiling LocalLLMClientUtility Downloader.swift
[110/166] Compiling OrderedCollections _HashTable+Bucket.swift
[111/166] Compiling OrderedCollections _HashTable+BucketIterator.swift
[112/166] Compiling OrderedCollections _HashTable+Constants.swift
[113/166] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[114/166] Compiling OrderedCollections _HashTable+Testing.swift
[115/166] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[116/166] Compiling OrderedCollections _HashTable.swift
[117/166] Compiling OrderedCollections _Hashtable+Header.swift
[118/166] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
[119/167] Wrapping AST for LocalLLMClientMacrosPlugin for debugging
[120/167] Write Objects.LinkFileList
[122/167] Compiling OrderedCollections OrderedSet+Sendable.swift
[123/167] Compiling OrderedCollections OrderedSet+SubSequence.swift
[124/167] Compiling OrderedCollections OrderedSet+Testing.swift
[125/167] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[126/167] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[127/167] Compiling OrderedCollections OrderedSet.swift
[128/167] Compiling OrderedCollections _UnsafeBitset.swift
[128/167] Compiling json-schema-to-grammar.cpp
[129/167] Linking LocalLLMClientMacrosPlugin-tool
[131/167] Emitting module OrderedCollections
[133/168] Compiling LocalLLMClientUtility Lock.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
2 | import os
3 | #else
4 | import Glibc
| `- error: no such module 'Glibc'
5 | #endif
6 |
[134/182] Compiling Jinja Utilities.swift
[134/183] Compiling LocalLLMClientLlamaC mtmd.cpp
[135/183] Compiling log.cpp
[137/183] Compiling Jinja PropertyMembers.swift
[138/183] Compiling Jinja Template.swift
[139/183] Compiling Jinja Value.swift
[140/183] Compiling Jinja Macro.swift
[141/183] Compiling Jinja Parser.swift
[142/183] Compiling Jinja Interpreter.swift
[143/183] Compiling Jinja Lexer.swift
[144/183] Compiling Jinja Tests.swift
[145/183] Compiling Jinja Token.swift
[145/183] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[147/183] Emitting module Jinja
[148/183] Compiling Jinja AST.swift
[149/183] Compiling Jinja Error.swift
[150/183] Compiling Jinja Filters.swift
[151/183] Compiling Jinja Globals.swift
[153/202] Compiling LocalLLMClientCore GeneratedContent.swift
[154/202] Compiling LocalLLMClientCore LLMTool.swift
[155/204] Compiling LocalLLMClientUtility URL+.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
2 | import os
3 | #else
4 | import Glibc
| `- error: no such module 'Glibc'
5 | #endif
6 |
[156/204] Compiling LocalLLMClientUtility FileDownloader.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
2 | import os
3 | #else
4 | import Glibc
| `- error: no such module 'Glibc'
5 | #endif
6 |
[157/204] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
2 | import os
3 | #else
4 | import Glibc
| `- error: no such module 'Glibc'
5 | #endif
6 |
[158/204] Compiling LocalLLMClientUtility Globs.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
2 | import os
3 | #else
4 | import Glibc
| `- error: no such module 'Glibc'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[159/204] Emitting module LocalLLMClientUtility
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
2 | import os
3 | #else
4 | import Glibc
| `- error: no such module 'Glibc'
5 | #endif
6 |
[160/204] Compiling LocalLLMClientUtility Downloader.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
2 | import os
3 | #else
4 | import Glibc
| `- error: no such module 'Glibc'
5 | #endif
6 |
[160/204] Compiling json-partial.cpp
[160/204] Compiling json-schema-to-grammar.cpp
[160/204] Compiling regex-partial.cpp
[160/204] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[160/204] Compiling chat.cpp
BUILD FAILURE 6.2 android