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 (257f52), with Swift 6.2 (beta) for Android on 13 Sep 2025 00:25:32 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 257f52c Merge pull request #49 from tattn/update-llama-dependency-20250905171955
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out '360d6533db39e11577afe9b0aece20c6b5ddaf1f'
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 @):
257f52cda8e014d3d33f139dcf9161d8a00b7e31
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-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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/swiftlang/swift-syntax
[1/572] Fetching jinja
[167/16529] Fetching jinja, swift-argument-parser
[14502/88442] Fetching jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/johnmai-dev/Jinja from cache (9.12s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (9.13s)
Fetched https://github.com/swiftlang/swift-syntax from cache (9.22s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (9.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.69s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.4 (2.04s)
Fetching https://github.com/apple/swift-collections.git
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (5.75s)
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
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.4
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.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/93] Write sources
[5/93] Copying json.gbnf
[5/93] Write sources
[21/93] Compiling _SwiftSyntaxCShims dummy.c
[22/93] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[23/93] Compiling LocalLLMClientLlamaC utils.cpp
[24/93] Compiling log.cpp
[25/93] Compiling LocalLLMClientLlamaC mtmd.cpp
[26/93] Compiling LocalLLMClientLlamaC clip.cpp
[27/93] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[28/93] Write sources
[33/93] Write swift-version-8C5A4AE7A8CE2BA.txt
[33/93] Write sources
[33/93] Copying json.gbnf
[33/93] Write sources
[39/93] Compiling common.cpp
[40/95] Compiling LocalLLMClientLlamaC clip.cpp
[41/97] Compiling chat-parser.cpp
[42/99] Compiling regex-partial.cpp
[43/106] Compiling LocalLLMClientLlamaC utils.cpp
[44/113] Compiling json-partial.cpp
[46/127] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/128] Emitting module SwiftSyntax510
[48/128] Compiling SwiftSyntax510 Empty.swift
[49/129] Compiling SwiftSyntax600 Empty.swift
[50/129] Emitting module SwiftSyntax600
[51/130] Compiling InternalCollectionsUtilities Descriptions.swift
[52/130] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[53/130] Emitting module InternalCollectionsUtilities
[54/130] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[55/130] Compiling InternalCollectionsUtilities Integer rank.swift
[56/130] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[57/130] Compiling InternalCollectionsUtilities Debugging.swift
[58/130] Compiling SwiftSyntax509 Empty.swift
[59/130] Emitting module SwiftSyntax509
[60/130] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[61/130] Compiling InternalCollectionsUtilities UInt+reversed.swift
[62/130] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[63/130] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[64/130] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[65/130] Compiling InternalCollectionsUtilities _SortedCollection.swift
[68/131] Wrapping AST for SwiftSyntax600 for debugging
[69/131] Wrapping AST for SwiftSyntax510 for debugging
[71/195] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[71/196] Wrapping AST for SwiftSyntax509 for debugging
[74/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[75/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[76/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[77/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[78/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[79/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[80/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[81/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[82/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[83/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[84/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[85/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[86/251] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[87/251] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[88/258] Compiling OrderedCollections OrderedDictionary.swift
[89/258] Compiling OrderedCollections OrderedSet+Codable.swift
[90/258] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[91/258] Compiling OrderedCollections OrderedSet+Descriptions.swift
[92/258] Compiling OrderedCollections OrderedSet+Diffing.swift
[93/258] Compiling OrderedCollections OrderedSet+Equatable.swift
[94/258] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[95/258] Compiling OrderedCollections OrderedSet+Hashable.swift
[96/258] Compiling LocalLLMClientUtility Lock.swift
[97/258] Compiling LocalLLMClientUtility URL+.swift
[98/258] Compiling OrderedCollections OrderedSet+Initializers.swift
[99/258] Compiling OrderedCollections OrderedSet+Insertions.swift
[100/258] Compiling OrderedCollections OrderedSet+Invariants.swift
[101/258] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[102/258] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[103/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[104/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[105/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[106/258] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[107/258] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[108/258] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[109/258] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[110/258] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[111/258] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[112/258] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[113/258] Compiling OrderedCollections OrderedDictionary+Values.swift
[114/258] Compiling OrderedCollections OrderedDictionary+Codable.swift
[115/258] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[116/258] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[117/258] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[118/258] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[119/258] Compiling OrderedCollections OrderedDictionary+Elements.swift
[120/258] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[121/258] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[122/258] Compiling LocalLLMClientUtility Downloader.swift
[123/258] Emitting module LocalLLMClientUtility
[124/258] Compiling LocalLLMClientUtility FileDownloader.swift
[125/258] Compiling OrderedCollections _HashTable+Bucket.swift
[126/258] Compiling OrderedCollections _HashTable+BucketIterator.swift
[127/258] Compiling OrderedCollections _HashTable+Constants.swift
[128/258] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[129/258] Compiling OrderedCollections _HashTable+Testing.swift
[130/258] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[131/258] Compiling OrderedCollections _HashTable.swift
[132/258] Compiling OrderedCollections _Hashtable+Header.swift
[134/266] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
[135/266] Compiling LocalLLMClientUtility Globs.swift
[137/285] Compiling LocalLLMClientCore AnyLLMClient.swift
[138/285] Compiling LocalLLMClientCore Async+.swift
[139/285] Compiling LocalLLMClientCore LLMClient.swift
[140/285] Compiling LocalLLMClientCore PauseHandler.swift
[141/285] Compiling LocalLLMClientCore AnyLLMTool+OpenAI.swift
[142/285] Compiling LocalLLMClientCore AnyLLMTool.swift
[143/285] Compiling LocalLLMClientCore LLMError.swift
[144/285] Compiling LocalLLMClientCore LLMInput.swift
/host/spi-builder-workspace/Sources/LocalLLMClientCore/Tools/AnyLLMTool.swift:54:51: warning: capture of non-sendable type 'T.Arguments.Type' in an isolated closure
 52 |
 53 |             do {
 54 |                 let arguments = try JSONDecoder().decode(T.Arguments.self, from: data)
    |                                                   `- warning: capture of non-sendable type 'T.Arguments.Type' in an isolated closure
 55 |                 return try await tool.call(arguments: arguments)
 56 |             } catch let error as DecodingError {
/host/spi-builder-workspace/Sources/LocalLLMClientCore/Tools/AnyLLMTool.swift:54:51: warning: capture of non-sendable type 'T.Arguments.Type' in an isolated closure
 52 |
 53 |             do {
 54 |                 let arguments = try JSONDecoder().decode(T.Arguments.self, from: data)
    |                                                   `- warning: capture of non-sendable type 'T.Arguments.Type' in an isolated closure
 55 |                 return try await tool.call(arguments: arguments)
 56 |             } catch let error as DecodingError {
/host/spi-builder-workspace/Sources/LocalLLMClientCore/Tools/AnyLLMTool.swift:54:51: warning: capture of non-sendable type 'T.Arguments.Type' in an isolated closure
 52 |
 53 |             do {
 54 |                 let arguments = try JSONDecoder().decode(T.Arguments.self, from: data)
    |                                                   `- warning: capture of non-sendable type 'T.Arguments.Type' in an isolated closure
 55 |                 return try await tool.call(arguments: arguments)
 56 |             } catch let error as DecodingError {
[148/287] Compiling OrderedCollections OrderedSet+Sendable.swift
[149/287] Compiling OrderedCollections OrderedSet+SubSequence.swift
[150/287] Compiling OrderedCollections OrderedSet+Testing.swift
[151/287] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[152/287] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[153/287] Compiling OrderedCollections OrderedSet.swift
[154/287] Compiling OrderedCollections _UnsafeBitset.swift
[155/287] Compiling LocalLLMClientCore ToolArgumentType.swift
[156/287] Compiling LocalLLMClientCore ToolExecutor.swift
[156/287] Compiling json-schema-to-grammar.cpp
[158/287] Compiling LocalLLMClientCore ToolOutput.swift
[159/287] Compiling LocalLLMClientCore ToolSchemaGeneratable.swift
[160/287] Emitting module OrderedCollections
[162/288] Emitting module LocalLLMClientCore
/host/spi-builder-workspace/Sources/LocalLLMClientCore/AnyLLMClient.swift:21:43: warning: capture of non-sendable type 'C.TextGenerator.AsyncIterator.Type' in an isolated closure
 19 |         self._textStream = { input in
 20 |             Self.createAsyncStream { continuation in
 21 |                 for try await text in try await client.textStream(from: input) {
    |                                           `- warning: capture of non-sendable type 'C.TextGenerator.AsyncIterator.Type' in an isolated closure
 22 |                     continuation.yield(text)
 23 |                 }
/host/spi-builder-workspace/Sources/LocalLLMClientCore/AnyLLMClient.swift:38:46: warning: capture of non-sendable type 'C.ResponseGenerator.AsyncIterator.Type' in an isolated closure
 36 |         self._responseStream = { input in
 37 |             Self.createAsyncStream { continuation in
 38 |                 for try await content in try await client.responseStream(from: input) {
    |                                              `- warning: capture of non-sendable type 'C.ResponseGenerator.AsyncIterator.Type' in an isolated closure
 39 |                     continuation.yield(content)
 40 |                 }
/host/spi-builder-workspace/Sources/LocalLLMClientCore/AnyLLMClient.swift:21:43: warning: capture of non-sendable type 'C.TextGenerator.AsyncIterator.Type' in an isolated closure
 19 |         self._textStream = { input in
 20 |             Self.createAsyncStream { continuation in
 21 |                 for try await text in try await client.textStream(from: input) {
    |                                           `- warning: capture of non-sendable type 'C.TextGenerator.AsyncIterator.Type' in an isolated closure
 22 |                     continuation.yield(text)
 23 |                 }
/host/spi-builder-workspace/Sources/LocalLLMClientCore/AnyLLMClient.swift:38:46: warning: capture of non-sendable type 'C.ResponseGenerator.AsyncIterator.Type' in an isolated closure
 36 |         self._responseStream = { input in
 37 |             Self.createAsyncStream { continuation in
 38 |                 for try await content in try await client.responseStream(from: input) {
    |                                              `- warning: capture of non-sendable type 'C.ResponseGenerator.AsyncIterator.Type' in an isolated closure
 39 |                     continuation.yield(content)
 40 |                 }
/host/spi-builder-workspace/Sources/LocalLLMClientCore/AnyLLMClient.swift:21:43: warning: capture of non-sendable type 'C.TextGenerator.AsyncIterator.Type' in an isolated closure
 19 |         self._textStream = { input in
 20 |             Self.createAsyncStream { continuation in
 21 |                 for try await text in try await client.textStream(from: input) {
    |                                           `- warning: capture of non-sendable type 'C.TextGenerator.AsyncIterator.Type' in an isolated closure
 22 |                     continuation.yield(text)
 23 |                 }
/host/spi-builder-workspace/Sources/LocalLLMClientCore/AnyLLMClient.swift:38:46: warning: capture of non-sendable type 'C.ResponseGenerator.AsyncIterator.Type' in an isolated closure
 36 |         self._responseStream = { input in
 37 |             Self.createAsyncStream { continuation in
 38 |                 for try await content in try await client.responseStream(from: input) {
    |                                              `- warning: capture of non-sendable type 'C.ResponseGenerator.AsyncIterator.Type' in an isolated closure
 39 |                     continuation.yield(content)
 40 |                 }
[168/288] Compiling LocalLLMClientCore LLMSession.swift
[168/288] Compiling LocalLLMClientLlamaC mtmd.cpp
[170/297] Compiling LocalLLMClientCore GeneratedContent.swift
[171/297] Compiling LocalLLMClientCore LLMTool.swift
[172/297] Compiling LocalLLMClientCore StreamingToolCallProcessor.swift
[173/297] Compiling LocalLLMClientCore ToolArgument.swift
[174/297] Compiling LocalLLMClientCore LLMToolCall.swift
[175/297] Compiling LocalLLMClientCore StreamingChunk.swift
[194/298] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[195/298] Compiling log.cpp
[197/298] Compiling Jinja Template.swift
[198/299] Compiling Jinja Error.swift
[199/299] Compiling Jinja StringExtension.swift
[199/299] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[201/299] Compiling Jinja Utilities.swift
[202/299] Compiling Jinja Lexer.swift
[202/299] Compiling regex-partial.cpp
[204/299] 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 |
[205/299] 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)
[206/299] 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 |
[207/299] 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 |
[208/299] 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 |
[209/299] 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 |
[210/299] 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 |
[210/299] Compiling common.cpp
[210/299] Compiling json-partial.cpp
[210/299] Compiling chat.cpp
[211/299] Emitting module Jinja
[212/299] Compiling Jinja Parser.swift
[212/299] Compiling json-schema-to-grammar.cpp
[212/299] Compiling chat.cpp
BUILD FAILURE 6.2 android