The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LocalLLMClient, reference main (ff3a9e), with Swift 6.2 for Android on 27 Nov 2025 17:14:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.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/tattn/LocalLLMClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-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/swiftlang/swift-syntax
Fetching https://github.com/huggingface/swift-jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/783] Fetching swift-jinja
[784/17643] Fetching swift-jinja, swift-argument-parser
Fetched https://github.com/huggingface/swift-jinja from cache (0.37s)
[2698/16860] Fetching swift-argument-parser
[16861/89843] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
[9488/72983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (7.35s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.14s)
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 (1.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (3.01s)
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/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
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
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.74s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/64] Compiling LocalLLMClientLlamaC clip.cpp
[2/64] Write sources
[3/64] Copying json.gbnf
[4/64] Write sources
[8/64] Compiling common.cpp
[9/64] Compiling LocalLLMClientLlamaC utils.cpp
[10/64] Compiling chat-parser.cpp
[11/64] Compiling LocalLLMClientLlamaC clip.cpp
[12/64] Compiling common.cpp
[13/64] Compiling log.cpp
[14/64] Compiling chat-parser.cpp
[15/64] Compiling LocalLLMClientLlamaC mtmd.cpp
[15/64] Write sources
[21/64] Write swift-version--6B0C4D200E742BB1.txt
[21/64] Write sources
[21/64] Copying json.gbnf
[21/64] Write sources
[27/64] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[28/71] Compiling LocalLLMClientLlamaC utils.cpp
[29/78] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[31/84] Emitting module LocalLLMClientMacrosPlugin
[31/84] Compiling regex-partial.cpp
[33/100] Emitting module InternalCollectionsUtilities
[33/102] Compiling json-partial.cpp
[35/102] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[36/102] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[37/102] Compiling InternalCollectionsUtilities Debugging.swift
[38/102] Compiling InternalCollectionsUtilities Descriptions.swift
[39/102] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[40/102] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[41/102] Compiling InternalCollectionsUtilities UInt+reversed.swift
[42/102] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[43/102] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[44/102] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[45/102] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/102] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[47/102] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[48/102] Compiling InternalCollectionsUtilities Integer rank.swift
[49/102] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[50/102] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[51/102] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[52/103] Compiling LocalLLMClientMacrosPlugin ToolArgumentEnumMacro.swift
[53/103] Compiling LocalLLMClientMacrosPlugin LocalLLMClientMacrosPlugin.swift
[54/103] Compiling LocalLLMClientMacrosPlugin ToolMacro.swift
[56/103] Compiling LocalLLMClientUtility Lock.swift
[57/103] Compiling LocalLLMClientUtility URL+.swift
[57/103] Compiling json-schema-to-grammar.cpp
[59/158] Compiling LocalLLMClientMacrosPlugin ToolArgumentsMacro.swift
[60/158] Compiling LocalLLMClientMacrosPlugin ToolArgumentMacro.swift
[61/159] Wrapping AST for LocalLLMClientMacrosPlugin for debugging
[62/159] Compiling LocalLLMClientLlamaC mtmd.cpp
[63/159] Write Objects.LinkFileList
[65/159] Emitting module LocalLLMClientUtility
[66/159] Compiling LocalLLMClientUtility Globs.swift
[67/159] Compiling LocalLLMClientUtility Downloader.swift
[68/159] Compiling LocalLLMClientUtility FileDownloader.swift
[69/159] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
[71/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[72/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[73/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[74/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[75/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[76/160] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[77/160] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[78/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[79/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[80/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[81/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[82/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[83/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[84/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[84/167] Linking LocalLLMClientMacrosPlugin-tool
[85/167] Compiling log.cpp
[87/167] Compiling OrderedCollections OrderedSet+Initializers.swift
[88/167] Compiling OrderedCollections OrderedSet+Insertions.swift
[89/167] Compiling OrderedCollections OrderedSet+Invariants.swift
[90/167] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[91/167] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[92/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[93/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[94/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[95/167] Compiling OrderedCollections OrderedDictionary.swift
[96/167] Compiling OrderedCollections OrderedSet+Codable.swift
[97/167] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[98/167] Compiling OrderedCollections OrderedSet+Descriptions.swift
[99/167] Compiling OrderedCollections OrderedSet+Diffing.swift
[100/167] Compiling OrderedCollections OrderedSet+Equatable.swift
[101/167] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[102/167] Compiling OrderedCollections OrderedSet+Hashable.swift
[103/167] Compiling OrderedCollections OrderedDictionary+Codable.swift
[104/167] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[105/167] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[106/167] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[107/167] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[108/167] Compiling OrderedCollections OrderedDictionary+Elements.swift
[109/167] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[110/167] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[111/167] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[112/167] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[113/167] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[114/167] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[115/167] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[116/167] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[117/167] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[118/167] Compiling OrderedCollections OrderedDictionary+Values.swift
[119/167] Compiling OrderedCollections _HashTable+Bucket.swift
[120/167] Compiling OrderedCollections _HashTable+BucketIterator.swift
[121/167] Compiling OrderedCollections _HashTable+Constants.swift
[122/167] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[123/167] Compiling OrderedCollections _HashTable+Testing.swift
[124/167] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[125/167] Compiling OrderedCollections _HashTable.swift
[126/167] Compiling OrderedCollections _Hashtable+Header.swift
[127/167] Compiling OrderedCollections OrderedSet+Sendable.swift
[128/167] Compiling OrderedCollections OrderedSet+SubSequence.swift
[129/167] Compiling OrderedCollections OrderedSet+Testing.swift
[130/167] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[131/167] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[132/167] Compiling OrderedCollections OrderedSet.swift
[133/167] Compiling OrderedCollections _UnsafeBitset.swift
[134/167] Emitting module OrderedCollections
[136/182] Compiling Jinja Utilities.swift
[136/183] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[138/183] Compiling Jinja PropertyMembers.swift
[139/183] Compiling Jinja Template.swift
[140/183] Compiling Jinja Value.swift
[141/183] Compiling Jinja Macro.swift
[142/183] Compiling Jinja Parser.swift
[142/183] Compiling chat.cpp
[143/183] Write sources
[150/199] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[151/199] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[152/201] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[154/201] 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 |
[155/201] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[156/201] 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 |
[157/201] 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 |
[158/201] 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 |
[159/201] 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 |
[160/201] Compiling InternalCollectionsUtilities _SortedCollection.swift
[162/201] Compiling InternalCollectionsUtilities Debugging.swift
[163/201] Compiling InternalCollectionsUtilities Descriptions.swift
[164/201] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[165/201] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[166/201] 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 |
[167/201] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[168/201] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[169/201] Compiling InternalCollectionsUtilities UInt+reversed.swift
[170/201] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[171/201] Emitting module InternalCollectionsUtilities
[172/201] Emitting module Jinja
[174/201] Compiling json-schema-to-grammar.cpp
[174/201] Compiling json-partial.cpp
[175/201] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[176/201] Compiling InternalCollectionsUtilities Integer rank.swift
[177/201] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[177/201] Compiling regex-partial.cpp
[177/201] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[177/201] Compiling chat.cpp
BUILD FAILURE 6.2 android