Build Information
Failed to build LocalLLMClient, reference 0.4.1 (a57de2
), with Swift 6.2 (beta) for Android on 13 Sep 2025 08:51:28 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: 0.4.1
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.1 -> FETCH_HEAD
HEAD is now at a57de21 Merge pull request #53 from tattn/bugfix/xcode26-rc
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 @):
a57de2171ad6db826af08e01d2086713ce4fa44b
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at 0.4.1
========================================
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: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
[448/16529] Fetching jinja, swift-argument-parser
[5999/88443] Fetching jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.17s)
[11360/72486] Fetching jinja, swift-syntax
Fetched https://github.com/johnmai-dev/Jinja from cache (7.72s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.82s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (8.64s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.23s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.4 (0.59s)
Fetching https://github.com/apple/swift-collections.git
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.75s)
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
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.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 utils.cpp
[23/93] Compiling LocalLLMClientLlamaC mtmd.cpp
[24/93] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[25/93] Compiling log.cpp
[26/93] Compiling LocalLLMClientLlamaC clip.cpp
[27/93] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[28/93] Compiling chat-parser.cpp
[28/93] Write sources
[34/93] Write swift-version-8C5A4AE7A8CE2BA.txt
[35/93] Write sources
[36/95] Compiling regex-partial.cpp
[37/97] Compiling chat-parser.cpp
[38/99] Compiling json-partial.cpp
[39/106] Compiling common.cpp
[41/120] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/121] Emitting module SwiftSyntax600
[43/121] Compiling SwiftSyntax600 Empty.swift
[44/122] Compiling InternalCollectionsUtilities Descriptions.swift
[45/122] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[46/122] Emitting module SwiftSyntax510
[47/122] Compiling SwiftSyntax510 Empty.swift
[49/123] Emitting module SwiftSyntax509
[50/123] Compiling SwiftSyntax509 Empty.swift
[51/124] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[52/124] Compiling InternalCollectionsUtilities Debugging.swift
[53/124] Copying json.gbnf
[53/124] Write sources
[58/124] Wrapping AST for SwiftSyntax600 for debugging
[60/124] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[61/124] Compiling InternalCollectionsUtilities Integer rank.swift
[62/149] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[63/195] Compiling SwiftSyntax Convenience.swift
[64/195] Compiling SwiftSyntax CustomTraits.swift
[65/195] Emitting module InternalCollectionsUtilities
[66/195] Compiling SwiftSyntax BumpPtrAllocator.swift
[67/195] Compiling SwiftSyntax CommonAncestor.swift
[68/195] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[69/195] Compiling SwiftSyntax Assert.swift
[71/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[72/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[73/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[74/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[75/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[76/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[77/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[78/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[79/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[80/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[81/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[82/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[83/251] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[84/251] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[85/258] Compiling OrderedCollections OrderedDictionary.swift
[86/258] Compiling OrderedCollections OrderedSet+Codable.swift
[87/258] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[88/258] Compiling OrderedCollections OrderedSet+Descriptions.swift
[89/258] Compiling OrderedCollections OrderedSet+Diffing.swift
[90/258] Compiling OrderedCollections OrderedSet+Equatable.swift
[91/258] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[92/258] Compiling OrderedCollections OrderedSet+Hashable.swift
[93/258] Compiling OrderedCollections OrderedSet+Initializers.swift
[94/258] Compiling OrderedCollections OrderedSet+Insertions.swift
[95/258] Compiling OrderedCollections OrderedSet+Invariants.swift
[96/258] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[97/258] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[98/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[99/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[100/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[101/258] Compiling OrderedCollections OrderedDictionary+Codable.swift
[102/258] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[103/258] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[104/258] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[105/258] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[106/258] Compiling OrderedCollections OrderedDictionary+Elements.swift
[107/258] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[108/258] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[109/258] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[110/258] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[111/258] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[112/258] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[113/258] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[114/258] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[115/258] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[116/258] Compiling OrderedCollections OrderedDictionary+Values.swift
[116/258] Compiling LocalLLMClientLlamaC utils.cpp
[118/258] Compiling LocalLLMClientUtility URL+.swift
[119/258] Compiling LocalLLMClientUtility Lock.swift
[119/258] Wrapping AST for SwiftSyntax510 for debugging
[120/258] Wrapping AST for SwiftSyntax509 for debugging
[122/258] Compiling OrderedCollections _HashTable+Bucket.swift
[123/258] Compiling OrderedCollections _HashTable+BucketIterator.swift
[124/258] Compiling OrderedCollections _HashTable+Constants.swift
[125/258] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[126/258] Compiling OrderedCollections _HashTable+Testing.swift
[127/258] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[128/258] Compiling OrderedCollections _HashTable.swift
[129/258] Compiling OrderedCollections _Hashtable+Header.swift
[130/258] Compiling OrderedCollections OrderedSet+Sendable.swift
[131/258] Compiling OrderedCollections OrderedSet+SubSequence.swift
[132/258] Compiling OrderedCollections OrderedSet+Testing.swift
[133/258] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[134/258] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[135/258] Compiling OrderedCollections OrderedSet.swift
[136/258] Compiling OrderedCollections _UnsafeBitset.swift
[137/258] Compiling LocalLLMClientUtility Downloader.swift
[138/258] Emitting module LocalLLMClientUtility
[139/258] Compiling LocalLLMClientUtility FileDownloader.swift
[140/258] Compiling LocalLLMClientUtility Globs.swift
[141/258] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
[143/277] Emitting module OrderedCollections
[144/287] Compiling json-schema-to-grammar.cpp
[146/287] Compiling LocalLLMClientCore PauseHandler.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 {
[147/287] Compiling LocalLLMClientCore AnyLLMTool+OpenAI.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 {
[148/287] Compiling LocalLLMClientCore AnyLLMTool.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 {
[149/289] Compiling LocalLLMClientCore ToolArgumentType.swift
[150/289] Compiling LocalLLMClientCore ToolExecutor.swift
[151/289] Compiling Jinja Ast.swift
[152/289] Compiling Jinja Environment.swift
[153/289] Compiling LocalLLMClientCore LLMSession.swift
[154/289] Compiling LocalLLMClientCore AnyLLMClient.swift
[155/289] Compiling LocalLLMClientCore Async+.swift
[156/289] Compiling LocalLLMClientCore LLMClient.swift
[160/297] Compiling LocalLLMClientCore ToolOutput.swift
[161/297] Compiling LocalLLMClientCore ToolSchemaGeneratable.swift
/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 | }
[165/297] Emitting module LocalLLMClientCore
[169/297] Compiling Jinja Template.swift
[170/298] Compiling Jinja Error.swift
[170/298] Compiling LocalLLMClientLlamaC mtmd.cpp
[172/298] Compiling Jinja StringExtension.swift
[173/298] Compiling Jinja Lexer.swift
[174/298] Compiling LocalLLMClientCore StreamingToolCallProcessor.swift
[175/298] Compiling LocalLLMClientCore ToolArgument.swift
[176/298] Compiling LocalLLMClientCore GeneratedContent.swift
[177/298] Compiling LocalLLMClientCore LLMTool.swift
[178/298] Compiling LocalLLMClientCore LLMToolCall.swift
[179/298] Compiling LocalLLMClientCore StreamingChunk.swift
[180/299] Compiling Jinja Utilities.swift
[182/299] Compiling Jinja Runtime.swift
[183/299] Compiling Jinja Parser.swift
[183/299] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[184/299] Compiling log.cpp
[188/299] Emitting module Jinja
[189/300] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[191/300] 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 |
[192/300] 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)
[193/300] 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 |
[194/300] 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 |
[195/300] 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 |
[196/300] 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 |
[197/300] 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 |
[197/300] Compiling common.cpp
[197/300] Compiling json-partial.cpp
[197/300] Compiling json-schema-to-grammar.cpp
[206/300] Compiling regex-partial.cpp
[206/300] Compiling chat.cpp
BUILD FAILURE 6.2 android