Build Information
Failed to build LocalLLMClient, reference main (b68f71), with Swift 6.3 for Wasm on 27 Aug 2026 03:30:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
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 b68f712 Allow tools whose schema is only known at runtime (#100)
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out 'e365e658f07b63371489570dfde597f199b26c23'
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 @):
b68f71244baf308469a190cce4f54edf2fde4887
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/tattn/LocalLLMClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-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/1281] Fetching swift-jinja
[1282/19880] Fetching swift-jinja, swift-argument-parser
Fetched https://github.com/huggingface/swift-jinja from cache (0.84s)
[1/79142] Fetching swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.80s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.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 (2.99s)
Computing version for https://github.com/huggingface/swift-jinja
Computed https://github.com/huggingface/swift-jinja at 2.4.2 (0.14s)
Fetching https://github.com/apple/swift-collections.git
[1/26970] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (2.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.23s)
Creating working copy for https://github.com/huggingface/swift-jinja
Working copy of https://github.com/huggingface/swift-jinja resolved at 2.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.21s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/181] Compiling unicode.cpp
[2/181] Compiling _SwiftSyntaxCShims PlatformMutex.c
[3/181] Write sources
[22/181] Copying json.gbnf
[23/181] Write sources
[27/181] Compiling lexer.cpp
[28/181] Compiling runtime.cpp
[29/181] Compiling parser.cpp
[30/181] Compiling LocalLLMClientLlamaC utils.cpp
[31/181] Compiling LocalLLMClientLlamaC mtmd.cpp
[32/181] Compiling common.cpp
[33/181] Compiling LocalLLMClientLlamaC mtmd-image.cpp
[34/181] Compiling youtuvl.cpp
[35/181] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[36/181] Compiling whisper-enc.cpp
[37/181] Compiling caps.cpp
[38/181] Compiling step3vl.cpp
[39/181] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[40/181] Compiling siglip.cpp
[41/181] Compiling qwen3vl.cpp
[42/181] Compiling qwen3a.cpp
[43/181] Compiling qwen2vl.cpp
[44/181] Compiling chat-peg-parser.cpp
[45/181] Compiling pixtral.cpp
[46/181] Compiling paddleocr.cpp
[47/181] Compiling nemotron-v2-vl.cpp
[48/181] Compiling minicpmv.cpp
[49/181] Compiling mobilenetv5.cpp
[50/181] Compiling llava.cpp
[51/181] Compiling llama4.cpp
[52/181] Compiling kimivl.cpp
[53/181] Compiling internvl.cpp
[54/181] Compiling kimik25.cpp
[55/181] Compiling glm4v.cpp
[56/181] Compiling hunyuanocr.cpp
[57/181] Compiling gemma4v.cpp
[58/181] Compiling gemma4a.cpp
[59/181] Compiling dotsocr.cpp
[60/181] Compiling chat.cpp
[61/181] Compiling deepseekocr.cpp
[62/181] Compiling conformer.cpp
[63/181] Compiling log.cpp
[64/181] Compiling cogvlm.cpp
[65/181] Compiling string.cpp
[66/181] Compiling reasoning-budget.cpp
[67/181] Compiling sampling.cpp
[68/181] Compiling regex-partial.cpp
[69/181] Compiling build-info.cpp
[70/181] Compiling value.cpp
[71/181] Write sources
[76/181] Write swift-version-24593BA9C3E375BF.txt
[77/181] Write sources
[78/183] Compiling chat-auto-parser-helpers.cpp
[79/185] Compiling LocalLLMClientLlamaC clip.cpp
[80/185] Compiling json-partial.cpp
[81/189] Compiling chat-auto-parser-generator.cpp
[82/191] Compiling chat-diff-analyzer.cpp
[83/193] Compiling json-schema-to-grammar.cpp
[85/200] Compiling SwiftSyntax603 Empty.swift
[86/200] Emitting module SwiftSyntax603
[87/201] Emitting module SwiftSyntax600
[88/201] Compiling SwiftSyntax600 Empty.swift
[90/202] Wrapping AST for SwiftSyntax603 for debugging
[91/215] Wrapping AST for SwiftSyntax600 for debugging
[92/215] Emitting module SwiftSyntax602
[93/215] Compiling SwiftSyntax602 Empty.swift
[93/215] Copying json.gbnf
[95/220] Write sources
[98/228] Wrapping AST for SwiftSyntax602 for debugging
[99/228] Write sources
[101/228] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[102/228] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[103/228] Compiling InternalCollectionsUtilities Span+Extras.swift
[104/230] Compiling InternalCollectionsUtilities _SortedCollection.swift
[105/230] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[106/230] Compiling SwiftSyntax509 Empty.swift
[107/230] Emitting module SwiftSyntax509
[108/231] Compiling InternalCollectionsUtilities Debugging.swift
[109/231] Compiling InternalCollectionsUtilities Descriptions.swift
[110/231] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[112/231] Emitting module SwiftSyntax510
[113/231] Compiling SwiftSyntax510 Empty.swift
[114/232] Emitting module SwiftSyntax601
[115/232] Compiling SwiftSyntax601 Empty.swift
[116/233] Compiling InternalCollectionsUtilities Integer rank.swift
[117/233] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[118/233] Compiling InternalCollectionsUtilities UInt+reversed.swift
[121/233] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[122/233] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[122/233] Wrapping AST for SwiftSyntax509 for debugging
[123/233] Wrapping AST for SwiftSyntax510 for debugging
[124/234] Wrapping AST for SwiftSyntax601 for debugging
[126/296] Emitting module InternalCollectionsUtilities
[127/296] Compiling SwiftSyntax Assert.swift
[128/296] Compiling SwiftSyntax BumpPtrAllocator.swift
[129/296] Compiling SwiftSyntax CustomTraits.swift
[130/296] Compiling SwiftSyntax EditorPlaceholder.swift
[131/296] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[132/296] Compiling SwiftSyntax RawSyntaxTokenView.swift
[134/297] Compiling SwiftSyntax AbsolutePosition.swift
[135/297] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[136/297] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[139/297] Compiling SwiftSyntax CommonAncestor.swift
[140/297] Compiling SwiftSyntax Convenience.swift
[142/305] Compiling peg-parser.cpp
[144/305] Compiling LocalLLMClientUtility Lock.swift
[145/306] Compiling LocalLLMClientUtility Globs.swift
[146/306] Compiling LocalLLMClientUtility URL+.swift
[147/362] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[148/362] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[149/362] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[150/362] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[151/362] Compiling SwiftSyntax TokenDiagnostic.swift
[152/362] Compiling SwiftSyntax TokenSequence.swift
[153/362] Compiling SwiftSyntax TokenSyntax.swift
[154/362] Compiling SwiftSyntax Trivia.swift
[155/362] Compiling SwiftSyntax Utils.swift
[156/362] Compiling LocalLLMClientUtility FileDownloader.swift
[157/362] Compiling LocalLLMClientUtility Downloader.swift
[158/362] Emitting module LocalLLMClientUtility
[159/362] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
[161/363] Compiling OrderedCollections OrderedDictionary.swift
[162/363] Compiling OrderedCollections OrderedSet+Codable.swift
[163/363] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[164/363] Compiling OrderedCollections OrderedSet+Descriptions.swift
[165/363] Compiling OrderedCollections OrderedSet+Diffing.swift
[166/363] Compiling OrderedCollections OrderedSet+Equatable.swift
[167/363] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[168/363] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[169/363] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[172/363] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[173/363] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[174/363] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[175/363] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[176/363] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[177/363] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[177/370] Compiling LocalLLMClientLlamaC mtmd-image.cpp
[177/370] Compiling LocalLLMClientLlamaC mtmd.cpp
[180/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[181/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[182/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[183/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[184/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[185/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[186/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[187/370] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[188/370] Compiling OrderedCollections OrderedDictionary+Codable.swift
[189/370] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[190/370] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[191/370] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[192/370] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[193/370] Compiling OrderedCollections OrderedDictionary+Elements.swift
[194/370] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[195/370] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
In file included from /host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-helper.cpp:30:
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:17628:31: error: use of undeclared identifier 'sched_get_priority_min'
17628 | int priorityMin = sched_get_priority_min(scheduler);
| ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:17629:31: error: use of undeclared identifier 'sched_get_priority_max'
17629 | int priorityMax = sched_get_priority_max(scheduler);
| ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:17633:59: error: use of undeclared identifier 'pthread_attr_getschedparam'; did you mean 'pthread_attr_getschedpolicy'?
17633 | if (priorityMin != -1 && priorityMax != -1 && pthread_attr_getschedparam(&attr, &sched) == 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| pthread_attr_getschedpolicy
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/pthread.h:178:5: note: 'pthread_attr_getschedpolicy' declared here
178 | int pthread_attr_getschedpolicy(const pthread_attr_t *__restrict, int *__restrict);
| ^
In file included from /host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-helper.cpp:30:
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:17633:93: error: cannot initialize a parameter of type 'int *' with an rvalue of type 'struct sched_param *'
17633 | if (priorityMin != -1 && priorityMax != -1 && pthread_attr_getschedparam(&attr, &sched) == 0) {
| ^~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/pthread.h:178:82: note: passing argument to parameter here
178 | int pthread_attr_getschedpolicy(const pthread_attr_t *__restrict, int *__restrict);
| ^
In file included from /host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-helper.cpp:30:
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:17658:21: error: use of undeclared identifier 'pthread_attr_setschedparam'; did you mean 'pthread_attr_setschedpolicy'?
17658 | if (pthread_attr_setschedparam(&attr, &sched) == 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| pthread_attr_setschedpolicy
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/pthread.h:179:5: note: 'pthread_attr_setschedpolicy' declared here
179 | int pthread_attr_setschedpolicy(pthread_attr_t *, int);
| ^
In file included from /host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-helper.cpp:30:
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:17658:55: error: cannot initialize a parameter of type 'int' with an rvalue of type 'struct sched_param *'
17658 | if (pthread_attr_setschedparam(&attr, &sched) == 0) {
| ^~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/pthread.h:179:54: note: passing argument to parameter here
179 | int pthread_attr_setschedpolicy(pthread_attr_t *, int);
| ^
6 errors generated.
[195/370] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[195/370] Compiling whisper-enc.cpp
[195/370] Compiling youtuvl.cpp
[195/370] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[195/370] Compiling LocalLLMClientLlamaC utils.cpp
BUILD FAILURE 6.3 wasm