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 0.3.0 (c65a85), with Swift 6.2 (beta) for Android on 25 Jun 2025 22:43:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: 0.3.0
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.3.0      -> FETCH_HEAD
HEAD is now at c65a85a feat: add support for gemma3_4b_mlx model in LLMModel
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out 'bb16041caef45cd4348cd6f84906b5dfec7a1f6a'
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
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'...
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'
Cloning into '/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'...
Cloned https://github.com/tattn/LocalLLMClient.git
Revision (git rev-parse @):
c65a85a0327ead54d66db2e40c186c1b0f820f14
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at 0.3.0
========================================
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-0":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.29s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (1.22s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.37s)
Fetching https://github.com/apple/swift-collections.git
[1/16715] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.11s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.75s)
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/27] Write sources
[3/27] Copying json.gbnf
[5/27] Write sources
[11/27] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[12/27] Compiling LocalLLMClientLlamaC mtmd.cpp
[13/27] Write swift-version-8C5A4AE7A8CE2BA.txt
[14/27] Compiling LocalLLMClientLlamaC clip.cpp
[16/50] Emitting module ArgumentParserToolInfo
[16/50] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[18/50] 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 |
[19/50] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/50] Compiling InternalCollectionsUtilities Debugging.swift
[21/50] Compiling InternalCollectionsUtilities Descriptions.swift
[22/50] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/51] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/51] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/51] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/51] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/51] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/51] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/51] Compiling InternalCollectionsUtilities Integer rank.swift
[30/51] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/51] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/51] Emitting module InternalCollectionsUtilities
[33/51] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/52] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/53] Wrapping AST for InternalCollectionsUtilities for debugging
[37/53] Wrapping AST for ArgumentParserToolInfo for debugging
[39/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[40/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[41/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[42/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[43/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[44/145] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[45/145] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[46/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[47/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[48/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[49/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[50/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[51/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[52/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[53/152] Compiling OrderedCollections OrderedDictionary.swift
[54/152] Compiling OrderedCollections OrderedSet+Codable.swift
[55/152] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[56/152] Compiling OrderedCollections OrderedSet+Descriptions.swift
[57/152] Compiling OrderedCollections OrderedSet+Diffing.swift
[58/152] Compiling OrderedCollections OrderedSet+Equatable.swift
[59/152] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[60/152] Compiling OrderedCollections OrderedSet+Hashable.swift
[61/152] Compiling OrderedCollections OrderedSet+Initializers.swift
[62/152] Compiling OrderedCollections OrderedSet+Insertions.swift
[63/152] Compiling OrderedCollections OrderedSet+Invariants.swift
[64/152] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[65/152] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[66/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[67/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[68/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[69/152] Compiling OrderedCollections OrderedDictionary+Codable.swift
[70/152] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[71/152] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[72/152] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[73/152] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[74/152] Compiling OrderedCollections OrderedDictionary+Elements.swift
[75/152] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[76/152] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[77/152] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[78/152] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[79/152] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[80/152] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[81/152] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[82/152] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[83/152] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[84/152] Compiling OrderedCollections OrderedDictionary+Values.swift
[85/152] Compiling OrderedCollections _HashTable+Bucket.swift
[86/152] Compiling OrderedCollections _HashTable+BucketIterator.swift
[87/152] Compiling OrderedCollections _HashTable+Constants.swift
[88/152] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[89/152] Compiling OrderedCollections _HashTable+Testing.swift
[90/152] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[91/152] Compiling OrderedCollections _HashTable.swift
[92/152] Compiling OrderedCollections _Hashtable+Header.swift
[93/152] Compiling OrderedCollections OrderedSet+Sendable.swift
[94/152] Compiling OrderedCollections OrderedSet+SubSequence.swift
[95/152] Compiling OrderedCollections OrderedSet+Testing.swift
[96/152] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[97/152] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[98/152] Compiling OrderedCollections OrderedSet.swift
[99/152] Compiling OrderedCollections _UnsafeBitset.swift
[100/152] Emitting module OrderedCollections
[101/153] Wrapping AST for OrderedCollections for debugging
[103/162] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/162] 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 |
[105/162] 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 |
[106/162] 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 |
[107/162] 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 |
[108/162] 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 |
BUILD FAILURE 6.2 android